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 DowngradeInfoSetRequest
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 DowngradeInfoSetRequest
- func (*DowngradeInfoSetRequest) Descriptor() ([]byte, []int)
- func (m *DowngradeInfoSetRequest) Marshal() (dAtA []byte, err error)
- func (m *DowngradeInfoSetRequest) MarshalTo(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
- 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 DowngradeInfoSetRequest ¶
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"` }
func (*DowngradeInfoSetRequest) Descriptor ¶
func (*DowngradeInfoSetRequest) Descriptor() ([]byte, []int)
func (*DowngradeInfoSetRequest) Marshal ¶
func (m *DowngradeInfoSetRequest) Marshal() (dAtA []byte, err error)
func (*DowngradeInfoSetRequest) MarshalTo ¶
func (m *DowngradeInfoSetRequest) MarshalTo(dAtA []byte) (int, error)
func (*DowngradeInfoSetRequest) ProtoMessage ¶
func (*DowngradeInfoSetRequest) ProtoMessage()
func (*DowngradeInfoSetRequest) Reset ¶
func (m *DowngradeInfoSetRequest) Reset()
func (*DowngradeInfoSetRequest) Size ¶
func (m *DowngradeInfoSetRequest) Size() (n int)
func (*DowngradeInfoSetRequest) String ¶
func (m *DowngradeInfoSetRequest) String() string
func (*DowngradeInfoSetRequest) Unmarshal ¶
func (m *DowngradeInfoSetRequest) 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.