etcd – github.com/coreos/etcd Directories

etcd command

Package main is a simple wrapper of the real etcd entrypoint package (located at github.com/coreos/etcd/etcdmain) to ensure that etcd is still "go getable"; e.g. `go get github.com/coreos/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 `github.com/coreos/etcd/etcdmain` package.

Directories

PathSynopsis
alarmPackage alarm manages health status alarms in etcd.
authPackage auth provides client role authentication for accessing keys in etcd.
auth/authpbPackage authpb is a generated protocol buffer package.
clientPackage client provides bindings for the etcd APIs.
client/integrationPackage integration implements tests built upon embedded etcd, focusing on the correctness of the etcd v2 client.
clientv3Package clientv3 implements the official Go etcd client for v3.
clientv3/clientv3utilPackage clientv3util contains utility functions derived from clientv3.
clientv3/concurrencyPackage concurrency implements concurrency operations on top of etcd such as distributed locks, barriers, and elections.
clientv3/integrationPackage integration implements tests built upon embedded etcd, and focuses on correctness of etcd client.
clientv3/mirrorPackage mirror implements etcd mirroring operations.
clientv3/namespacePackage namespace is a clientv3 wrapper that translates all keys to begin with a given prefix.
clientv3/namingPackage naming provides an etcd-backed gRPC resolver for discovering gRPC services.
clientv3/yamlPackage yaml handles yaml-formatted clientv3 configuration data.
compactorPackage compactor implements automated policies for compacting etcd's mvcc storage.
contrib
contrib/raftexampleraftexample is a simple KV store using the raft and rafthttp libraries.
contrib/recipesPackage recipe contains experimental client-side distributed synchronization primitives.
contrib/systemd
contrib/systemd/etcd2-backup-coreos
discoveryPackage discovery provides an implementation of the cluster discovery that is used by etcd.
e2ePackage e2e implements tests built upon etcd binaries, and focus on end-to-end testing.
embedPackage embed provides bindings for embedding an etcd server in a program.
errorPackage error describes errors in etcd project.
etcdctletcdctl is a command line application that controls etcd.
etcdctl/ctlv2Package ctlv2 contains the main entry point for the etcdctl for v2 API.
etcdctl/ctlv2/commandPackage command is a set of libraries for etcdctl commands.
etcdctl/ctlv3Package ctlv3 contains the main entry point for the etcdctl for v3 API.
etcdctl/ctlv3/commandPackage command is a set of libraries for etcd v3 commands.
etcdmainPackage etcdmain contains the main entry point for the etcd binary.
etcdserverPackage etcdserver defines how etcd servers interact and store their states.
etcdserver/apiPackage api manages the capabilities and features that are exposed to clients by the etcd cluster.
etcdserver/api/v2httpPackage v2http provides etcd client and server implementations.
etcdserver/api/v2http/httptypesPackage httptypes defines how etcd's HTTP API entities are serialized to and deserialized from JSON.
etcdserver/api/v3clientPackage v3client provides clientv3 interfaces from an etcdserver.
etcdserver/api/v3electionPackage v3election provides a v3 election service from an etcdserver.
etcdserver/api/v3election/v3electionpbPackage v3electionpb is a generated protocol buffer package.
etcdserver/api/v3election/v3electionpb/gwPackage v3electionpb is a reverse proxy.
etcdserver/api/v3lockPackage v3lock provides a v3 locking service from an etcdserver.
etcdserver/api/v3lock/v3lockpbPackage v3lockpb is a generated protocol buffer package.
etcdserver/api/v3lock/v3lockpb/gwPackage v3lockpb is a reverse proxy.
etcdserver/api/v3rpcPackage v3rpc implements etcd v3 RPC system based on gRPC.
etcdserver/api/v3rpc/rpctypesPackage rpctypes has types and values shared by the etcd server and client for v3 RPC interaction.
etcdserver/authPackage auth implements etcd authentication.
etcdserver/etcdserverpbPackage etcdserverpb is a generated protocol buffer package.
etcdserver/etcdserverpb/gwPackage etcdserverpb is a reverse proxy.
etcdserver/membershipPackage membership describes individual etcd members and clusters of members.
etcdserver/statsPackage stats defines a standard interface for etcd cluster statistics.
integrationPackage integration implements tests built upon embedded etcd, and focus on etcd correctness.
leasePackage lease provides an interface and implemetation for time-limited leases over arbitrary resources.
lease/leasehttpPackage leasehttp serves lease renewals made through HTTP requests.
lease/leasepbPackage leasepb is a generated protocol buffer package.
mvccPackage mvcc defines etcd's stable MVCC storage.
mvcc/backendPackage backend defines a standard interface for etcd's backend MVCC storage.
mvcc/mvccpbPackage mvccpb is a generated protocol buffer package.
pkg
pkg/adtPackage adt implements useful abstract data types.
pkg/contentionPackage contention provides facilities for detecting system contention.
pkg/corsPackage cors handles cross-origin HTTP requests (CORS).
pkg/cpuutilPackage cpuutil provides facilities for detecting cpu-specific features.
pkg/crcPackage crc provides utility function for cyclic redundancy check algorithms.
pkg/debugutilPackage debugutil includes utility functions for debugging.
pkg/expectPackage expect implements a small expect-style interface
pkg/fileutilPackage fileutil implements utility functions related to files and paths.
pkg/flagsPackage flags implements command-line flag parsing.
pkg/httputilPackage httputil provides HTTP utility functions.
pkg/idutilPackage idutil implements utility functions for generating unique, randomized ids.
pkg/ioutilPackage ioutil implements I/O utility functions.
pkg/logutilPackage logutil includes utilities to facilitate logging.
pkg/mock
pkg/mock/mockstoragePackage mockstorage provides mock implementations for etcdserver's storage interface.
pkg/mock/mockstorePackage mockstore provides mock structures for the etcd store package.
pkg/mock/mockwaitPackage mockwait provides mock implementations for pkg/wait.
pkg/monotimePackage monotime provides a fast monotonic clock source.
pkg/netutilPackage netutil implements network-related utility functions.
pkg/osutilPackage osutil implements operating system-related utility functions.
pkg/pathutilPackage pathutil implements utility functions for handling slash-separated paths.
pkg/pbutilPackage pbutil defines interfaces for handling Protocol Buffer objects.
pkg/reportPackage report generates human-readable benchmark reports.
pkg/runtime
pkg/schedulePackage schedule provides mechanisms and policies for scheduling units of work.
pkg/srvPackage srv looks up DNS SRV records.
pkg/stringutilPackage stringutil exports string utility functions.
pkg/testutilPackage testutil provides test utility functions.
pkg/tlsutilPackage tlsutil provides utility functions for handling TLS.
pkg/transportPackage transport implements various HTTP transport utilities based on Go net package.
pkg/typesPackage types declares various data types and implements type-checking functions.
pkg/waitPackage wait provides utility functions for polling, listening using Go channel.
proxy
proxy/grpcproxyPackage grpcproxy is an OSI level 7 proxy for etcd v3 API requests.
proxy/grpcproxy/adapterPackage adapter provides gRPC adapters between client and server gRPC interfaces without needing to go through a gRPC connection.
proxy/grpcproxy/cachePackage cache exports functionality for efficiently caching and mapping `RangeRequest`s to corresponding `RangeResponse`s.
proxy/httpproxyPackage httpproxy implements etcd httpproxy.
proxy/tcpproxyPackage tcpproxy is an OSI level 4 proxy for routing etcd clients to etcd servers.
raftPackage raft sends and receives messages in the Protocol Buffer format defined in the raftpb package.
rafthttpPackage rafthttp implements HTTP transportation layer for etcd/raft pkg.
raft/raftpbPackage raftpb is a generated protocol buffer package.
raft/rafttestPackage rafttest provides functional tests for etcd's raft implementation.
snapPackage snap stores raft nodes' states with snapshots.
snap/snappbPackage snappb is a generated protocol buffer package.
storePackage store defines etcd's in-memory key/value store.
tools
tools/benchmarkbenchmark is a program for benchmarking etcd v3 API performance.
tools/benchmark/cmdPackage cmd implements individual benchmark commands for the benchmark utility.
tools/etcd-dump-dbetcd-dump-db inspects etcd db files.
tools/etcd-dump-logsetcd-dump-logs is a program for analyzing etcd server write ahead logs.
tools/functional-tester
tools/functional-tester/etcd-agentetcd-agent is a daemon for controlling an etcd process via HTTP RPC.
tools/functional-tester/etcd-agent/clientPackage client provides a client implementation to control an etcd-agent.
tools/functional-tester/etcd-runneretcd-runner is a program for testing etcd clientv3 features against a fault injected cluster.
tools/functional-tester/etcd-runner/commandPackage command implements individual etcd-runner commands for the etcd-runner utility.
tools/functional-tester/etcd-testeretcd-tester is a single controller for all etcd-agents to manage an etcd cluster and simulate failures.
tools/local-tester
tools/local-tester/bridgePackage main is the entry point for the local tester network bridge.
versionPackage version implements etcd version parsing and contains latest version information.
walPackage wal provides an implementation of a write ahead log that is used by etcd.
wal/walpbPackage walpb is a generated protocol buffer package.
Version
v3.2.0-rc.1+incompatible
Published
May 19, 2017
Platform
windows/amd64
Imports
1 packages
Last checked
1 second ago

Tools for package owners.