Documentation ¶
Overview ¶
Package membershippb is a generated protocol buffer package.
It is generated from these files:
membership.proto
It has these top-level messages:
RaftAttributes Attributes Member ClusterVersionSetRequest ClusterMemberAttrSetRequest
Index ¶
- Variables
- type Attributes
- func (*Attributes) Descriptor() ([]byte, []int)
- func (m *Attributes) Marshal() (dAtA []byte, err error)
- func (m *Attributes) MarshalTo(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
- type ClusterMemberAttrSetRequest
- func (*ClusterMemberAttrSetRequest) Descriptor() ([]byte, []int)
- func (m *ClusterMemberAttrSetRequest) Marshal() (dAtA []byte, err error)
- func (m *ClusterMemberAttrSetRequest) MarshalTo(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
- type ClusterVersionSetRequest
- func (*ClusterVersionSetRequest) Descriptor() ([]byte, []int)
- func (m *ClusterVersionSetRequest) Marshal() (dAtA []byte, err error)
- func (m *ClusterVersionSetRequest) MarshalTo(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
- type Member
- func (*Member) Descriptor() ([]byte, []int)
- func (m *Member) Marshal() (dAtA []byte, err error)
- func (m *Member) MarshalTo(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
- type RaftAttributes
- func (*RaftAttributes) Descriptor() ([]byte, []int)
- func (m *RaftAttributes) Marshal() (dAtA []byte, err error)
- func (m *RaftAttributes) MarshalTo(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
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMembership = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMembership = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
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" json:"client_urls,omitempty"` }
Attributes represents all the non-raft related attributes of an etcd member.
func (*Attributes) Descriptor ¶
func (*Attributes) Descriptor() ([]byte, []int)
func (*Attributes) Marshal ¶
func (m *Attributes) Marshal() (dAtA []byte, err error)
func (*Attributes) ProtoMessage ¶
func (*Attributes) ProtoMessage()
func (*Attributes) Reset ¶
func (m *Attributes) Reset()
func (*Attributes) Size ¶
func (m *Attributes) Size() (n int)
func (*Attributes) String ¶
func (m *Attributes) String() string
func (*Attributes) Unmarshal ¶
func (m *Attributes) Unmarshal(dAtA []byte) error
type ClusterMemberAttrSetRequest ¶
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" json:"member_attributes,omitempty"` }
func (*ClusterMemberAttrSetRequest) Descriptor ¶
func (*ClusterMemberAttrSetRequest) Descriptor() ([]byte, []int)
func (*ClusterMemberAttrSetRequest) Marshal ¶
func (m *ClusterMemberAttrSetRequest) Marshal() (dAtA []byte, err error)
func (*ClusterMemberAttrSetRequest) MarshalTo ¶
func (m *ClusterMemberAttrSetRequest) MarshalTo(dAtA []byte) (int, error)
func (*ClusterMemberAttrSetRequest) ProtoMessage ¶
func (*ClusterMemberAttrSetRequest) ProtoMessage()
func (*ClusterMemberAttrSetRequest) Reset ¶
func (m *ClusterMemberAttrSetRequest) Reset()
func (*ClusterMemberAttrSetRequest) Size ¶
func (m *ClusterMemberAttrSetRequest) Size() (n int)
func (*ClusterMemberAttrSetRequest) String ¶
func (m *ClusterMemberAttrSetRequest) String() string
func (*ClusterMemberAttrSetRequest) Unmarshal ¶
func (m *ClusterMemberAttrSetRequest) Unmarshal(dAtA []byte) error
type ClusterVersionSetRequest ¶
type ClusterVersionSetRequest struct {
Ver string `protobuf:"bytes,1,opt,name=ver,proto3" json:"ver,omitempty"`
}
func (*ClusterVersionSetRequest) Descriptor ¶
func (*ClusterVersionSetRequest) Descriptor() ([]byte, []int)
func (*ClusterVersionSetRequest) Marshal ¶
func (m *ClusterVersionSetRequest) Marshal() (dAtA []byte, err error)
func (*ClusterVersionSetRequest) MarshalTo ¶
func (m *ClusterVersionSetRequest) MarshalTo(dAtA []byte) (int, error)
func (*ClusterVersionSetRequest) ProtoMessage ¶
func (*ClusterVersionSetRequest) ProtoMessage()
func (*ClusterVersionSetRequest) Reset ¶
func (m *ClusterVersionSetRequest) Reset()
func (*ClusterVersionSetRequest) Size ¶
func (m *ClusterVersionSetRequest) Size() (n int)
func (*ClusterVersionSetRequest) String ¶
func (m *ClusterVersionSetRequest) String() string
func (*ClusterVersionSetRequest) Unmarshal ¶
func (m *ClusterVersionSetRequest) Unmarshal(dAtA []byte) error
type Member ¶
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" json:"raft_attributes,omitempty"` MemberAttributes *Attributes `protobuf:"bytes,3,opt,name=member_attributes,json=memberAttributes" json:"member_attributes,omitempty"` }
func (*Member) Descriptor ¶
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
type RaftAttributes ¶
type RaftAttributes struct { // peerURLs is the list of peers in the raft cluster. PeerUrls []string `protobuf:"bytes,1,rep,name=peer_urls,json=peerUrls" 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"` }
RaftAttributes represents the raft related attributes of an etcd member.
func (*RaftAttributes) Descriptor ¶
func (*RaftAttributes) Descriptor() ([]byte, []int)
func (*RaftAttributes) Marshal ¶
func (m *RaftAttributes) Marshal() (dAtA []byte, err error)
func (*RaftAttributes) ProtoMessage ¶
func (*RaftAttributes) ProtoMessage()
func (*RaftAttributes) Reset ¶
func (m *RaftAttributes) Reset()
func (*RaftAttributes) Size ¶
func (m *RaftAttributes) Size() (n int)
func (*RaftAttributes) String ¶
func (m *RaftAttributes) String() string
func (*RaftAttributes) Unmarshal ¶
func (m *RaftAttributes) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.