package
0.6.3
Repository: https://github.com/myena/consul.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

HTTPAddrFlag returns a pointer to a string that will be populated when the given flagset is parsed with the HTTP address of the Consul.
HTTPClient returns a new Consul HTTP client with the given address.
HTTPClientConfig is used to return a new API client and modify its configuration by passing in a config modifier function.
RPCAddrFlag returns a pointer to a string that will be populated when the given flagset is parsed with the RPC address of the Consul.
RPCClient returns a new Consul RPC client with the given address.

# Constants

HTTPAddrEnvName defines an environment variable name which sets the HTTP address if there is no -http-addr specified.
RPCAddrEnvName defines an environment variable name which sets an RPC address if there is no -rpc-addr specified.

# Structs

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.
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.
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.
TargettedUi is a UI that wraps another UI implementation and modifies the output to indicate a specific target.
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.