var _ … var _ … var _ … const _ … type CampaignRequest … func (m *CampaignRequest) Reset() { … } func (m *CampaignRequest) String() string { … } func (*CampaignRequest) ProtoMessage() { … } func (*CampaignRequest) Descriptor() ([]byte, []int) { … } func (m *CampaignRequest) XXX_Unmarshal(b []byte) error { … } func (m *CampaignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { … } func (m *CampaignRequest) XXX_Merge(src proto.Message) { … } func (m *CampaignRequest) XXX_Size() int { … } func (m *CampaignRequest) XXX_DiscardUnknown() { … } var xxx_messageInfo_CampaignRequest … func (m *CampaignRequest) GetName() []byte { … } func (m *CampaignRequest) GetLease() int64 { … } func (m *CampaignRequest) GetValue() []byte { … } type CampaignResponse … func (m *CampaignResponse) Reset() { … } func (m *CampaignResponse) String() string { … } func (*CampaignResponse) ProtoMessage() { … } func (*CampaignResponse) Descriptor() ([]byte, []int) { … } func (m *CampaignResponse) XXX_Unmarshal(b []byte) error { … } func (m *CampaignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { … } func (m *CampaignResponse) XXX_Merge(src proto.Message) { … } func (m *CampaignResponse) XXX_Size() int { … } func (m *CampaignResponse) XXX_DiscardUnknown() { … } var xxx_messageInfo_CampaignResponse … func (m *CampaignResponse) GetHeader() *etcdserverpb.ResponseHeader { … } func (m *CampaignResponse) GetLeader() *LeaderKey { … } type LeaderKey … func (m *LeaderKey) Reset() { … } func (m *LeaderKey) String() string { … } func (*LeaderKey) ProtoMessage() { … } func (*LeaderKey) Descriptor() ([]byte, []int) { … } func (m *LeaderKey) XXX_Unmarshal(b []byte) error { … } func (m *LeaderKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { … } func (m *LeaderKey) XXX_Merge(src proto.Message) { … } func (m *LeaderKey) XXX_Size() int { … } func (m *LeaderKey) XXX_DiscardUnknown() { … } var xxx_messageInfo_LeaderKey … func (m *LeaderKey) GetName() []byte { … } func (m *LeaderKey) GetKey() []byte { … } func (m *LeaderKey) GetRev() int64 { … } func (m *LeaderKey) GetLease() int64 { … } type LeaderRequest … func (m *LeaderRequest) Reset() { … } func (m *LeaderRequest) String() string { … } func (*LeaderRequest) ProtoMessage() { … } func (*LeaderRequest) Descriptor() ([]byte, []int) { … } func (m *LeaderRequest) XXX_Unmarshal(b []byte) error { … } func (m *LeaderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { … } func (m *LeaderRequest) XXX_Merge(src proto.Message) { … } func (m *LeaderRequest) XXX_Size() int { … } func (m *LeaderRequest) XXX_DiscardUnknown() { … } var xxx_messageInfo_LeaderRequest … func (m *LeaderRequest) GetName() []byte { … } type LeaderResponse … func (m *LeaderResponse) Reset() { … } func (m *LeaderResponse) String() string { … } func (*LeaderResponse) ProtoMessage() { … } func (*LeaderResponse) Descriptor() ([]byte, []int) { … } func (m *LeaderResponse) XXX_Unmarshal(b []byte) error { … } func (m *LeaderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { … } func (m *LeaderResponse) XXX_Merge(src proto.Message) { … } func (m *LeaderResponse) XXX_Size() int { … } func (m *LeaderResponse) XXX_DiscardUnknown() { … } var xxx_messageInfo_LeaderResponse … func (m *LeaderResponse) GetHeader() *etcdserverpb.ResponseHeader { … } func (m *LeaderResponse) GetKv() *mvccpb.KeyValue { … } type ResignRequest … func (m *ResignRequest) Reset() { … } func (m *ResignRequest) String() string { … } func (*ResignRequest) ProtoMessage() { … } func (*ResignRequest) Descriptor() ([]byte, []int) { … } func (m *ResignRequest) XXX_Unmarshal(b []byte) error { … } func (m *ResignRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { … } func (m *ResignRequest) XXX_Merge(src proto.Message) { … } func (m *ResignRequest) XXX_Size() int { … } func (m *ResignRequest) XXX_DiscardUnknown() { … } var xxx_messageInfo_ResignRequest … func (m *ResignRequest) GetLeader() *LeaderKey { … } type ResignResponse … func (m *ResignResponse) Reset() { … } func (m *ResignResponse) String() string { … } func (*ResignResponse) ProtoMessage() { … } func (*ResignResponse) Descriptor() ([]byte, []int) { … } func (m *ResignResponse) XXX_Unmarshal(b []byte) error { … } func (m *ResignResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { … } func (m *ResignResponse) XXX_Merge(src proto.Message) { … } func (m *ResignResponse) XXX_Size() int { … } func (m *ResignResponse) XXX_DiscardUnknown() { … } var xxx_messageInfo_ResignResponse … func (m *ResignResponse) GetHeader() *etcdserverpb.ResponseHeader { … } type ProclaimRequest … func (m *ProclaimRequest) Reset() { … } func (m *ProclaimRequest) String() string { … } func (*ProclaimRequest) ProtoMessage() { … } func (*ProclaimRequest) Descriptor() ([]byte, []int) { … } func (m *ProclaimRequest) XXX_Unmarshal(b []byte) error { … } func (m *ProclaimRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { … } func (m *ProclaimRequest) XXX_Merge(src proto.Message) { … } func (m *ProclaimRequest) XXX_Size() int { … } func (m *ProclaimRequest) XXX_DiscardUnknown() { … } var xxx_messageInfo_ProclaimRequest … func (m *ProclaimRequest) GetLeader() *LeaderKey { … } func (m *ProclaimRequest) GetValue() []byte { … } type ProclaimResponse … func (m *ProclaimResponse) Reset() { … } func (m *ProclaimResponse) String() string { … } func (*ProclaimResponse) ProtoMessage() { … } func (*ProclaimResponse) Descriptor() ([]byte, []int) { … } func (m *ProclaimResponse) XXX_Unmarshal(b []byte) error { … } func (m *ProclaimResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { … } func (m *ProclaimResponse) XXX_Merge(src proto.Message) { … } func (m *ProclaimResponse) XXX_Size() int { … } func (m *ProclaimResponse) XXX_DiscardUnknown() { … } var xxx_messageInfo_ProclaimResponse … func (m *ProclaimResponse) GetHeader() *etcdserverpb.ResponseHeader { … } func init() { … } func init() { … } var fileDescriptor_c9b1f26cc432a035 … var _ … var _ … const _ … type ElectionClient … type electionClient … func NewElectionClient(cc *grpc.ClientConn) ElectionClient { … } func (c *electionClient) Campaign(ctx context.Context, in *CampaignRequest, opts ...grpc.CallOption) (*CampaignResponse, error) { … } func (c *electionClient) Proclaim(ctx context.Context, in *ProclaimRequest, opts ...grpc.CallOption) (*ProclaimResponse, error) { … } func (c *electionClient) Leader(ctx context.Context, in *LeaderRequest, opts ...grpc.CallOption) (*LeaderResponse, error) { … } func (c *electionClient) Observe(ctx context.Context, in *LeaderRequest, opts ...grpc.CallOption) (Election_ObserveClient, error) { … } type Election_ObserveClient … type electionObserveClient … func (x *electionObserveClient) Recv() (*LeaderResponse, error) { … } func (c *electionClient) Resign(ctx context.Context, in *ResignRequest, opts ...grpc.CallOption) (*ResignResponse, error) { … } type ElectionServer … type UnimplementedElectionServer … func (*UnimplementedElectionServer) Campaign(ctx context.Context, req *CampaignRequest) (*CampaignResponse, error) { … } func (*UnimplementedElectionServer) Proclaim(ctx context.Context, req *ProclaimRequest) (*ProclaimResponse, error) { … } func (*UnimplementedElectionServer) Leader(ctx context.Context, req *LeaderRequest) (*LeaderResponse, error) { … } func (*UnimplementedElectionServer) Observe(req *LeaderRequest, srv Election_ObserveServer) error { … } func (*UnimplementedElectionServer) Resign(ctx context.Context, req *ResignRequest) (*ResignResponse, error) { … } func RegisterElectionServer(s *grpc.Server, srv ElectionServer) { … } func _Election_Campaign_Handler(srv interface{ … } func _Election_Proclaim_Handler(srv interface{ … } func _Election_Leader_Handler(srv interface{ … } func _Election_Observe_Handler(srv interface{ … } type Election_ObserveServer … type electionObserveServer … func (x *electionObserveServer) Send(m *LeaderResponse) error { … } func _Election_Resign_Handler(srv interface{ … } var _Election_serviceDesc … func (m *CampaignRequest) Marshal() (dAtA []byte, err error) { … } func (m *CampaignRequest) MarshalTo(dAtA []byte) (int, error) { … } func (m *CampaignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { … } func (m *CampaignResponse) Marshal() (dAtA []byte, err error) { … } func (m *CampaignResponse) MarshalTo(dAtA []byte) (int, error) { … } func (m *CampaignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { … } func (m *LeaderKey) Marshal() (dAtA []byte, err error) { … } func (m *LeaderKey) MarshalTo(dAtA []byte) (int, error) { … } func (m *LeaderKey) MarshalToSizedBuffer(dAtA []byte) (int, error) { … } func (m *LeaderRequest) Marshal() (dAtA []byte, err error) { … } func (m *LeaderRequest) MarshalTo(dAtA []byte) (int, error) { … } func (m *LeaderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { … } func (m *LeaderResponse) Marshal() (dAtA []byte, err error) { … } func (m *LeaderResponse) MarshalTo(dAtA []byte) (int, error) { … } func (m *LeaderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { … } func (m *ResignRequest) Marshal() (dAtA []byte, err error) { … } func (m *ResignRequest) MarshalTo(dAtA []byte) (int, error) { … } func (m *ResignRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { … } func (m *ResignResponse) Marshal() (dAtA []byte, err error) { … } func (m *ResignResponse) MarshalTo(dAtA []byte) (int, error) { … } func (m *ResignResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { … } func (m *ProclaimRequest) Marshal() (dAtA []byte, err error) { … } func (m *ProclaimRequest) MarshalTo(dAtA []byte) (int, error) { … } func (m *ProclaimRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { … } func (m *ProclaimResponse) Marshal() (dAtA []byte, err error) { … } func (m *ProclaimResponse) MarshalTo(dAtA []byte) (int, error) { … } func (m *ProclaimResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { … } func encodeVarintV3Election(dAtA []byte, offset int, v uint64) int { … } func (m *CampaignRequest) Size() (n int) { … } func (m *CampaignResponse) Size() (n int) { … } func (m *LeaderKey) Size() (n int) { … } func (m *LeaderRequest) Size() (n int) { … } func (m *LeaderResponse) Size() (n int) { … } func (m *ResignRequest) Size() (n int) { … } func (m *ResignResponse) Size() (n int) { … } func (m *ProclaimRequest) Size() (n int) { … } func (m *ProclaimResponse) Size() (n int) { … } func sovV3Election(x uint64) (n int) { … } func sozV3Election(x uint64) (n int) { … } func (m *CampaignRequest) Unmarshal(dAtA []byte) error { … } func (m *CampaignResponse) Unmarshal(dAtA []byte) error { … } func (m *LeaderKey) Unmarshal(dAtA []byte) error { … } func (m *LeaderRequest) Unmarshal(dAtA []byte) error { … } func (m *LeaderResponse) Unmarshal(dAtA []byte) error { … } func (m *ResignRequest) Unmarshal(dAtA []byte) error { … } func (m *ResignResponse) Unmarshal(dAtA []byte) error { … } func (m *ProclaimRequest) Unmarshal(dAtA []byte) error { … } func (m *ProclaimResponse) Unmarshal(dAtA []byte) error { … } func skipV3Election(dAtA []byte) (n int, err error) { … } var ErrInvalidLengthV3Election … var ErrIntOverflowV3Election … var ErrUnexpectedEndOfGroupV3Election …