etcd-io/etcd
API
etcd's network surface. Source of truth: api/etcdserverpb/rpc.proto.
Pages
- gRPC services — KV, Watch, Lease, Cluster, Auth, Maintenance.
- gRPC-gateway REST — JSON over HTTP.
- Proto files — where each
.protolives and what it carries.
At a glance
| Service | Source | Top methods |
|---|---|---|
KV |
api/etcdserverpb/rpc.proto |
Range, Put, DeleteRange, Txn, Compact, RangeStream |
Watch |
same | Watch (bidi stream) |
Lease |
same | LeaseGrant, LeaseRevoke, LeaseKeepAlive, LeaseTimeToLive, LeaseLeases |
Cluster |
same | MemberAdd, MemberRemove, MemberUpdate, MemberList, MemberPromote |
Maintenance |
same | Alarm, Status, Defragment, Hash, HashKV, Snapshot, MoveLeader, Downgrade |
Auth |
same | AuthEnable, AuthDisable, Authenticate, User*, Role* |
Lock (v3lock) |
server/etcdserver/api/v3lock/v3lockpb/ |
Lock, Unlock |
Election (v3election) |
server/etcdserver/api/v3election/v3electionpb/ |
Campaign, Proclaim, Resign, Leader, Observe |
Health |
google.golang.org/grpc/health |
gRPC standard health probe |
Anything that mutates state is proposed through Raft; anything purely informational (Status, MemberList, Hash, LeaseTimeToLive, ...) is served directly.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.