kubernetes/vendor/go.etcd.io/etcd/server/v3/etcdserver/api/membership/store.go

const attributesSuffix

const raftAttributesSuffix

const storePrefix

var StoreMembersPrefix

var storeRemovedMembersPrefix

var errMemberAlreadyExist

var errMemberNotFound

func unsafeSaveMemberToBackend(lg *zap.Logger, be backend.Backend, m *Member) error {}

// TrimClusterFromBackend removes all information about cluster (versions)
// from the v3 backend.
func TrimClusterFromBackend(be backend.Backend) error {}

func unsafeDeleteMemberFromBackend(be backend.Backend, id types.ID) error {}

func unsafeMemberExists(tx backend.ReadTx, mkey []byte) bool {}

func readMembersFromBackend(lg *zap.Logger, be backend.Backend) (map[types.ID]*Member, map[types.ID]bool, error) {}

func mustReadMembersFromBackend(lg *zap.Logger, be backend.Backend) (map[types.ID]*Member, map[types.ID]bool) {}

// TrimMembershipFromBackend removes all information about members &
// removed_members from the v3 backend.
func TrimMembershipFromBackend(lg *zap.Logger, be backend.Backend) error {}

// TrimMembershipFromV2Store removes all information about members &
// removed_members from the v2 store.
func TrimMembershipFromV2Store(lg *zap.Logger, s v2store.Store) error {}

// The field is populated since etcd v3.5.
func mustSaveClusterVersionToBackend(be backend.Backend, ver *semver.Version) {}

// The field is populated since etcd v3.5.
func mustSaveDowngradeToBackend(lg *zap.Logger, be backend.Backend, downgrade *DowngradeInfo) {}

func mustSaveMemberToStore(lg *zap.Logger, s v2store.Store, m *Member) {}

func unsafeSaveMemberToStore(lg *zap.Logger, s v2store.Store, m *Member) error {}

func unsafeDeleteMemberFromStore(s v2store.Store, id types.ID) error {}

func mustUpdateMemberInStore(lg *zap.Logger, s v2store.Store, m *Member) {}

func mustUpdateMemberAttrInStore(lg *zap.Logger, s v2store.Store, m *Member) {}

func mustSaveClusterVersionToStore(lg *zap.Logger, s v2store.Store, ver *semver.Version) {}

// nodeToMember builds member from a key value node.
// the child nodes of the given node MUST be sorted by key.
func nodeToMember(lg *zap.Logger, n *v2store.NodeExtern) (*Member, error) {}

func backendMemberKey(id types.ID) []byte {}

func backendClusterVersionKey() []byte {}

func backendDowngradeKey() []byte {}

func mustCreateBackendBuckets(be backend.Backend) {}

func MemberStoreKey(id types.ID) string {}

func StoreClusterVersionKey() string {}

func MemberAttributesStorePath(id types.ID) string {}

func mustParseMemberIDFromBytes(lg *zap.Logger, key []byte) types.ID {}

func MustParseMemberIDFromKey(lg *zap.Logger, key string) types.ID {}

func RemovedMemberStoreKey(id types.ID) string {}