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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AgentAddr returns a complete agent address for specified address addr.
ClientCredentials reads client credentials from specified package service.
ClientCredentialsFromDir loads the client agent credentials from the specified location.
ClientCredentialsFromKeyPairs loads agent client credentials from the specified set of key pairs.
CollectAgentStatus collects the status from the specified agents.
Credentials returns both server and client credentials read from the specified package service.
CredentialsFromDir returns both server and client credentials read from the specified secrets dir.
CredentialsFromPackage reads the specified package as a package with credentials.
DeployAgents uses teleport to discover cluster nodes, distribute and run RPC agents across the local cluster.
GenerateAgentCredentials creates client/server credentials archive.
GenerateAgentCredentialsPackage creates or updates a package in packages with client/server credentials.
InitCredentials creates a package with RPC secrets in the specified package service.
LoadCredentialsData returns an io.Reader into the credentials package.
NewDeployServer creates a new instance of DeployServer.
ServerCredentials reads server credentials from the specified package service.
ServerCredentialsFromDir loads server agent credentials from the specified location.
ServerCredentialsFromKeyPairs loads server agent credentials from the specified set of key pairs.
ShutdownAgents takes IP host addresses to send Shutdown() RPC request.
UpsertCredentials creates or updates RPC secrets package in the specified package service.
UpsertCredentialsFromData creates or updates RPC credentials from the specified data.
ValidateCredentials checks the credentials from the specified archive for validity.

# Structs

AgentStatus contains a gravity agent's status information.
DeployAgentsRequest defines the extent of configuration necessary to deploy agents on the local cluster.
DeployServer describes an agent to deploy on every node during update.

# Interfaces

AgentRepository provides an interface for creating clients for remote RPC agents and executing commands on them.
RemoteRunner provides an interface for executing remote commands.

# Type aliases

StatusList is a list of AgentStatus.