membershippb

package
v3.3.0-rc.0.0...-0ef5ed7 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

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

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

func (m *Attributes) MarshalTo(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

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

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

func (m *RaftAttributes) MarshalTo(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

Jump to

Keyboard shortcuts

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