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

# Functions

GetStateDir returns local gravity state directory.
GravityInstallDir returns the location of the temporary state directory for the install/join operation.
GravityInstallDirAt returns the path to the specified elements inside the installer state directory rooted at baseDir.
GravityInstallerServicePath returns the path to the installer service as configured in the state directory rooted at baseDir.
GravityInstallerSocketPath returns the path to the installer socket file inside the installer state directory rooted at baseDir.
GravityLocalDir returns full path to the directory with local gravity state.
GravityRPCAgentDir returns full path to the RPC agent directory.
GravityUpdateDir returns full path to the update directory.
InEtcdDir returns full path to the specified file in the planet etcd data directory.
InStateDir returns the provided path elements joined with the state dir.
LogDir returns full path to the planet log directory.
RegistryDir returns full path to the planet docker registry directory.
Secret returns a full path to a secret.
SecretDir returns a secrets directory.
SetStateDir saves the provided directory stateDir as a local gravity state directory pointer.
ShareDir returns full path to the planet share directory.
TeleportAuthDataDir returns full path to the directory where teleport auth server keeps its data.
TeleportNodeDataDir returns full path to the directory where teleport node keeps its data.

# Variables

GravityAgentBinPaths is a list of possible gravity agent binary locations on host.
GravityBinPaths is a list of possible gravity binary locations on host.
StateLocatorPaths is a list of locations where gravity state directory pointer is written.