package
0.9.4
Repository: https://github.com/clly/consul.git
Documentation: pkg.go.dev

# Constants

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

# Variables

Commands is the mapping of all the available Consul commands.

# Structs

AgentCommand is a Command implementation that runs a Consul agent.
No description provided by the author
No description provided by the author
No description provided by the author
CatalogListNodesCommand is a Command implementation that is used to fetch all the nodes in the catalog.
CatalogListServicesCommand is a Command implementation that is used to fetch all the datacenters the agent knows about.
ConfigTestCommand is a Command implementation that is used to verify config files.
EventCommand is a Command implementation that is used to fire new events.
ExecCommand is a Command implementation that is used to do remote execution of commands.
ForceLeaveCommand is a Command implementation that tells a running Consul to force a member to enter the "left" state.
InfoCommand is a Command implementation that queries a running Consul agent for various debugging statistics for operators.
JoinCommand is a Command implementation that tells a running Consul agent to join another.
KeygenCommand is a Command implementation that generates an encryption key for use in `consul agent`.
KeyringCommand is a Command implementation that handles querying, installing, and removing gossip encryption keys from a keyring.
KVCommand is a Command implementation that just shows help for the subcommands nested below it.
KVDeleteCommand is a Command implementation that is used to delete a key or prefix of keys from the key-value store.
KVExportCommand is a Command implementation that is used to export a KV tree as JSON.
KVGetCommand is a Command implementation that is used to fetch the value of a key from the key-value store.
KVImportCommand is a Command implementation that is used to import a KV tree stored as JSON.
KVPutCommand is a Command implementation that is used to write data to the key-value store.
LeaveCommand is a Command implementation that instructs the Consul agent to gracefully leave the cluster.
LockCommand is a Command implementation that is used to setup a "lock" which manages lock acquisition and invokes a sub-process.
LockUnlock is used to abstract over the differences between a lock and a semaphore.
MaintCommand is a Command implementation that enables or disables node or service maintenance mode.
MembersCommand is a Command implementation that queries a running Consul agent what members are part of the cluster currently.
MonitorCommand is a Command implementation that queries a running Consul agent what members are part of the cluster currently.
No description provided by the author
No description provided by the author
No description provided by the author
OperatorCommand is used to provide various low-level tools for Consul operators.
No description provided by the author
No description provided by the author
No description provided by the author
ReloadCommand is a Command implementation that instructs the Consul agent to reload configurations.
RTTCommand is a Command implementation that allows users to query the estimated round trip time between nodes using network coordinates.
SnapshotCommand is a Command implementation that just shows help for the subcommands nested below it.
SnapshotInspectCommand is a Command implementation that is used to display metadata about a snapshot file.
SnapshotRestoreCommand is a Command implementation that is used to restore the state of the Consul servers for disaster recovery.
SnapshotSaveCommand is a Command implementation that is used to save the state of the Consul servers for disaster recovery.
TargetedUI is a UI that wraps another UI implementation and modifies the output to indicate a specific target.
ValidateCommand is a Command implementation that is used to verify config files.
VersionCommand is a Command implementation prints the version.
WatchCommand is a Command implementation that is used to setup a "watch" which uses a sub-process.

# Type aliases

so we can sort members by name.
FlagSetFlags is an enum to define what flags are present in the default FlagSet returned.