Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointStatus ¶
type EndpointStatus []struct { Endpoint string `json:"Endpoint"` Status struct { Header struct { ClusterID int64 `json:"cluster_id"` MemberID int64 `json:"member_id"` Revision int64 `json:"revision"` RaftTerm int64 `json:"raft_term"` } `json:"header"` Version string `json:"version"` DbSize int64 `json:"dbSize"` Leader int64 `json:"leader"` RaftIndex int64 `json:"raftIndex"` RaftTerm int64 `json:"raftTerm"` } `json:"Status"` }
EndpointStatus stores result from output of etcdctl endpoint status command
type LatestSnapshots ¶
type LatestSnapshots struct { FullSnapshot *brtypes.Snapshot `json:"fullSnapshot"` DeltaSnapshots []*brtypes.Snapshot `json:"deltaSnapshots"` }
LatestSnapshots stores the result from output of /snapshot/latest http call
type SnapListResult ¶
type SnapListResult struct { Snapshots brtypes.SnapList `json:"snapshots"` Error error `json:"error"` }
SnapListResult stores the snaplist and any associated error
Click to show internal directories.
Click to hide internal directories.