package
8.5.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb-binlog.git
Documentation: pkg.go.dev
# Functions
AnalyzeNodeID returns nodeID by analyze key path.
CloneStatus returns a new status with same value.
NewEtcdRegistry returns an EtcdRegistry client.
NewStatus returns a new status.
NodesStatusFromEtcdNode returns nodes' status under root node.
# Variables
DefaultRootPath is the root path of the keys stored in etcd, the `v1` is the tidb-binlog's version.
DrainerNode is the name of drainer.
NodePrefix is the map (node => it's prefix in storage).
PumpNode is the name of pump.
# Structs
EtcdRegistry wraps the reactions with etcd.
Label is key/value pairs that are attached to objects.
Status describes the status information of a tidb-binlog node in etcd.
# Interfaces
Node defines pump node.