etcd: go.etcd.io/etcd/etcdserver/api/membership/membershippb Index | Files

package membershippb

import "go.etcd.io/etcd/etcdserver/api/membership/membershippb"

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

Package Files

membership.pb.go

Variables

var (
    ErrInvalidLengthMembership = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowMembership   = fmt.Errorf("proto: integer overflow")
)

type Attributes Uses

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 Uses

func (*Attributes) Descriptor() ([]byte, []int)

func (*Attributes) Marshal Uses

func (m *Attributes) Marshal() (dAtA []byte, err error)

func (*Attributes) MarshalTo Uses

func (m *Attributes) MarshalTo(dAtA []byte) (int, error)

func (*Attributes) ProtoMessage Uses

func (*Attributes) ProtoMessage()

func (*Attributes) Reset Uses

func (m *Attributes) Reset()

func (*Attributes) Size Uses

func (m *Attributes) Size() (n int)

func (*Attributes) String Uses

func (m *Attributes) String() string

func (*Attributes) Unmarshal Uses

func (m *Attributes) Unmarshal(dAtA []byte) error

type ClusterMemberAttrSetRequest Uses

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 Uses

func (*ClusterMemberAttrSetRequest) Descriptor() ([]byte, []int)

func (*ClusterMemberAttrSetRequest) Marshal Uses

func (m *ClusterMemberAttrSetRequest) Marshal() (dAtA []byte, err error)

func (*ClusterMemberAttrSetRequest) MarshalTo Uses

func (m *ClusterMemberAttrSetRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClusterMemberAttrSetRequest) ProtoMessage Uses

func (*ClusterMemberAttrSetRequest) ProtoMessage()

func (*ClusterMemberAttrSetRequest) Reset Uses

func (m *ClusterMemberAttrSetRequest) Reset()

func (*ClusterMemberAttrSetRequest) Size Uses

func (m *ClusterMemberAttrSetRequest) Size() (n int)

func (*ClusterMemberAttrSetRequest) String Uses

func (m *ClusterMemberAttrSetRequest) String() string

func (*ClusterMemberAttrSetRequest) Unmarshal Uses

func (m *ClusterMemberAttrSetRequest) Unmarshal(dAtA []byte) error

type ClusterVersionSetRequest Uses

type ClusterVersionSetRequest struct {
    Ver string `protobuf:"bytes,1,opt,name=ver,proto3" json:"ver,omitempty"`
}

func (*ClusterVersionSetRequest) Descriptor Uses

func (*ClusterVersionSetRequest) Descriptor() ([]byte, []int)

func (*ClusterVersionSetRequest) Marshal Uses

func (m *ClusterVersionSetRequest) Marshal() (dAtA []byte, err error)

func (*ClusterVersionSetRequest) MarshalTo Uses

func (m *ClusterVersionSetRequest) MarshalTo(dAtA []byte) (int, error)

func (*ClusterVersionSetRequest) ProtoMessage Uses

func (*ClusterVersionSetRequest) ProtoMessage()

func (*ClusterVersionSetRequest) Reset Uses

func (m *ClusterVersionSetRequest) Reset()

func (*ClusterVersionSetRequest) Size Uses

func (m *ClusterVersionSetRequest) Size() (n int)

func (*ClusterVersionSetRequest) String Uses

func (m *ClusterVersionSetRequest) String() string

func (*ClusterVersionSetRequest) Unmarshal Uses

func (m *ClusterVersionSetRequest) Unmarshal(dAtA []byte) error

type Member Uses

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 Uses

func (*Member) Descriptor() ([]byte, []int)

func (*Member) Marshal Uses

func (m *Member) Marshal() (dAtA []byte, err error)

func (*Member) MarshalTo Uses

func (m *Member) MarshalTo(dAtA []byte) (int, error)

func (*Member) ProtoMessage Uses

func (*Member) ProtoMessage()

func (*Member) Reset Uses

func (m *Member) Reset()

func (*Member) Size Uses

func (m *Member) Size() (n int)

func (*Member) String Uses

func (m *Member) String() string

func (*Member) Unmarshal Uses

func (m *Member) Unmarshal(dAtA []byte) error

type RaftAttributes Uses

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 Uses

func (*RaftAttributes) Descriptor() ([]byte, []int)

func (*RaftAttributes) Marshal Uses

func (m *RaftAttributes) Marshal() (dAtA []byte, err error)

func (*RaftAttributes) MarshalTo Uses

func (m *RaftAttributes) MarshalTo(dAtA []byte) (int, error)

func (*RaftAttributes) ProtoMessage Uses

func (*RaftAttributes) ProtoMessage()

func (*RaftAttributes) Reset Uses

func (m *RaftAttributes) Reset()

func (*RaftAttributes) Size Uses

func (m *RaftAttributes) Size() (n int)

func (*RaftAttributes) String Uses

func (m *RaftAttributes) String() string

func (*RaftAttributes) Unmarshal Uses

func (m *RaftAttributes) Unmarshal(dAtA []byte) error

Package membershippb imports 5 packages (graph) and is imported by 10 packages. Updated 2019-12-10. Refresh now. Tools for package owners.