Documentation ¶
Overview ¶
Package main is a simple wrapper of the real etcd entrypoint package (located at go.etcd.io/etcd/etcdmain) to ensure that etcd is still "go getable"; e.g. `go get go.etcd.io/etcd` works as expected and builds a binary in $GOBIN/etcd
This package should NOT be extended or modified in any way; to modify the etcd binary, work in the `go.etcd.io/etcd/etcdmain` package.
Directories ¶
Path | Synopsis |
---|---|
Package auth provides client role authentication for accessing keys in etcd.
|
Package auth provides client role authentication for accessing keys in etcd. |
Package embed provides bindings for embedding an etcd server in a program.
|
Package embed provides bindings for embedding an etcd server in a program. |
Package etcdmain contains the main entry point for the etcd binary.
|
Package etcdmain contains the main entry point for the etcd binary. |
Package etcdserver defines how etcd servers interact and store their states.
|
Package etcdserver defines how etcd servers interact and store their states. |
api
Package api manages the capabilities and features that are exposed to clients by the etcd cluster.
|
Package api manages the capabilities and features that are exposed to clients by the etcd cluster. |
api/etcdhttp
Package etcdhttp implements HTTP transportation layer for etcdserver.
|
Package etcdhttp implements HTTP transportation layer for etcdserver. |
api/membership
Package membership describes individual etcd members and clusters of members.
|
Package membership describes individual etcd members and clusters of members. |
api/rafthttp
Package rafthttp implements HTTP transportation layer for etcd/raft pkg.
|
Package rafthttp implements HTTP transportation layer for etcd/raft pkg. |
api/snap
Package snap handles Raft nodes' states with snapshots.
|
Package snap handles Raft nodes' states with snapshots. |
api/v2auth
Package v2auth implements etcd authentication.
|
Package v2auth implements etcd authentication. |
api/v2discovery
Package v2discovery provides an implementation of the cluster discovery that is used by etcd with v2 client.
|
Package v2discovery provides an implementation of the cluster discovery that is used by etcd with v2 client. |
api/v2error
Package v2error describes errors in etcd project.
|
Package v2error describes errors in etcd project. |
api/v2http
Package v2http provides etcd client and server implementations.
|
Package v2http provides etcd client and server implementations. |
api/v2http/httptypes
Package httptypes defines how etcd's HTTP API entities are serialized to and deserialized from JSON.
|
Package httptypes defines how etcd's HTTP API entities are serialized to and deserialized from JSON. |
api/v2stats
Package v2stats defines a standard interface for etcd cluster statistics.
|
Package v2stats defines a standard interface for etcd cluster statistics. |
api/v2store
Package v2store defines etcd's in-memory key/value store in v2 API.
|
Package v2store defines etcd's in-memory key/value store in v2 API. |
api/v2v3
Package v2v3 provides a ServerV2 implementation backed by clientv3.Client.
|
Package v2v3 provides a ServerV2 implementation backed by clientv3.Client. |
api/v3alarm
Package v3alarm manages health status alarms in etcd.
|
Package v3alarm manages health status alarms in etcd. |
api/v3client
Package v3client provides clientv3 interfaces from an etcdserver.
|
Package v3client provides clientv3 interfaces from an etcdserver. |
api/v3compactor
Package v3compactor implements automated policies for compacting etcd's mvcc storage.
|
Package v3compactor implements automated policies for compacting etcd's mvcc storage. |
api/v3election
Package v3election provides a v3 election service from an etcdserver.
|
Package v3election provides a v3 election service from an etcdserver. |
api/v3election/v3electionpb/gw
Package v3electionpb is a reverse proxy.
|
Package v3electionpb is a reverse proxy. |
api/v3lock
Package v3lock provides a v3 locking service from an etcdserver.
|
Package v3lock provides a v3 locking service from an etcdserver. |
api/v3lock/v3lockpb/gw
Package v3lockpb is a reverse proxy.
|
Package v3lockpb is a reverse proxy. |
api/v3rpc
Package v3rpc implements etcd v3 RPC system based on gRPC.
|
Package v3rpc implements etcd v3 RPC system based on gRPC. |
cindex
Package cindex provides an interface and implementation for getting/saving consistentIndex.
|
Package cindex provides an interface and implementation for getting/saving consistentIndex. |
Package lease provides an interface and implementation for time-limited leases over arbitrary resources.
|
Package lease provides an interface and implementation for time-limited leases over arbitrary resources. |
leasehttp
Package leasehttp serves lease renewals made through HTTP requests.
|
Package leasehttp serves lease renewals made through HTTP requests. |
mock
|
|
mockstorage
Package mockstorage provides mock implementations for etcdserver's storage interface.
|
Package mockstorage provides mock implementations for etcdserver's storage interface. |
mockstore
Package mockstore provides mock structures for the etcd store package.
|
Package mockstore provides mock structures for the etcd store package. |
mockwait
Package mockwait provides mock implementations for pkg/wait.
|
Package mockwait provides mock implementations for pkg/wait. |
Package mvcc defines etcd's stable MVCC storage.
|
Package mvcc defines etcd's stable MVCC storage. |
backend
Package backend defines a standard interface for etcd's backend MVCC storage.
|
Package backend defines a standard interface for etcd's backend MVCC storage. |
proxy
|
|
grpcproxy
Package grpcproxy is an OSI level 7 proxy for etcd v3 API requests.
|
Package grpcproxy is an OSI level 7 proxy for etcd v3 API requests. |
grpcproxy/adapter
Package adapter provides gRPC adapters between client and server gRPC interfaces without needing to go through a gRPC connection.
|
Package adapter provides gRPC adapters between client and server gRPC interfaces without needing to go through a gRPC connection. |
grpcproxy/cache
Package cache exports functionality for efficiently caching and mapping `RangeRequest`s to corresponding `RangeResponse`s.
|
Package cache exports functionality for efficiently caching and mapping `RangeRequest`s to corresponding `RangeResponse`s. |
httpproxy
Package httpproxy implements etcd httpproxy.
|
Package httpproxy implements etcd httpproxy. |
tcpproxy
Package tcpproxy is an OSI level 4 proxy for routing etcd clients to etcd servers.
|
Package tcpproxy is an OSI level 4 proxy for routing etcd clients to etcd servers. |
storage
|
|
Package wal provides an implementation of a write ahead log that is used by etcd.
|
Package wal provides an implementation of a write ahead log that is used by etcd. |
Click to show internal directories.
Click to hide internal directories.