var ( ErrInvalidLengthMembership = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMembership = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMembership = fmt.Errorf("proto: unexpected end of group") )
Attributes represents all the non-raft related attributes of an etcd member.
type Attributes struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` ClientUrls []string `protobuf:"bytes,2,rep,name=client_urls,json=clientUrls,proto3" json:"client_urls,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Attributes) Descriptor() ([]byte, []int)
func (m *Attributes) Marshal() (dAtA []byte, err error)
func (m *Attributes) MarshalTo(dAtA []byte) (int, error)
func (m *Attributes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Attributes) ProtoMessage()
func (m *Attributes) Reset()
func (m *Attributes) Size() (n int)
func (m *Attributes) String() string
func (m *Attributes) Unmarshal(dAtA []byte) error
func (m *Attributes) XXX_DiscardUnknown()
func (m *Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Attributes) XXX_Merge(src proto.Message)
func (m *Attributes) XXX_Size() int
func (m *Attributes) XXX_Unmarshal(b []byte) error
type ClusterMemberAttrSetRequest struct { Member_ID uint64 `protobuf:"varint,1,opt,name=member_ID,json=memberID,proto3" json:"member_ID,omitempty"` MemberAttributes *Attributes `protobuf:"bytes,2,opt,name=member_attributes,json=memberAttributes,proto3" json:"member_attributes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClusterMemberAttrSetRequest) Descriptor() ([]byte, []int)
func (m *ClusterMemberAttrSetRequest) Marshal() (dAtA []byte, err error)
func (m *ClusterMemberAttrSetRequest) MarshalTo(dAtA []byte) (int, error)
func (m *ClusterMemberAttrSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterMemberAttrSetRequest) ProtoMessage()
func (m *ClusterMemberAttrSetRequest) Reset()
func (m *ClusterMemberAttrSetRequest) Size() (n int)
func (m *ClusterMemberAttrSetRequest) String() string
func (m *ClusterMemberAttrSetRequest) Unmarshal(dAtA []byte) error
func (m *ClusterMemberAttrSetRequest) XXX_DiscardUnknown()
func (m *ClusterMemberAttrSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ClusterMemberAttrSetRequest) XXX_Merge(src proto.Message)
func (m *ClusterMemberAttrSetRequest) XXX_Size() int
func (m *ClusterMemberAttrSetRequest) XXX_Unmarshal(b []byte) error
type ClusterVersionSetRequest struct { Ver string `protobuf:"bytes,1,opt,name=ver,proto3" json:"ver,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClusterVersionSetRequest) Descriptor() ([]byte, []int)
func (m *ClusterVersionSetRequest) Marshal() (dAtA []byte, err error)
func (m *ClusterVersionSetRequest) MarshalTo(dAtA []byte) (int, error)
func (m *ClusterVersionSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterVersionSetRequest) ProtoMessage()
func (m *ClusterVersionSetRequest) Reset()
func (m *ClusterVersionSetRequest) Size() (n int)
func (m *ClusterVersionSetRequest) String() string
func (m *ClusterVersionSetRequest) Unmarshal(dAtA []byte) error
func (m *ClusterVersionSetRequest) XXX_DiscardUnknown()
func (m *ClusterVersionSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *ClusterVersionSetRequest) XXX_Merge(src proto.Message)
func (m *ClusterVersionSetRequest) XXX_Size() int
func (m *ClusterVersionSetRequest) XXX_Unmarshal(b []byte) error
type DowngradeInfoSetRequest struct { Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` Ver string `protobuf:"bytes,2,opt,name=ver,proto3" json:"ver,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DowngradeInfoSetRequest) Descriptor() ([]byte, []int)
func (m *DowngradeInfoSetRequest) Marshal() (dAtA []byte, err error)
func (m *DowngradeInfoSetRequest) MarshalTo(dAtA []byte) (int, error)
func (m *DowngradeInfoSetRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DowngradeInfoSetRequest) ProtoMessage()
func (m *DowngradeInfoSetRequest) Reset()
func (m *DowngradeInfoSetRequest) Size() (n int)
func (m *DowngradeInfoSetRequest) String() string
func (m *DowngradeInfoSetRequest) Unmarshal(dAtA []byte) error
func (m *DowngradeInfoSetRequest) XXX_DiscardUnknown()
func (m *DowngradeInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *DowngradeInfoSetRequest) XXX_Merge(src proto.Message)
func (m *DowngradeInfoSetRequest) XXX_Size() int
func (m *DowngradeInfoSetRequest) XXX_Unmarshal(b []byte) error
type Member struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` RaftAttributes *RaftAttributes `protobuf:"bytes,2,opt,name=raft_attributes,json=raftAttributes,proto3" json:"raft_attributes,omitempty"` MemberAttributes *Attributes `protobuf:"bytes,3,opt,name=member_attributes,json=memberAttributes,proto3" json:"member_attributes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Member) Descriptor() ([]byte, []int)
func (m *Member) Marshal() (dAtA []byte, err error)
func (m *Member) MarshalTo(dAtA []byte) (int, error)
func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Member) ProtoMessage()
func (m *Member) Reset()
func (m *Member) Size() (n int)
func (m *Member) String() string
func (m *Member) Unmarshal(dAtA []byte) error
func (m *Member) XXX_DiscardUnknown()
func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *Member) XXX_Merge(src proto.Message)
func (m *Member) XXX_Size() int
func (m *Member) XXX_Unmarshal(b []byte) error
RaftAttributes represents the raft related attributes of an etcd member.
type RaftAttributes struct { // peerURLs is the list of peers in the raft cluster. PeerUrls []string `protobuf:"bytes,1,rep,name=peer_urls,json=peerUrls,proto3" json:"peer_urls,omitempty"` // isLearner indicates if the member is raft learner. IsLearner bool `protobuf:"varint,2,opt,name=is_learner,json=isLearner,proto3" json:"is_learner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RaftAttributes) Descriptor() ([]byte, []int)
func (m *RaftAttributes) Marshal() (dAtA []byte, err error)
func (m *RaftAttributes) MarshalTo(dAtA []byte) (int, error)
func (m *RaftAttributes) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RaftAttributes) ProtoMessage()
func (m *RaftAttributes) Reset()
func (m *RaftAttributes) Size() (n int)
func (m *RaftAttributes) String() string
func (m *RaftAttributes) Unmarshal(dAtA []byte) error
func (m *RaftAttributes) XXX_DiscardUnknown()
func (m *RaftAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *RaftAttributes) XXX_Merge(src proto.Message)
func (m *RaftAttributes) XXX_Size() int
func (m *RaftAttributes) XXX_Unmarshal(b []byte) error