package
3.6.0-alpha.0
Repository: https://github.com/etcd-io/etcd.git
Documentation: pkg.go.dev

# Packages

Package api manages the capabilities and features that are exposed to clients by the etcd cluster.
Package cindex provides an interface and implementation for getting/saving consistentIndex.
Package version provides functions for getting/saving storage version.

# 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.
NewAccessController returns a new "AccessController" with default "*" values.
NewRaftLogger builds "raft.Logger" from "*zap.Config".
NewRaftLoggerFromZapCore creates "raft.Logger" from "zap.Core" and "zapcore.WriteSyncer".
NewRaftLoggerZap converts "*zap.Logger" to "raft.Logger".
NewServer creates a new EtcdServer from the supplied configuration.

# Constants

DefaultSnapshotCatchUpEntries is the number of entries for a slow follower to catch-up after compacting the raft storage entries.
HealthInterval is the minimum time the cluster should be healthy before accepting add member requests.

# Variables

# Structs

AccessController controls etcd server HTTP request access.
EtcdServer is the production implementation of the Server interface.

# Interfaces

ApplierV2 is the interface for processing V2 raft messages.
RaftStatusGetter represents etcd server and Raft progress.

# Type aliases