membershippb

package
v3.0.0-...-4725ebe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMembership        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMembership          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMembership = fmt.Errorf("proto: unexpected end of group")
)

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,proto3" json:"client_urls,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalTo

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

func (*Attributes) MarshalToSizedBuffer

func (m *Attributes) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*Attributes) XXX_DiscardUnknown

func (m *Attributes) XXX_DiscardUnknown()

func (*Attributes) XXX_Marshal

func (m *Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Attributes) XXX_Merge

func (m *Attributes) XXX_Merge(src proto.Message)

func (*Attributes) XXX_Size

func (m *Attributes) XXX_Size() int

func (*Attributes) XXX_Unmarshal

func (m *Attributes) XXX_Unmarshal(b []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,proto3" json:"member_attributes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

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) MarshalToSizedBuffer

func (m *ClusterMemberAttrSetRequest) MarshalToSizedBuffer(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

func (*ClusterMemberAttrSetRequest) XXX_DiscardUnknown

func (m *ClusterMemberAttrSetRequest) XXX_DiscardUnknown()

func (*ClusterMemberAttrSetRequest) XXX_Marshal

func (m *ClusterMemberAttrSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterMemberAttrSetRequest) XXX_Merge

func (m *ClusterMemberAttrSetRequest) XXX_Merge(src proto.Message)

func (*ClusterMemberAttrSetRequest) XXX_Size

func (m *ClusterMemberAttrSetRequest) XXX_Size() int

func (*ClusterMemberAttrSetRequest) XXX_Unmarshal

func (m *ClusterMemberAttrSetRequest) XXX_Unmarshal(b []byte) error

type ClusterVersionSetRequest

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

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) MarshalToSizedBuffer

func (m *ClusterVersionSetRequest) MarshalToSizedBuffer(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

func (*ClusterVersionSetRequest) XXX_DiscardUnknown

func (m *ClusterVersionSetRequest) XXX_DiscardUnknown()

func (*ClusterVersionSetRequest) XXX_Marshal

func (m *ClusterVersionSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterVersionSetRequest) XXX_Merge

func (m *ClusterVersionSetRequest) XXX_Merge(src proto.Message)

func (*ClusterVersionSetRequest) XXX_Size

func (m *ClusterVersionSetRequest) XXX_Size() int

func (*ClusterVersionSetRequest) XXX_Unmarshal

func (m *ClusterVersionSetRequest) XXX_Unmarshal(b []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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalToSizedBuffer

func (m *DowngradeInfoSetRequest) MarshalToSizedBuffer(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

func (*DowngradeInfoSetRequest) XXX_DiscardUnknown

func (m *DowngradeInfoSetRequest) XXX_DiscardUnknown()

func (*DowngradeInfoSetRequest) XXX_Marshal

func (m *DowngradeInfoSetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DowngradeInfoSetRequest) XXX_Merge

func (m *DowngradeInfoSetRequest) XXX_Merge(src proto.Message)

func (*DowngradeInfoSetRequest) XXX_Size

func (m *DowngradeInfoSetRequest) XXX_Size() int

func (*DowngradeInfoSetRequest) XXX_Unmarshal

func (m *DowngradeInfoSetRequest) XXX_Unmarshal(b []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,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

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

func (*Member) Marshal

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

func (*Member) MarshalTo

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

func (*Member) MarshalToSizedBuffer

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

func (*Member) ProtoMessage

func (*Member) ProtoMessage()

func (*Member) Reset

func (m *Member) Reset()

func (*Member) Size

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

func (*Member) String

func (m *Member) String() string

func (*Member) Unmarshal

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

func (*Member) XXX_DiscardUnknown

func (m *Member) XXX_DiscardUnknown()

func (*Member) XXX_Marshal

func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Member) XXX_Merge

func (m *Member) XXX_Merge(src proto.Message)

func (*Member) XXX_Size

func (m *Member) XXX_Size() int

func (*Member) XXX_Unmarshal

func (m *Member) XXX_Unmarshal(b []byte) error

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,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:"-"`
}

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) MarshalTo

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

func (*RaftAttributes) MarshalToSizedBuffer

func (m *RaftAttributes) MarshalToSizedBuffer(dAtA []byte) (int, 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

func (*RaftAttributes) XXX_DiscardUnknown

func (m *RaftAttributes) XXX_DiscardUnknown()

func (*RaftAttributes) XXX_Marshal

func (m *RaftAttributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RaftAttributes) XXX_Merge

func (m *RaftAttributes) XXX_Merge(src proto.Message)

func (*RaftAttributes) XXX_Size

func (m *RaftAttributes) XXX_Size() int

func (*RaftAttributes) XXX_Unmarshal

func (m *RaftAttributes) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL