Documentation ¶
Index ¶
- Variables
- type Client
- func (c Client) InstallKey(key string) error
- func (c Client) JoinMembers() error
- func (c Client) Leave() error
- func (c Client) ListKeys() ([]string, error)
- func (c Client) Members(wan bool) ([]*api.AgentMember, error)
- func (c Client) RaftStats() (map[string]interface{}, error)
- func (c Client) RemoveKey(key string) error
- func (c Client) Self() error
- func (c Client) SetKeys(keys []string, keyringFile string) error
- func (c Client) UseKey(key string) error
- func (c Client) VerifyJoined() error
- func (c Client) VerifySynced() error
- type Runner
Constants ¶
This section is empty.
Variables ¶
View Source
var NoMembersToJoinError = errors.New("no members to join")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ExpectedMembers []string ConsulAPIAgent consulAPIAgent ConsulAPIOperator consulAPIOperator Logger logger }
func (Client) InstallKey ¶
func (Client) JoinMembers ¶
func (Client) VerifyJoined ¶
func (Client) VerifySynced ¶
Click to show internal directories.
Click to hide internal directories.