package
0.0.0-20230628214157-3bfe64699e82
Repository: https://github.com/gravitational/gravity.git
Documentation: pkg.go.dev

# Functions

GetCloudMetadata fetches cloud metadata for the specified provider.
New returns a new instance of the unstarted gRPC server.
NewAgentGroup creates a new agent group from the specified list of peers.
NewPeer returns a new instance of the gRPC server as a peer.
NewTestCommand returns a new instance of command executor serving the specified output.
NewTestPeer creates a new peer instance for tests.
NewTestSystemInfo returns a new test system info.
TestClientCredentials returns client credentials for tests.
TestCredentials returns credentials for tests.
TestServerCredentials returns server credentials for tests.

# Constants

ExitCodeUndefined specifies the value of the exit code when the real exit code is unknown.

# Structs

AgentGroup manages a list of remote agents.
AgentGroupConfig defines agent group configuration.
AgentServer implements a server in the agent cluster.
Config defines RPC server configuration.
Credentials specifies the connect credentials.
PeerConfig specifies the peer configuration.
PeerServer represents a peer connected to a control server.
ReconnectStrategy defines a reconnect strategy.
No description provided by the author
WatchEvent describes a peer update.

# Interfaces

Client defines the low-level agent client interface.
Peer defines a peer.
PeerStore receives notifications about peers joining the cluster.
Server defines an RPC server.

# Type aliases

TestSystemInfo is an alias for system info for use in tests.