package
0.6.7
Repository: https://github.com/aenix-io/talm.git
Documentation: pkg.go.dev

# Functions

GetEndpoints returns expected endpoints of etcd cluster members.
GetLocalMemberID gets the etcd member id of the local node via resources.
NewClient initializes and returns an etcd client configured to talk to a list of endpoints.
NewClientFromControlPlaneIPs initializes and returns an etcd client configured to talk to all members.
NewLocalClient initializes and returns etcd client configured to talk to localhost endpoint.
WithLock executes the given function exclusively by acquiring an Etcd lock with the given key.

# Constants

QuorumCheckTimeout is the amount of time to allow for KV operations before quorum is declared invalid.

# Structs

CertificateGenerator contains etcd certificate options.
Client is a wrapper around the official etcd client.