package
2.3.8+incompatible
Repository: https://github.com/phpstudyer/etcd.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package auth implements etcd authentication.
Package etcdhttp provides etcd client and server implementations.
Package etcdserverpb is a generated protocol buffer package.
Package stats defines a standard interface for etcd cluster statistics.
# Functions
GetClusterFromRemotePeers takes a set of URLs representing etcd peers, and attempts to construct a Cluster by accessing the members endpoint on one of these URLs.
No description provided by the author
No description provided by the author
NewMember creates a Member without an ID and generates one based on the cluster name, peer URLs, and time.
NewServer creates a new EtcdServer from the supplied configuration.
No description provided by the author
ValidateClusterAndAssignIDs validates the local cluster by matching the PeerURLs with the existing cluster.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Attributes represents all the non-raft related attributes of an etcd member.
No description provided by the author
EtcdServer is the production implementation of the Server interface.
No description provided by the author
RaftAttributes represents the raft related attributes of an etcd member.
No description provided by the author
ServerConfig holds the configuration of etcd as taken from the command line or discovery.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
MembersByID implements sort by ID interface.
MembersByPeerURLs implements sort by peer urls interface.