Documentation ¶
Index ¶
- Variables
- func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
- type AddNonvoterRequest
- func (*AddNonvoterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddNonvoterRequest) GetAddress() string
- func (x *AddNonvoterRequest) GetId() string
- func (x *AddNonvoterRequest) GetPreviousIndex() uint64
- func (*AddNonvoterRequest) ProtoMessage()
- func (x *AddNonvoterRequest) ProtoReflect() protoreflect.Message
- func (x *AddNonvoterRequest) Reset()
- func (x *AddNonvoterRequest) String() string
- func (m *AddNonvoterRequest) Validate() error
- func (m *AddNonvoterRequest) ValidateAll() error
- type AddNonvoterRequestMultiError
- type AddNonvoterRequestValidationError
- func (e AddNonvoterRequestValidationError) Cause() error
- func (e AddNonvoterRequestValidationError) Error() string
- func (e AddNonvoterRequestValidationError) ErrorName() string
- func (e AddNonvoterRequestValidationError) Field() string
- func (e AddNonvoterRequestValidationError) Key() bool
- func (e AddNonvoterRequestValidationError) Reason() string
- type AddVoterRequest
- func (*AddVoterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddVoterRequest) GetAddress() string
- func (x *AddVoterRequest) GetId() string
- func (x *AddVoterRequest) GetPreviousIndex() uint64
- func (*AddVoterRequest) ProtoMessage()
- func (x *AddVoterRequest) ProtoReflect() protoreflect.Message
- func (x *AddVoterRequest) Reset()
- func (x *AddVoterRequest) String() string
- func (m *AddVoterRequest) Validate() error
- func (m *AddVoterRequest) ValidateAll() error
- type AddVoterRequestMultiError
- type AddVoterRequestValidationError
- func (e AddVoterRequestValidationError) Cause() error
- func (e AddVoterRequestValidationError) Error() string
- func (e AddVoterRequestValidationError) ErrorName() string
- func (e AddVoterRequestValidationError) Field() string
- func (e AddVoterRequestValidationError) Key() bool
- func (e AddVoterRequestValidationError) Reason() string
- type AdminServiceClient
- type AdminServiceServer
- type AppliedIndexRequest
- func (*AppliedIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (*AppliedIndexRequest) ProtoMessage()
- func (x *AppliedIndexRequest) ProtoReflect() protoreflect.Message
- func (x *AppliedIndexRequest) Reset()
- func (x *AppliedIndexRequest) String() string
- func (m *AppliedIndexRequest) Validate() error
- func (m *AppliedIndexRequest) ValidateAll() error
- type AppliedIndexRequestMultiError
- type AppliedIndexRequestValidationError
- func (e AppliedIndexRequestValidationError) Cause() error
- func (e AppliedIndexRequestValidationError) Error() string
- func (e AppliedIndexRequestValidationError) ErrorName() string
- func (e AppliedIndexRequestValidationError) Field() string
- func (e AppliedIndexRequestValidationError) Key() bool
- func (e AppliedIndexRequestValidationError) Reason() string
- type AppliedIndexResponse
- func (*AppliedIndexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AppliedIndexResponse) GetIndex() uint64
- func (*AppliedIndexResponse) ProtoMessage()
- func (x *AppliedIndexResponse) ProtoReflect() protoreflect.Message
- func (x *AppliedIndexResponse) Reset()
- func (x *AppliedIndexResponse) String() string
- func (m *AppliedIndexResponse) Validate() error
- func (m *AppliedIndexResponse) ValidateAll() error
- type AppliedIndexResponseMultiError
- type AppliedIndexResponseValidationError
- func (e AppliedIndexResponseValidationError) Cause() error
- func (e AppliedIndexResponseValidationError) Error() string
- func (e AppliedIndexResponseValidationError) ErrorName() string
- func (e AppliedIndexResponseValidationError) Field() string
- func (e AppliedIndexResponseValidationError) Key() bool
- func (e AppliedIndexResponseValidationError) Reason() string
- type AwaitResponse
- func (*AwaitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AwaitResponse) GetError() string
- func (x *AwaitResponse) GetIndex() uint64
- func (*AwaitResponse) ProtoMessage()
- func (x *AwaitResponse) ProtoReflect() protoreflect.Message
- func (x *AwaitResponse) Reset()
- func (x *AwaitResponse) String() string
- func (m *AwaitResponse) Validate() error
- func (m *AwaitResponse) ValidateAll() error
- type AwaitResponseMultiError
- type AwaitResponseValidationError
- func (e AwaitResponseValidationError) Cause() error
- func (e AwaitResponseValidationError) Error() string
- func (e AwaitResponseValidationError) ErrorName() string
- func (e AwaitResponseValidationError) Field() string
- func (e AwaitResponseValidationError) Key() bool
- func (e AwaitResponseValidationError) Reason() string
- type DemoteVoterRequest
- func (*DemoteVoterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DemoteVoterRequest) GetId() string
- func (x *DemoteVoterRequest) GetPreviousIndex() uint64
- func (*DemoteVoterRequest) ProtoMessage()
- func (x *DemoteVoterRequest) ProtoReflect() protoreflect.Message
- func (x *DemoteVoterRequest) Reset()
- func (x *DemoteVoterRequest) String() string
- func (m *DemoteVoterRequest) Validate() error
- func (m *DemoteVoterRequest) ValidateAll() error
- type DemoteVoterRequestMultiError
- type DemoteVoterRequestValidationError
- func (e DemoteVoterRequestValidationError) Cause() error
- func (e DemoteVoterRequestValidationError) Error() string
- func (e DemoteVoterRequestValidationError) ErrorName() string
- func (e DemoteVoterRequestValidationError) Field() string
- func (e DemoteVoterRequestValidationError) Key() bool
- func (e DemoteVoterRequestValidationError) Reason() string
- type ForgetResponse
- func (*ForgetResponse) Descriptor() ([]byte, []int)deprecated
- func (*ForgetResponse) ProtoMessage()
- func (x *ForgetResponse) ProtoReflect() protoreflect.Message
- func (x *ForgetResponse) Reset()
- func (x *ForgetResponse) String() string
- func (m *ForgetResponse) Validate() error
- func (m *ForgetResponse) ValidateAll() error
- type ForgetResponseMultiError
- type ForgetResponseValidationError
- func (e ForgetResponseValidationError) Cause() error
- func (e ForgetResponseValidationError) Error() string
- func (e ForgetResponseValidationError) ErrorName() string
- func (e ForgetResponseValidationError) Field() string
- func (e ForgetResponseValidationError) Key() bool
- func (e ForgetResponseValidationError) Reason() string
- type Future
- func (*Future) Descriptor() ([]byte, []int)deprecated
- func (x *Future) GetOperationToken() string
- func (*Future) ProtoMessage()
- func (x *Future) ProtoReflect() protoreflect.Message
- func (x *Future) Reset()
- func (x *Future) String() string
- func (m *Future) Validate() error
- func (m *Future) ValidateAll() error
- type FutureMultiError
- type FutureValidationError
- type GetConfigurationRequest
- func (*GetConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetConfigurationRequest) ProtoMessage()
- func (x *GetConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *GetConfigurationRequest) Reset()
- func (x *GetConfigurationRequest) String() string
- func (m *GetConfigurationRequest) Validate() error
- func (m *GetConfigurationRequest) ValidateAll() error
- type GetConfigurationRequestMultiError
- type GetConfigurationRequestValidationError
- func (e GetConfigurationRequestValidationError) Cause() error
- func (e GetConfigurationRequestValidationError) Error() string
- func (e GetConfigurationRequestValidationError) ErrorName() string
- func (e GetConfigurationRequestValidationError) Field() string
- func (e GetConfigurationRequestValidationError) Key() bool
- func (e GetConfigurationRequestValidationError) Reason() string
- type GetConfigurationResponse
- func (*GetConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigurationResponse) GetServers() []*GetConfigurationResponse_Server
- func (*GetConfigurationResponse) ProtoMessage()
- func (x *GetConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *GetConfigurationResponse) Reset()
- func (x *GetConfigurationResponse) String() string
- func (m *GetConfigurationResponse) Validate() error
- func (m *GetConfigurationResponse) ValidateAll() error
- type GetConfigurationResponseMultiError
- type GetConfigurationResponseValidationError
- func (e GetConfigurationResponseValidationError) Cause() error
- func (e GetConfigurationResponseValidationError) Error() string
- func (e GetConfigurationResponseValidationError) ErrorName() string
- func (e GetConfigurationResponseValidationError) Field() string
- func (e GetConfigurationResponseValidationError) Key() bool
- func (e GetConfigurationResponseValidationError) Reason() string
- type GetConfigurationResponse_Server
- func (*GetConfigurationResponse_Server) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigurationResponse_Server) GetAddress() string
- func (x *GetConfigurationResponse_Server) GetId() string
- func (x *GetConfigurationResponse_Server) GetSuffrage() GetConfigurationResponse_Server_Suffrage
- func (*GetConfigurationResponse_Server) ProtoMessage()
- func (x *GetConfigurationResponse_Server) ProtoReflect() protoreflect.Message
- func (x *GetConfigurationResponse_Server) Reset()
- func (x *GetConfigurationResponse_Server) String() string
- func (m *GetConfigurationResponse_Server) Validate() error
- func (m *GetConfigurationResponse_Server) ValidateAll() error
- type GetConfigurationResponse_ServerMultiError
- type GetConfigurationResponse_ServerValidationError
- func (e GetConfigurationResponse_ServerValidationError) Cause() error
- func (e GetConfigurationResponse_ServerValidationError) Error() string
- func (e GetConfigurationResponse_ServerValidationError) ErrorName() string
- func (e GetConfigurationResponse_ServerValidationError) Field() string
- func (e GetConfigurationResponse_ServerValidationError) Key() bool
- func (e GetConfigurationResponse_ServerValidationError) Reason() string
- type GetConfigurationResponse_Server_Suffrage
- func (GetConfigurationResponse_Server_Suffrage) Descriptor() protoreflect.EnumDescriptor
- func (x GetConfigurationResponse_Server_Suffrage) Enum() *GetConfigurationResponse_Server_Suffrage
- func (GetConfigurationResponse_Server_Suffrage) EnumDescriptor() ([]byte, []int)deprecated
- func (x GetConfigurationResponse_Server_Suffrage) Number() protoreflect.EnumNumber
- func (x GetConfigurationResponse_Server_Suffrage) String() string
- func (GetConfigurationResponse_Server_Suffrage) Type() protoreflect.EnumType
- type JoinRequest
- func (*JoinRequest) Descriptor() ([]byte, []int)deprecated
- func (x *JoinRequest) GetAddress() string
- func (*JoinRequest) ProtoMessage()
- func (x *JoinRequest) ProtoReflect() protoreflect.Message
- func (x *JoinRequest) Reset()
- func (x *JoinRequest) String() string
- func (m *JoinRequest) Validate() error
- func (m *JoinRequest) ValidateAll() error
- type JoinRequestMultiError
- type JoinRequestValidationError
- func (e JoinRequestValidationError) Cause() error
- func (e JoinRequestValidationError) Error() string
- func (e JoinRequestValidationError) ErrorName() string
- func (e JoinRequestValidationError) Field() string
- func (e JoinRequestValidationError) Key() bool
- func (e JoinRequestValidationError) Reason() string
- type LastContactRequest
- func (*LastContactRequest) Descriptor() ([]byte, []int)deprecated
- func (*LastContactRequest) ProtoMessage()
- func (x *LastContactRequest) ProtoReflect() protoreflect.Message
- func (x *LastContactRequest) Reset()
- func (x *LastContactRequest) String() string
- func (m *LastContactRequest) Validate() error
- func (m *LastContactRequest) ValidateAll() error
- type LastContactRequestMultiError
- type LastContactRequestValidationError
- func (e LastContactRequestValidationError) Cause() error
- func (e LastContactRequestValidationError) Error() string
- func (e LastContactRequestValidationError) ErrorName() string
- func (e LastContactRequestValidationError) Field() string
- func (e LastContactRequestValidationError) Key() bool
- func (e LastContactRequestValidationError) Reason() string
- type LastContactResponse
- func (*LastContactResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LastContactResponse) GetUnixNano() int64
- func (*LastContactResponse) ProtoMessage()
- func (x *LastContactResponse) ProtoReflect() protoreflect.Message
- func (x *LastContactResponse) Reset()
- func (x *LastContactResponse) String() string
- func (m *LastContactResponse) Validate() error
- func (m *LastContactResponse) ValidateAll() error
- type LastContactResponseMultiError
- type LastContactResponseValidationError
- func (e LastContactResponseValidationError) Cause() error
- func (e LastContactResponseValidationError) Error() string
- func (e LastContactResponseValidationError) ErrorName() string
- func (e LastContactResponseValidationError) Field() string
- func (e LastContactResponseValidationError) Key() bool
- func (e LastContactResponseValidationError) Reason() string
- type LastIndexRequest
- func (*LastIndexRequest) Descriptor() ([]byte, []int)deprecated
- func (*LastIndexRequest) ProtoMessage()
- func (x *LastIndexRequest) ProtoReflect() protoreflect.Message
- func (x *LastIndexRequest) Reset()
- func (x *LastIndexRequest) String() string
- func (m *LastIndexRequest) Validate() error
- func (m *LastIndexRequest) ValidateAll() error
- type LastIndexRequestMultiError
- type LastIndexRequestValidationError
- func (e LastIndexRequestValidationError) Cause() error
- func (e LastIndexRequestValidationError) Error() string
- func (e LastIndexRequestValidationError) ErrorName() string
- func (e LastIndexRequestValidationError) Field() string
- func (e LastIndexRequestValidationError) Key() bool
- func (e LastIndexRequestValidationError) Reason() string
- type LastIndexResponse
- func (*LastIndexResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LastIndexResponse) GetIndex() uint64
- func (*LastIndexResponse) ProtoMessage()
- func (x *LastIndexResponse) ProtoReflect() protoreflect.Message
- func (x *LastIndexResponse) Reset()
- func (x *LastIndexResponse) String() string
- func (m *LastIndexResponse) Validate() error
- func (m *LastIndexResponse) ValidateAll() error
- type LastIndexResponseMultiError
- type LastIndexResponseValidationError
- func (e LastIndexResponseValidationError) Cause() error
- func (e LastIndexResponseValidationError) Error() string
- func (e LastIndexResponseValidationError) ErrorName() string
- func (e LastIndexResponseValidationError) Field() string
- func (e LastIndexResponseValidationError) Key() bool
- func (e LastIndexResponseValidationError) Reason() string
- type LeaderRequest
- func (*LeaderRequest) Descriptor() ([]byte, []int)deprecated
- func (*LeaderRequest) ProtoMessage()
- func (x *LeaderRequest) ProtoReflect() protoreflect.Message
- func (x *LeaderRequest) Reset()
- func (x *LeaderRequest) String() string
- func (m *LeaderRequest) Validate() error
- func (m *LeaderRequest) ValidateAll() error
- type LeaderRequestMultiError
- type LeaderRequestValidationError
- func (e LeaderRequestValidationError) Cause() error
- func (e LeaderRequestValidationError) Error() string
- func (e LeaderRequestValidationError) ErrorName() string
- func (e LeaderRequestValidationError) Field() string
- func (e LeaderRequestValidationError) Key() bool
- func (e LeaderRequestValidationError) Reason() string
- type LeaderResponse
- func (*LeaderResponse) Descriptor() ([]byte, []int)deprecated
- func (x *LeaderResponse) GetAddress() string
- func (x *LeaderResponse) GetId() string
- func (*LeaderResponse) ProtoMessage()
- func (x *LeaderResponse) ProtoReflect() protoreflect.Message
- func (x *LeaderResponse) Reset()
- func (x *LeaderResponse) String() string
- func (m *LeaderResponse) Validate() error
- func (m *LeaderResponse) ValidateAll() error
- type LeaderResponseMultiError
- type LeaderResponseValidationError
- func (e LeaderResponseValidationError) Cause() error
- func (e LeaderResponseValidationError) Error() string
- func (e LeaderResponseValidationError) ErrorName() string
- func (e LeaderResponseValidationError) Field() string
- func (e LeaderResponseValidationError) Key() bool
- func (e LeaderResponseValidationError) Reason() string
- type LeadershipTransferRequest
- func (*LeadershipTransferRequest) Descriptor() ([]byte, []int)deprecated
- func (*LeadershipTransferRequest) ProtoMessage()
- func (x *LeadershipTransferRequest) ProtoReflect() protoreflect.Message
- func (x *LeadershipTransferRequest) Reset()
- func (x *LeadershipTransferRequest) String() string
- func (m *LeadershipTransferRequest) Validate() error
- func (m *LeadershipTransferRequest) ValidateAll() error
- type LeadershipTransferRequestMultiError
- type LeadershipTransferRequestValidationError
- func (e LeadershipTransferRequestValidationError) Cause() error
- func (e LeadershipTransferRequestValidationError) Error() string
- func (e LeadershipTransferRequestValidationError) ErrorName() string
- func (e LeadershipTransferRequestValidationError) Field() string
- func (e LeadershipTransferRequestValidationError) Key() bool
- func (e LeadershipTransferRequestValidationError) Reason() string
- type LeadershipTransferToServerRequest
- func (*LeadershipTransferToServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LeadershipTransferToServerRequest) GetAddress() string
- func (x *LeadershipTransferToServerRequest) GetId() string
- func (*LeadershipTransferToServerRequest) ProtoMessage()
- func (x *LeadershipTransferToServerRequest) ProtoReflect() protoreflect.Message
- func (x *LeadershipTransferToServerRequest) Reset()
- func (x *LeadershipTransferToServerRequest) String() string
- func (m *LeadershipTransferToServerRequest) Validate() error
- func (m *LeadershipTransferToServerRequest) ValidateAll() error
- type LeadershipTransferToServerRequestMultiError
- type LeadershipTransferToServerRequestValidationError
- func (e LeadershipTransferToServerRequestValidationError) Cause() error
- func (e LeadershipTransferToServerRequestValidationError) Error() string
- func (e LeadershipTransferToServerRequestValidationError) ErrorName() string
- func (e LeadershipTransferToServerRequestValidationError) Field() string
- func (e LeadershipTransferToServerRequestValidationError) Key() bool
- func (e LeadershipTransferToServerRequestValidationError) Reason() string
- type RemoveServerRequest
- func (*RemoveServerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveServerRequest) GetId() string
- func (x *RemoveServerRequest) GetPreviousIndex() uint64
- func (*RemoveServerRequest) ProtoMessage()
- func (x *RemoveServerRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveServerRequest) Reset()
- func (x *RemoveServerRequest) String() string
- func (m *RemoveServerRequest) Validate() error
- func (m *RemoveServerRequest) ValidateAll() error
- type RemoveServerRequestMultiError
- type RemoveServerRequestValidationError
- func (e RemoveServerRequestValidationError) Cause() error
- func (e RemoveServerRequestValidationError) Error() string
- func (e RemoveServerRequestValidationError) ErrorName() string
- func (e RemoveServerRequestValidationError) Field() string
- func (e RemoveServerRequestValidationError) Key() bool
- func (e RemoveServerRequestValidationError) Reason() string
- type ShutdownRequest
- func (*ShutdownRequest) Descriptor() ([]byte, []int)deprecated
- func (*ShutdownRequest) ProtoMessage()
- func (x *ShutdownRequest) ProtoReflect() protoreflect.Message
- func (x *ShutdownRequest) Reset()
- func (x *ShutdownRequest) String() string
- func (m *ShutdownRequest) Validate() error
- func (m *ShutdownRequest) ValidateAll() error
- type ShutdownRequestMultiError
- type ShutdownRequestValidationError
- func (e ShutdownRequestValidationError) Cause() error
- func (e ShutdownRequestValidationError) Error() string
- func (e ShutdownRequestValidationError) ErrorName() string
- func (e ShutdownRequestValidationError) Field() string
- func (e ShutdownRequestValidationError) Key() bool
- func (e ShutdownRequestValidationError) Reason() string
- type SnapshotRequest
- func (*SnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (*SnapshotRequest) ProtoMessage()
- func (x *SnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *SnapshotRequest) Reset()
- func (x *SnapshotRequest) String() string
- func (m *SnapshotRequest) Validate() error
- func (m *SnapshotRequest) ValidateAll() error
- type SnapshotRequestMultiError
- type SnapshotRequestValidationError
- func (e SnapshotRequestValidationError) Cause() error
- func (e SnapshotRequestValidationError) Error() string
- func (e SnapshotRequestValidationError) ErrorName() string
- func (e SnapshotRequestValidationError) Field() string
- func (e SnapshotRequestValidationError) Key() bool
- func (e SnapshotRequestValidationError) Reason() string
- type StateRequest
- func (*StateRequest) Descriptor() ([]byte, []int)deprecated
- func (*StateRequest) ProtoMessage()
- func (x *StateRequest) ProtoReflect() protoreflect.Message
- func (x *StateRequest) Reset()
- func (x *StateRequest) String() string
- func (m *StateRequest) Validate() error
- func (m *StateRequest) ValidateAll() error
- type StateRequestMultiError
- type StateRequestValidationError
- func (e StateRequestValidationError) Cause() error
- func (e StateRequestValidationError) Error() string
- func (e StateRequestValidationError) ErrorName() string
- func (e StateRequestValidationError) Field() string
- func (e StateRequestValidationError) Key() bool
- func (e StateRequestValidationError) Reason() string
- type StateResponse
- func (*StateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StateResponse) GetState() StateResponse_State
- func (*StateResponse) ProtoMessage()
- func (x *StateResponse) ProtoReflect() protoreflect.Message
- func (x *StateResponse) Reset()
- func (x *StateResponse) String() string
- func (m *StateResponse) Validate() error
- func (m *StateResponse) ValidateAll() error
- type StateResponseMultiError
- type StateResponseValidationError
- func (e StateResponseValidationError) Cause() error
- func (e StateResponseValidationError) Error() string
- func (e StateResponseValidationError) ErrorName() string
- func (e StateResponseValidationError) Field() string
- func (e StateResponseValidationError) Key() bool
- func (e StateResponseValidationError) Reason() string
- type StateResponse_State
- func (StateResponse_State) Descriptor() protoreflect.EnumDescriptor
- func (x StateResponse_State) Enum() *StateResponse_State
- func (StateResponse_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x StateResponse_State) Number() protoreflect.EnumNumber
- func (x StateResponse_State) String() string
- func (StateResponse_State) Type() protoreflect.EnumType
- type UnimplementedAdminServiceServer
- func (UnimplementedAdminServiceServer) AddNonvoter(context.Context, *AddNonvoterRequest) (*Future, error)
- func (UnimplementedAdminServiceServer) AddVoter(context.Context, *AddVoterRequest) (*Future, error)
- func (UnimplementedAdminServiceServer) AppliedIndex(context.Context, *AppliedIndexRequest) (*AppliedIndexResponse, error)
- func (UnimplementedAdminServiceServer) Await(context.Context, *Future) (*AwaitResponse, error)
- func (UnimplementedAdminServiceServer) Bootstrap(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
- func (UnimplementedAdminServiceServer) DemoteVoter(context.Context, *DemoteVoterRequest) (*Future, error)
- func (UnimplementedAdminServiceServer) Forget(context.Context, *Future) (*ForgetResponse, error)
- func (UnimplementedAdminServiceServer) GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
- func (UnimplementedAdminServiceServer) Join(context.Context, *JoinRequest) (*emptypb.Empty, error)
- func (UnimplementedAdminServiceServer) LastContact(context.Context, *LastContactRequest) (*LastContactResponse, error)
- func (UnimplementedAdminServiceServer) LastIndex(context.Context, *LastIndexRequest) (*LastIndexResponse, error)
- func (UnimplementedAdminServiceServer) Leader(context.Context, *LeaderRequest) (*LeaderResponse, error)
- func (UnimplementedAdminServiceServer) LeadershipTransfer(context.Context, *LeadershipTransferRequest) (*Future, error)
- func (UnimplementedAdminServiceServer) LeadershipTransferToServer(context.Context, *LeadershipTransferToServerRequest) (*Future, error)
- func (UnimplementedAdminServiceServer) RemoveServer(context.Context, *RemoveServerRequest) (*Future, error)
- func (UnimplementedAdminServiceServer) Shutdown(context.Context, *ShutdownRequest) (*Future, error)
- func (UnimplementedAdminServiceServer) Snapshot(context.Context, *SnapshotRequest) (*Future, error)
- func (UnimplementedAdminServiceServer) State(context.Context, *StateRequest) (*StateResponse, error)
- func (UnimplementedAdminServiceServer) VerifyLeader(context.Context, *VerifyLeaderRequest) (*Future, error)
- type UnsafeAdminServiceServer
- type VerifyLeaderRequest
- func (*VerifyLeaderRequest) Descriptor() ([]byte, []int)deprecated
- func (*VerifyLeaderRequest) ProtoMessage()
- func (x *VerifyLeaderRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyLeaderRequest) Reset()
- func (x *VerifyLeaderRequest) String() string
- func (m *VerifyLeaderRequest) Validate() error
- func (m *VerifyLeaderRequest) ValidateAll() error
- type VerifyLeaderRequestMultiError
- type VerifyLeaderRequestValidationError
- func (e VerifyLeaderRequestValidationError) Cause() error
- func (e VerifyLeaderRequestValidationError) Error() string
- func (e VerifyLeaderRequestValidationError) ErrorName() string
- func (e VerifyLeaderRequestValidationError) Field() string
- func (e VerifyLeaderRequestValidationError) Key() bool
- func (e VerifyLeaderRequestValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( GetConfigurationResponse_Server_Suffrage_name = map[int32]string{ 0: "VOTER", 1: "NONVOTER", 2: "STAGING", } GetConfigurationResponse_Server_Suffrage_value = map[string]int32{ "VOTER": 0, "NONVOTER": 1, "STAGING": 2, } )
Enum value maps for GetConfigurationResponse_Server_Suffrage.
var ( StateResponse_State_name = map[int32]string{ 0: "FOLLOWER", 1: "CANDIDATE", 2: "LEADER", 3: "SHUTDOWN", } StateResponse_State_value = map[string]int32{ "FOLLOWER": 0, "CANDIDATE": 1, "LEADER": 2, "SHUTDOWN": 3, } )
Enum value maps for StateResponse_State.
var AdminService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "admin.v1.AdminService", HandlerType: (*AdminServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddNonvoter", Handler: _AdminService_AddNonvoter_Handler, }, { MethodName: "AddVoter", Handler: _AdminService_AddVoter_Handler, }, { MethodName: "AppliedIndex", Handler: _AdminService_AppliedIndex_Handler, }, { MethodName: "DemoteVoter", Handler: _AdminService_DemoteVoter_Handler, }, { MethodName: "GetConfiguration", Handler: _AdminService_GetConfiguration_Handler, }, { MethodName: "LastContact", Handler: _AdminService_LastContact_Handler, }, { MethodName: "LastIndex", Handler: _AdminService_LastIndex_Handler, }, { MethodName: "Leader", Handler: _AdminService_Leader_Handler, }, { MethodName: "LeadershipTransfer", Handler: _AdminService_LeadershipTransfer_Handler, }, { MethodName: "LeadershipTransferToServer", Handler: _AdminService_LeadershipTransferToServer_Handler, }, { MethodName: "RemoveServer", Handler: _AdminService_RemoveServer_Handler, }, { MethodName: "Shutdown", Handler: _AdminService_Shutdown_Handler, }, { MethodName: "Snapshot", Handler: _AdminService_Snapshot_Handler, }, { MethodName: "State", Handler: _AdminService_State_Handler, }, { MethodName: "VerifyLeader", Handler: _AdminService_VerifyLeader_Handler, }, { MethodName: "Join", Handler: _AdminService_Join_Handler, }, { MethodName: "Await", Handler: _AdminService_Await_Handler, }, { MethodName: "Forget", Handler: _AdminService_Forget_Handler, }, { MethodName: "Bootstrap", Handler: _AdminService_Bootstrap_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/admin/v1/admin.proto", }
AdminService_ServiceDesc is the grpc.ServiceDesc for AdminService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_proto_admin_v1_admin_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAdminServiceServer ¶
func RegisterAdminServiceServer(s grpc.ServiceRegistrar, srv AdminServiceServer)
Types ¶
type AddNonvoterRequest ¶
type AddNonvoterRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` PreviousIndex uint64 `protobuf:"varint,3,opt,name=previous_index,json=previousIndex,proto3" json:"previous_index,omitempty"` // contains filtered or unexported fields }
func (*AddNonvoterRequest) Descriptor
deprecated
func (*AddNonvoterRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddNonvoterRequest.ProtoReflect.Descriptor instead.
func (*AddNonvoterRequest) GetAddress ¶
func (x *AddNonvoterRequest) GetAddress() string
func (*AddNonvoterRequest) GetId ¶
func (x *AddNonvoterRequest) GetId() string
func (*AddNonvoterRequest) GetPreviousIndex ¶
func (x *AddNonvoterRequest) GetPreviousIndex() uint64
func (*AddNonvoterRequest) ProtoMessage ¶
func (*AddNonvoterRequest) ProtoMessage()
func (*AddNonvoterRequest) ProtoReflect ¶
func (x *AddNonvoterRequest) ProtoReflect() protoreflect.Message
func (*AddNonvoterRequest) Reset ¶
func (x *AddNonvoterRequest) Reset()
func (*AddNonvoterRequest) String ¶
func (x *AddNonvoterRequest) String() string
func (*AddNonvoterRequest) Validate ¶
func (m *AddNonvoterRequest) Validate() error
Validate checks the field values on AddNonvoterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddNonvoterRequest) ValidateAll ¶
func (m *AddNonvoterRequest) ValidateAll() error
ValidateAll checks the field values on AddNonvoterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddNonvoterRequestMultiError, or nil if none found.
type AddNonvoterRequestMultiError ¶
type AddNonvoterRequestMultiError []error
AddNonvoterRequestMultiError is an error wrapping multiple validation errors returned by AddNonvoterRequest.ValidateAll() if the designated constraints aren't met.
func (AddNonvoterRequestMultiError) AllErrors ¶
func (m AddNonvoterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddNonvoterRequestMultiError) Error ¶
func (m AddNonvoterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddNonvoterRequestValidationError ¶
type AddNonvoterRequestValidationError struct {
// contains filtered or unexported fields
}
AddNonvoterRequestValidationError is the validation error returned by AddNonvoterRequest.Validate if the designated constraints aren't met.
func (AddNonvoterRequestValidationError) Cause ¶
func (e AddNonvoterRequestValidationError) Cause() error
Cause function returns cause value.
func (AddNonvoterRequestValidationError) Error ¶
func (e AddNonvoterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddNonvoterRequestValidationError) ErrorName ¶
func (e AddNonvoterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddNonvoterRequestValidationError) Field ¶
func (e AddNonvoterRequestValidationError) Field() string
Field function returns field value.
func (AddNonvoterRequestValidationError) Key ¶
func (e AddNonvoterRequestValidationError) Key() bool
Key function returns key value.
func (AddNonvoterRequestValidationError) Reason ¶
func (e AddNonvoterRequestValidationError) Reason() string
Reason function returns reason value.
type AddVoterRequest ¶
type AddVoterRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` PreviousIndex uint64 `protobuf:"varint,3,opt,name=previous_index,json=previousIndex,proto3" json:"previous_index,omitempty"` // contains filtered or unexported fields }
func (*AddVoterRequest) Descriptor
deprecated
func (*AddVoterRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddVoterRequest.ProtoReflect.Descriptor instead.
func (*AddVoterRequest) GetAddress ¶
func (x *AddVoterRequest) GetAddress() string
func (*AddVoterRequest) GetId ¶
func (x *AddVoterRequest) GetId() string
func (*AddVoterRequest) GetPreviousIndex ¶
func (x *AddVoterRequest) GetPreviousIndex() uint64
func (*AddVoterRequest) ProtoMessage ¶
func (*AddVoterRequest) ProtoMessage()
func (*AddVoterRequest) ProtoReflect ¶
func (x *AddVoterRequest) ProtoReflect() protoreflect.Message
func (*AddVoterRequest) Reset ¶
func (x *AddVoterRequest) Reset()
func (*AddVoterRequest) String ¶
func (x *AddVoterRequest) String() string
func (*AddVoterRequest) Validate ¶
func (m *AddVoterRequest) Validate() error
Validate checks the field values on AddVoterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AddVoterRequest) ValidateAll ¶
func (m *AddVoterRequest) ValidateAll() error
ValidateAll checks the field values on AddVoterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AddVoterRequestMultiError, or nil if none found.
type AddVoterRequestMultiError ¶
type AddVoterRequestMultiError []error
AddVoterRequestMultiError is an error wrapping multiple validation errors returned by AddVoterRequest.ValidateAll() if the designated constraints aren't met.
func (AddVoterRequestMultiError) AllErrors ¶
func (m AddVoterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AddVoterRequestMultiError) Error ¶
func (m AddVoterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AddVoterRequestValidationError ¶
type AddVoterRequestValidationError struct {
// contains filtered or unexported fields
}
AddVoterRequestValidationError is the validation error returned by AddVoterRequest.Validate if the designated constraints aren't met.
func (AddVoterRequestValidationError) Cause ¶
func (e AddVoterRequestValidationError) Cause() error
Cause function returns cause value.
func (AddVoterRequestValidationError) Error ¶
func (e AddVoterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AddVoterRequestValidationError) ErrorName ¶
func (e AddVoterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AddVoterRequestValidationError) Field ¶
func (e AddVoterRequestValidationError) Field() string
Field function returns field value.
func (AddVoterRequestValidationError) Key ¶
func (e AddVoterRequestValidationError) Key() bool
Key function returns key value.
func (AddVoterRequestValidationError) Reason ¶
func (e AddVoterRequestValidationError) Reason() string
Reason function returns reason value.
type AdminServiceClient ¶
type AdminServiceClient interface { AddNonvoter(ctx context.Context, in *AddNonvoterRequest, opts ...grpc.CallOption) (*Future, error) AddVoter(ctx context.Context, in *AddVoterRequest, opts ...grpc.CallOption) (*Future, error) AppliedIndex(ctx context.Context, in *AppliedIndexRequest, opts ...grpc.CallOption) (*AppliedIndexResponse, error) DemoteVoter(ctx context.Context, in *DemoteVoterRequest, opts ...grpc.CallOption) (*Future, error) GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*GetConfigurationResponse, error) LastContact(ctx context.Context, in *LastContactRequest, opts ...grpc.CallOption) (*LastContactResponse, error) LastIndex(ctx context.Context, in *LastIndexRequest, opts ...grpc.CallOption) (*LastIndexResponse, error) Leader(ctx context.Context, in *LeaderRequest, opts ...grpc.CallOption) (*LeaderResponse, error) LeadershipTransfer(ctx context.Context, in *LeadershipTransferRequest, opts ...grpc.CallOption) (*Future, error) LeadershipTransferToServer(ctx context.Context, in *LeadershipTransferToServerRequest, opts ...grpc.CallOption) (*Future, error) RemoveServer(ctx context.Context, in *RemoveServerRequest, opts ...grpc.CallOption) (*Future, error) Shutdown(ctx context.Context, in *ShutdownRequest, opts ...grpc.CallOption) (*Future, error) Snapshot(ctx context.Context, in *SnapshotRequest, opts ...grpc.CallOption) (*Future, error) State(ctx context.Context, in *StateRequest, opts ...grpc.CallOption) (*StateResponse, error) VerifyLeader(ctx context.Context, in *VerifyLeaderRequest, opts ...grpc.CallOption) (*Future, error) Join(ctx context.Context, in *JoinRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) Await(ctx context.Context, in *Future, opts ...grpc.CallOption) (*AwaitResponse, error) Forget(ctx context.Context, in *Future, opts ...grpc.CallOption) (*ForgetResponse, error) Bootstrap(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AdminServiceClient is the client API for AdminService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAdminServiceClient ¶
func NewAdminServiceClient(cc grpc.ClientConnInterface) AdminServiceClient
type AdminServiceServer ¶
type AdminServiceServer interface { AddNonvoter(context.Context, *AddNonvoterRequest) (*Future, error) AddVoter(context.Context, *AddVoterRequest) (*Future, error) AppliedIndex(context.Context, *AppliedIndexRequest) (*AppliedIndexResponse, error) DemoteVoter(context.Context, *DemoteVoterRequest) (*Future, error) GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error) LastContact(context.Context, *LastContactRequest) (*LastContactResponse, error) LastIndex(context.Context, *LastIndexRequest) (*LastIndexResponse, error) Leader(context.Context, *LeaderRequest) (*LeaderResponse, error) LeadershipTransfer(context.Context, *LeadershipTransferRequest) (*Future, error) LeadershipTransferToServer(context.Context, *LeadershipTransferToServerRequest) (*Future, error) RemoveServer(context.Context, *RemoveServerRequest) (*Future, error) Shutdown(context.Context, *ShutdownRequest) (*Future, error) Snapshot(context.Context, *SnapshotRequest) (*Future, error) State(context.Context, *StateRequest) (*StateResponse, error) VerifyLeader(context.Context, *VerifyLeaderRequest) (*Future, error) Join(context.Context, *JoinRequest) (*emptypb.Empty, error) Await(context.Context, *Future) (*AwaitResponse, error) Forget(context.Context, *Future) (*ForgetResponse, error) Bootstrap(context.Context, *emptypb.Empty) (*emptypb.Empty, error) }
AdminServiceServer is the server API for AdminService service. All implementations should embed UnimplementedAdminServiceServer for forward compatibility
type AppliedIndexRequest ¶
type AppliedIndexRequest struct {
// contains filtered or unexported fields
}
func (*AppliedIndexRequest) Descriptor
deprecated
func (*AppliedIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use AppliedIndexRequest.ProtoReflect.Descriptor instead.
func (*AppliedIndexRequest) ProtoMessage ¶
func (*AppliedIndexRequest) ProtoMessage()
func (*AppliedIndexRequest) ProtoReflect ¶
func (x *AppliedIndexRequest) ProtoReflect() protoreflect.Message
func (*AppliedIndexRequest) Reset ¶
func (x *AppliedIndexRequest) Reset()
func (*AppliedIndexRequest) String ¶
func (x *AppliedIndexRequest) String() string
func (*AppliedIndexRequest) Validate ¶
func (m *AppliedIndexRequest) Validate() error
Validate checks the field values on AppliedIndexRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AppliedIndexRequest) ValidateAll ¶
func (m *AppliedIndexRequest) ValidateAll() error
ValidateAll checks the field values on AppliedIndexRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppliedIndexRequestMultiError, or nil if none found.
type AppliedIndexRequestMultiError ¶
type AppliedIndexRequestMultiError []error
AppliedIndexRequestMultiError is an error wrapping multiple validation errors returned by AppliedIndexRequest.ValidateAll() if the designated constraints aren't met.
func (AppliedIndexRequestMultiError) AllErrors ¶
func (m AppliedIndexRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppliedIndexRequestMultiError) Error ¶
func (m AppliedIndexRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppliedIndexRequestValidationError ¶
type AppliedIndexRequestValidationError struct {
// contains filtered or unexported fields
}
AppliedIndexRequestValidationError is the validation error returned by AppliedIndexRequest.Validate if the designated constraints aren't met.
func (AppliedIndexRequestValidationError) Cause ¶
func (e AppliedIndexRequestValidationError) Cause() error
Cause function returns cause value.
func (AppliedIndexRequestValidationError) Error ¶
func (e AppliedIndexRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AppliedIndexRequestValidationError) ErrorName ¶
func (e AppliedIndexRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AppliedIndexRequestValidationError) Field ¶
func (e AppliedIndexRequestValidationError) Field() string
Field function returns field value.
func (AppliedIndexRequestValidationError) Key ¶
func (e AppliedIndexRequestValidationError) Key() bool
Key function returns key value.
func (AppliedIndexRequestValidationError) Reason ¶
func (e AppliedIndexRequestValidationError) Reason() string
Reason function returns reason value.
type AppliedIndexResponse ¶
type AppliedIndexResponse struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*AppliedIndexResponse) Descriptor
deprecated
func (*AppliedIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use AppliedIndexResponse.ProtoReflect.Descriptor instead.
func (*AppliedIndexResponse) GetIndex ¶
func (x *AppliedIndexResponse) GetIndex() uint64
func (*AppliedIndexResponse) ProtoMessage ¶
func (*AppliedIndexResponse) ProtoMessage()
func (*AppliedIndexResponse) ProtoReflect ¶
func (x *AppliedIndexResponse) ProtoReflect() protoreflect.Message
func (*AppliedIndexResponse) Reset ¶
func (x *AppliedIndexResponse) Reset()
func (*AppliedIndexResponse) String ¶
func (x *AppliedIndexResponse) String() string
func (*AppliedIndexResponse) Validate ¶
func (m *AppliedIndexResponse) Validate() error
Validate checks the field values on AppliedIndexResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AppliedIndexResponse) ValidateAll ¶
func (m *AppliedIndexResponse) ValidateAll() error
ValidateAll checks the field values on AppliedIndexResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AppliedIndexResponseMultiError, or nil if none found.
type AppliedIndexResponseMultiError ¶
type AppliedIndexResponseMultiError []error
AppliedIndexResponseMultiError is an error wrapping multiple validation errors returned by AppliedIndexResponse.ValidateAll() if the designated constraints aren't met.
func (AppliedIndexResponseMultiError) AllErrors ¶
func (m AppliedIndexResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AppliedIndexResponseMultiError) Error ¶
func (m AppliedIndexResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AppliedIndexResponseValidationError ¶
type AppliedIndexResponseValidationError struct {
// contains filtered or unexported fields
}
AppliedIndexResponseValidationError is the validation error returned by AppliedIndexResponse.Validate if the designated constraints aren't met.
func (AppliedIndexResponseValidationError) Cause ¶
func (e AppliedIndexResponseValidationError) Cause() error
Cause function returns cause value.
func (AppliedIndexResponseValidationError) Error ¶
func (e AppliedIndexResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AppliedIndexResponseValidationError) ErrorName ¶
func (e AppliedIndexResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AppliedIndexResponseValidationError) Field ¶
func (e AppliedIndexResponseValidationError) Field() string
Field function returns field value.
func (AppliedIndexResponseValidationError) Key ¶
func (e AppliedIndexResponseValidationError) Key() bool
Key function returns key value.
func (AppliedIndexResponseValidationError) Reason ¶
func (e AppliedIndexResponseValidationError) Reason() string
Reason function returns reason value.
type AwaitResponse ¶
type AwaitResponse struct { Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*AwaitResponse) Descriptor
deprecated
func (*AwaitResponse) Descriptor() ([]byte, []int)
Deprecated: Use AwaitResponse.ProtoReflect.Descriptor instead.
func (*AwaitResponse) GetError ¶
func (x *AwaitResponse) GetError() string
func (*AwaitResponse) GetIndex ¶
func (x *AwaitResponse) GetIndex() uint64
func (*AwaitResponse) ProtoMessage ¶
func (*AwaitResponse) ProtoMessage()
func (*AwaitResponse) ProtoReflect ¶
func (x *AwaitResponse) ProtoReflect() protoreflect.Message
func (*AwaitResponse) Reset ¶
func (x *AwaitResponse) Reset()
func (*AwaitResponse) String ¶
func (x *AwaitResponse) String() string
func (*AwaitResponse) Validate ¶
func (m *AwaitResponse) Validate() error
Validate checks the field values on AwaitResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AwaitResponse) ValidateAll ¶
func (m *AwaitResponse) ValidateAll() error
ValidateAll checks the field values on AwaitResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AwaitResponseMultiError, or nil if none found.
type AwaitResponseMultiError ¶
type AwaitResponseMultiError []error
AwaitResponseMultiError is an error wrapping multiple validation errors returned by AwaitResponse.ValidateAll() if the designated constraints aren't met.
func (AwaitResponseMultiError) AllErrors ¶
func (m AwaitResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AwaitResponseMultiError) Error ¶
func (m AwaitResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AwaitResponseValidationError ¶
type AwaitResponseValidationError struct {
// contains filtered or unexported fields
}
AwaitResponseValidationError is the validation error returned by AwaitResponse.Validate if the designated constraints aren't met.
func (AwaitResponseValidationError) Cause ¶
func (e AwaitResponseValidationError) Cause() error
Cause function returns cause value.
func (AwaitResponseValidationError) Error ¶
func (e AwaitResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AwaitResponseValidationError) ErrorName ¶
func (e AwaitResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AwaitResponseValidationError) Field ¶
func (e AwaitResponseValidationError) Field() string
Field function returns field value.
func (AwaitResponseValidationError) Key ¶
func (e AwaitResponseValidationError) Key() bool
Key function returns key value.
func (AwaitResponseValidationError) Reason ¶
func (e AwaitResponseValidationError) Reason() string
Reason function returns reason value.
type DemoteVoterRequest ¶
type DemoteVoterRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PreviousIndex uint64 `protobuf:"varint,2,opt,name=previous_index,json=previousIndex,proto3" json:"previous_index,omitempty"` // contains filtered or unexported fields }
func (*DemoteVoterRequest) Descriptor
deprecated
func (*DemoteVoterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DemoteVoterRequest.ProtoReflect.Descriptor instead.
func (*DemoteVoterRequest) GetId ¶
func (x *DemoteVoterRequest) GetId() string
func (*DemoteVoterRequest) GetPreviousIndex ¶
func (x *DemoteVoterRequest) GetPreviousIndex() uint64
func (*DemoteVoterRequest) ProtoMessage ¶
func (*DemoteVoterRequest) ProtoMessage()
func (*DemoteVoterRequest) ProtoReflect ¶
func (x *DemoteVoterRequest) ProtoReflect() protoreflect.Message
func (*DemoteVoterRequest) Reset ¶
func (x *DemoteVoterRequest) Reset()
func (*DemoteVoterRequest) String ¶
func (x *DemoteVoterRequest) String() string
func (*DemoteVoterRequest) Validate ¶
func (m *DemoteVoterRequest) Validate() error
Validate checks the field values on DemoteVoterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DemoteVoterRequest) ValidateAll ¶
func (m *DemoteVoterRequest) ValidateAll() error
ValidateAll checks the field values on DemoteVoterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DemoteVoterRequestMultiError, or nil if none found.
type DemoteVoterRequestMultiError ¶
type DemoteVoterRequestMultiError []error
DemoteVoterRequestMultiError is an error wrapping multiple validation errors returned by DemoteVoterRequest.ValidateAll() if the designated constraints aren't met.
func (DemoteVoterRequestMultiError) AllErrors ¶
func (m DemoteVoterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DemoteVoterRequestMultiError) Error ¶
func (m DemoteVoterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DemoteVoterRequestValidationError ¶
type DemoteVoterRequestValidationError struct {
// contains filtered or unexported fields
}
DemoteVoterRequestValidationError is the validation error returned by DemoteVoterRequest.Validate if the designated constraints aren't met.
func (DemoteVoterRequestValidationError) Cause ¶
func (e DemoteVoterRequestValidationError) Cause() error
Cause function returns cause value.
func (DemoteVoterRequestValidationError) Error ¶
func (e DemoteVoterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DemoteVoterRequestValidationError) ErrorName ¶
func (e DemoteVoterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DemoteVoterRequestValidationError) Field ¶
func (e DemoteVoterRequestValidationError) Field() string
Field function returns field value.
func (DemoteVoterRequestValidationError) Key ¶
func (e DemoteVoterRequestValidationError) Key() bool
Key function returns key value.
func (DemoteVoterRequestValidationError) Reason ¶
func (e DemoteVoterRequestValidationError) Reason() string
Reason function returns reason value.
type ForgetResponse ¶
type ForgetResponse struct {
// contains filtered or unexported fields
}
func (*ForgetResponse) Descriptor
deprecated
func (*ForgetResponse) Descriptor() ([]byte, []int)
Deprecated: Use ForgetResponse.ProtoReflect.Descriptor instead.
func (*ForgetResponse) ProtoMessage ¶
func (*ForgetResponse) ProtoMessage()
func (*ForgetResponse) ProtoReflect ¶
func (x *ForgetResponse) ProtoReflect() protoreflect.Message
func (*ForgetResponse) Reset ¶
func (x *ForgetResponse) Reset()
func (*ForgetResponse) String ¶
func (x *ForgetResponse) String() string
func (*ForgetResponse) Validate ¶
func (m *ForgetResponse) Validate() error
Validate checks the field values on ForgetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ForgetResponse) ValidateAll ¶
func (m *ForgetResponse) ValidateAll() error
ValidateAll checks the field values on ForgetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ForgetResponseMultiError, or nil if none found.
type ForgetResponseMultiError ¶
type ForgetResponseMultiError []error
ForgetResponseMultiError is an error wrapping multiple validation errors returned by ForgetResponse.ValidateAll() if the designated constraints aren't met.
func (ForgetResponseMultiError) AllErrors ¶
func (m ForgetResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ForgetResponseMultiError) Error ¶
func (m ForgetResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ForgetResponseValidationError ¶
type ForgetResponseValidationError struct {
// contains filtered or unexported fields
}
ForgetResponseValidationError is the validation error returned by ForgetResponse.Validate if the designated constraints aren't met.
func (ForgetResponseValidationError) Cause ¶
func (e ForgetResponseValidationError) Cause() error
Cause function returns cause value.
func (ForgetResponseValidationError) Error ¶
func (e ForgetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ForgetResponseValidationError) ErrorName ¶
func (e ForgetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ForgetResponseValidationError) Field ¶
func (e ForgetResponseValidationError) Field() string
Field function returns field value.
func (ForgetResponseValidationError) Key ¶
func (e ForgetResponseValidationError) Key() bool
Key function returns key value.
func (ForgetResponseValidationError) Reason ¶
func (e ForgetResponseValidationError) Reason() string
Reason function returns reason value.
type Future ¶
type Future struct { OperationToken string `protobuf:"bytes,1,opt,name=operation_token,json=operationToken,proto3" json:"operation_token,omitempty"` // contains filtered or unexported fields }
func (*Future) Descriptor
deprecated
func (*Future) GetOperationToken ¶
func (*Future) ProtoMessage ¶
func (*Future) ProtoMessage()
func (*Future) ProtoReflect ¶
func (x *Future) ProtoReflect() protoreflect.Message
func (*Future) Validate ¶
Validate checks the field values on Future with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Future) ValidateAll ¶
ValidateAll checks the field values on Future with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FutureMultiError, or nil if none found.
type FutureMultiError ¶
type FutureMultiError []error
FutureMultiError is an error wrapping multiple validation errors returned by Future.ValidateAll() if the designated constraints aren't met.
func (FutureMultiError) AllErrors ¶
func (m FutureMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FutureMultiError) Error ¶
func (m FutureMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FutureValidationError ¶
type FutureValidationError struct {
// contains filtered or unexported fields
}
FutureValidationError is the validation error returned by Future.Validate if the designated constraints aren't met.
func (FutureValidationError) Cause ¶
func (e FutureValidationError) Cause() error
Cause function returns cause value.
func (FutureValidationError) Error ¶
func (e FutureValidationError) Error() string
Error satisfies the builtin error interface
func (FutureValidationError) ErrorName ¶
func (e FutureValidationError) ErrorName() string
ErrorName returns error name.
func (FutureValidationError) Field ¶
func (e FutureValidationError) Field() string
Field function returns field value.
func (FutureValidationError) Key ¶
func (e FutureValidationError) Key() bool
Key function returns key value.
func (FutureValidationError) Reason ¶
func (e FutureValidationError) Reason() string
Reason function returns reason value.
type GetConfigurationRequest ¶
type GetConfigurationRequest struct {
// contains filtered or unexported fields
}
func (*GetConfigurationRequest) Descriptor
deprecated
func (*GetConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigurationRequest.ProtoReflect.Descriptor instead.
func (*GetConfigurationRequest) ProtoMessage ¶
func (*GetConfigurationRequest) ProtoMessage()
func (*GetConfigurationRequest) ProtoReflect ¶
func (x *GetConfigurationRequest) ProtoReflect() protoreflect.Message
func (*GetConfigurationRequest) Reset ¶
func (x *GetConfigurationRequest) Reset()
func (*GetConfigurationRequest) String ¶
func (x *GetConfigurationRequest) String() string
func (*GetConfigurationRequest) Validate ¶
func (m *GetConfigurationRequest) Validate() error
Validate checks the field values on GetConfigurationRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetConfigurationRequest) ValidateAll ¶
func (m *GetConfigurationRequest) ValidateAll() error
ValidateAll checks the field values on GetConfigurationRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigurationRequestMultiError, or nil if none found.
type GetConfigurationRequestMultiError ¶
type GetConfigurationRequestMultiError []error
GetConfigurationRequestMultiError is an error wrapping multiple validation errors returned by GetConfigurationRequest.ValidateAll() if the designated constraints aren't met.
func (GetConfigurationRequestMultiError) AllErrors ¶
func (m GetConfigurationRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConfigurationRequestMultiError) Error ¶
func (m GetConfigurationRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConfigurationRequestValidationError ¶
type GetConfigurationRequestValidationError struct {
// contains filtered or unexported fields
}
GetConfigurationRequestValidationError is the validation error returned by GetConfigurationRequest.Validate if the designated constraints aren't met.
func (GetConfigurationRequestValidationError) Cause ¶
func (e GetConfigurationRequestValidationError) Cause() error
Cause function returns cause value.
func (GetConfigurationRequestValidationError) Error ¶
func (e GetConfigurationRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigurationRequestValidationError) ErrorName ¶
func (e GetConfigurationRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigurationRequestValidationError) Field ¶
func (e GetConfigurationRequestValidationError) Field() string
Field function returns field value.
func (GetConfigurationRequestValidationError) Key ¶
func (e GetConfigurationRequestValidationError) Key() bool
Key function returns key value.
func (GetConfigurationRequestValidationError) Reason ¶
func (e GetConfigurationRequestValidationError) Reason() string
Reason function returns reason value.
type GetConfigurationResponse ¶
type GetConfigurationResponse struct { Servers []*GetConfigurationResponse_Server `protobuf:"bytes,1,rep,name=servers,proto3" json:"servers,omitempty"` // contains filtered or unexported fields }
func (*GetConfigurationResponse) Descriptor
deprecated
func (*GetConfigurationResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigurationResponse.ProtoReflect.Descriptor instead.
func (*GetConfigurationResponse) GetServers ¶
func (x *GetConfigurationResponse) GetServers() []*GetConfigurationResponse_Server
func (*GetConfigurationResponse) ProtoMessage ¶
func (*GetConfigurationResponse) ProtoMessage()
func (*GetConfigurationResponse) ProtoReflect ¶
func (x *GetConfigurationResponse) ProtoReflect() protoreflect.Message
func (*GetConfigurationResponse) Reset ¶
func (x *GetConfigurationResponse) Reset()
func (*GetConfigurationResponse) String ¶
func (x *GetConfigurationResponse) String() string
func (*GetConfigurationResponse) Validate ¶
func (m *GetConfigurationResponse) Validate() error
Validate checks the field values on GetConfigurationResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetConfigurationResponse) ValidateAll ¶
func (m *GetConfigurationResponse) ValidateAll() error
ValidateAll checks the field values on GetConfigurationResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigurationResponseMultiError, or nil if none found.
type GetConfigurationResponseMultiError ¶
type GetConfigurationResponseMultiError []error
GetConfigurationResponseMultiError is an error wrapping multiple validation errors returned by GetConfigurationResponse.ValidateAll() if the designated constraints aren't met.
func (GetConfigurationResponseMultiError) AllErrors ¶
func (m GetConfigurationResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConfigurationResponseMultiError) Error ¶
func (m GetConfigurationResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConfigurationResponseValidationError ¶
type GetConfigurationResponseValidationError struct {
// contains filtered or unexported fields
}
GetConfigurationResponseValidationError is the validation error returned by GetConfigurationResponse.Validate if the designated constraints aren't met.
func (GetConfigurationResponseValidationError) Cause ¶
func (e GetConfigurationResponseValidationError) Cause() error
Cause function returns cause value.
func (GetConfigurationResponseValidationError) Error ¶
func (e GetConfigurationResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigurationResponseValidationError) ErrorName ¶
func (e GetConfigurationResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigurationResponseValidationError) Field ¶
func (e GetConfigurationResponseValidationError) Field() string
Field function returns field value.
func (GetConfigurationResponseValidationError) Key ¶
func (e GetConfigurationResponseValidationError) Key() bool
Key function returns key value.
func (GetConfigurationResponseValidationError) Reason ¶
func (e GetConfigurationResponseValidationError) Reason() string
Reason function returns reason value.
type GetConfigurationResponse_Server ¶
type GetConfigurationResponse_Server struct { Suffrage GetConfigurationResponse_Server_Suffrage `protobuf:"varint,1,opt,name=suffrage,proto3,enum=admin.v1.GetConfigurationResponse_Server_Suffrage" json:"suffrage,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GetConfigurationResponse_Server) Descriptor
deprecated
func (*GetConfigurationResponse_Server) Descriptor() ([]byte, []int)
Deprecated: Use GetConfigurationResponse_Server.ProtoReflect.Descriptor instead.
func (*GetConfigurationResponse_Server) GetAddress ¶
func (x *GetConfigurationResponse_Server) GetAddress() string
func (*GetConfigurationResponse_Server) GetId ¶
func (x *GetConfigurationResponse_Server) GetId() string
func (*GetConfigurationResponse_Server) GetSuffrage ¶
func (x *GetConfigurationResponse_Server) GetSuffrage() GetConfigurationResponse_Server_Suffrage
func (*GetConfigurationResponse_Server) ProtoMessage ¶
func (*GetConfigurationResponse_Server) ProtoMessage()
func (*GetConfigurationResponse_Server) ProtoReflect ¶
func (x *GetConfigurationResponse_Server) ProtoReflect() protoreflect.Message
func (*GetConfigurationResponse_Server) Reset ¶
func (x *GetConfigurationResponse_Server) Reset()
func (*GetConfigurationResponse_Server) String ¶
func (x *GetConfigurationResponse_Server) String() string
func (*GetConfigurationResponse_Server) Validate ¶
func (m *GetConfigurationResponse_Server) Validate() error
Validate checks the field values on GetConfigurationResponse_Server with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetConfigurationResponse_Server) ValidateAll ¶
func (m *GetConfigurationResponse_Server) ValidateAll() error
ValidateAll checks the field values on GetConfigurationResponse_Server with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetConfigurationResponse_ServerMultiError, or nil if none found.
type GetConfigurationResponse_ServerMultiError ¶
type GetConfigurationResponse_ServerMultiError []error
GetConfigurationResponse_ServerMultiError is an error wrapping multiple validation errors returned by GetConfigurationResponse_Server.ValidateAll() if the designated constraints aren't met.
func (GetConfigurationResponse_ServerMultiError) AllErrors ¶
func (m GetConfigurationResponse_ServerMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetConfigurationResponse_ServerMultiError) Error ¶
func (m GetConfigurationResponse_ServerMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetConfigurationResponse_ServerValidationError ¶
type GetConfigurationResponse_ServerValidationError struct {
// contains filtered or unexported fields
}
GetConfigurationResponse_ServerValidationError is the validation error returned by GetConfigurationResponse_Server.Validate if the designated constraints aren't met.
func (GetConfigurationResponse_ServerValidationError) Cause ¶
func (e GetConfigurationResponse_ServerValidationError) Cause() error
Cause function returns cause value.
func (GetConfigurationResponse_ServerValidationError) Error ¶
func (e GetConfigurationResponse_ServerValidationError) Error() string
Error satisfies the builtin error interface
func (GetConfigurationResponse_ServerValidationError) ErrorName ¶
func (e GetConfigurationResponse_ServerValidationError) ErrorName() string
ErrorName returns error name.
func (GetConfigurationResponse_ServerValidationError) Field ¶
func (e GetConfigurationResponse_ServerValidationError) Field() string
Field function returns field value.
func (GetConfigurationResponse_ServerValidationError) Key ¶
func (e GetConfigurationResponse_ServerValidationError) Key() bool
Key function returns key value.
func (GetConfigurationResponse_ServerValidationError) Reason ¶
func (e GetConfigurationResponse_ServerValidationError) Reason() string
Reason function returns reason value.
type GetConfigurationResponse_Server_Suffrage ¶
type GetConfigurationResponse_Server_Suffrage int32
const ( GetConfigurationResponse_Server_VOTER GetConfigurationResponse_Server_Suffrage = 0 GetConfigurationResponse_Server_NONVOTER GetConfigurationResponse_Server_Suffrage = 1 GetConfigurationResponse_Server_STAGING GetConfigurationResponse_Server_Suffrage = 2 )
func (GetConfigurationResponse_Server_Suffrage) Descriptor ¶
func (GetConfigurationResponse_Server_Suffrage) Descriptor() protoreflect.EnumDescriptor
func (GetConfigurationResponse_Server_Suffrage) EnumDescriptor
deprecated
func (GetConfigurationResponse_Server_Suffrage) EnumDescriptor() ([]byte, []int)
Deprecated: Use GetConfigurationResponse_Server_Suffrage.Descriptor instead.
func (GetConfigurationResponse_Server_Suffrage) Number ¶
func (x GetConfigurationResponse_Server_Suffrage) Number() protoreflect.EnumNumber
func (GetConfigurationResponse_Server_Suffrage) String ¶
func (x GetConfigurationResponse_Server_Suffrage) String() string
func (GetConfigurationResponse_Server_Suffrage) Type ¶
func (GetConfigurationResponse_Server_Suffrage) Type() protoreflect.EnumType
type JoinRequest ¶
type JoinRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*JoinRequest) Descriptor
deprecated
func (*JoinRequest) Descriptor() ([]byte, []int)
Deprecated: Use JoinRequest.ProtoReflect.Descriptor instead.
func (*JoinRequest) GetAddress ¶
func (x *JoinRequest) GetAddress() string
func (*JoinRequest) ProtoMessage ¶
func (*JoinRequest) ProtoMessage()
func (*JoinRequest) ProtoReflect ¶
func (x *JoinRequest) ProtoReflect() protoreflect.Message
func (*JoinRequest) Reset ¶
func (x *JoinRequest) Reset()
func (*JoinRequest) String ¶
func (x *JoinRequest) String() string
func (*JoinRequest) Validate ¶
func (m *JoinRequest) Validate() error
Validate checks the field values on JoinRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*JoinRequest) ValidateAll ¶
func (m *JoinRequest) ValidateAll() error
ValidateAll checks the field values on JoinRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in JoinRequestMultiError, or nil if none found.
type JoinRequestMultiError ¶
type JoinRequestMultiError []error
JoinRequestMultiError is an error wrapping multiple validation errors returned by JoinRequest.ValidateAll() if the designated constraints aren't met.
func (JoinRequestMultiError) AllErrors ¶
func (m JoinRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (JoinRequestMultiError) Error ¶
func (m JoinRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type JoinRequestValidationError ¶
type JoinRequestValidationError struct {
// contains filtered or unexported fields
}
JoinRequestValidationError is the validation error returned by JoinRequest.Validate if the designated constraints aren't met.
func (JoinRequestValidationError) Cause ¶
func (e JoinRequestValidationError) Cause() error
Cause function returns cause value.
func (JoinRequestValidationError) Error ¶
func (e JoinRequestValidationError) Error() string
Error satisfies the builtin error interface
func (JoinRequestValidationError) ErrorName ¶
func (e JoinRequestValidationError) ErrorName() string
ErrorName returns error name.
func (JoinRequestValidationError) Field ¶
func (e JoinRequestValidationError) Field() string
Field function returns field value.
func (JoinRequestValidationError) Key ¶
func (e JoinRequestValidationError) Key() bool
Key function returns key value.
func (JoinRequestValidationError) Reason ¶
func (e JoinRequestValidationError) Reason() string
Reason function returns reason value.
type LastContactRequest ¶
type LastContactRequest struct {
// contains filtered or unexported fields
}
func (*LastContactRequest) Descriptor
deprecated
func (*LastContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use LastContactRequest.ProtoReflect.Descriptor instead.
func (*LastContactRequest) ProtoMessage ¶
func (*LastContactRequest) ProtoMessage()
func (*LastContactRequest) ProtoReflect ¶
func (x *LastContactRequest) ProtoReflect() protoreflect.Message
func (*LastContactRequest) Reset ¶
func (x *LastContactRequest) Reset()
func (*LastContactRequest) String ¶
func (x *LastContactRequest) String() string
func (*LastContactRequest) Validate ¶
func (m *LastContactRequest) Validate() error
Validate checks the field values on LastContactRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LastContactRequest) ValidateAll ¶
func (m *LastContactRequest) ValidateAll() error
ValidateAll checks the field values on LastContactRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LastContactRequestMultiError, or nil if none found.
type LastContactRequestMultiError ¶
type LastContactRequestMultiError []error
LastContactRequestMultiError is an error wrapping multiple validation errors returned by LastContactRequest.ValidateAll() if the designated constraints aren't met.
func (LastContactRequestMultiError) AllErrors ¶
func (m LastContactRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LastContactRequestMultiError) Error ¶
func (m LastContactRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LastContactRequestValidationError ¶
type LastContactRequestValidationError struct {
// contains filtered or unexported fields
}
LastContactRequestValidationError is the validation error returned by LastContactRequest.Validate if the designated constraints aren't met.
func (LastContactRequestValidationError) Cause ¶
func (e LastContactRequestValidationError) Cause() error
Cause function returns cause value.
func (LastContactRequestValidationError) Error ¶
func (e LastContactRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LastContactRequestValidationError) ErrorName ¶
func (e LastContactRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LastContactRequestValidationError) Field ¶
func (e LastContactRequestValidationError) Field() string
Field function returns field value.
func (LastContactRequestValidationError) Key ¶
func (e LastContactRequestValidationError) Key() bool
Key function returns key value.
func (LastContactRequestValidationError) Reason ¶
func (e LastContactRequestValidationError) Reason() string
Reason function returns reason value.
type LastContactResponse ¶
type LastContactResponse struct { UnixNano int64 `protobuf:"varint,1,opt,name=unix_nano,json=unixNano,proto3" json:"unix_nano,omitempty"` // contains filtered or unexported fields }
func (*LastContactResponse) Descriptor
deprecated
func (*LastContactResponse) Descriptor() ([]byte, []int)
Deprecated: Use LastContactResponse.ProtoReflect.Descriptor instead.
func (*LastContactResponse) GetUnixNano ¶
func (x *LastContactResponse) GetUnixNano() int64
func (*LastContactResponse) ProtoMessage ¶
func (*LastContactResponse) ProtoMessage()
func (*LastContactResponse) ProtoReflect ¶
func (x *LastContactResponse) ProtoReflect() protoreflect.Message
func (*LastContactResponse) Reset ¶
func (x *LastContactResponse) Reset()
func (*LastContactResponse) String ¶
func (x *LastContactResponse) String() string
func (*LastContactResponse) Validate ¶
func (m *LastContactResponse) Validate() error
Validate checks the field values on LastContactResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LastContactResponse) ValidateAll ¶
func (m *LastContactResponse) ValidateAll() error
ValidateAll checks the field values on LastContactResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LastContactResponseMultiError, or nil if none found.
type LastContactResponseMultiError ¶
type LastContactResponseMultiError []error
LastContactResponseMultiError is an error wrapping multiple validation errors returned by LastContactResponse.ValidateAll() if the designated constraints aren't met.
func (LastContactResponseMultiError) AllErrors ¶
func (m LastContactResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LastContactResponseMultiError) Error ¶
func (m LastContactResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LastContactResponseValidationError ¶
type LastContactResponseValidationError struct {
// contains filtered or unexported fields
}
LastContactResponseValidationError is the validation error returned by LastContactResponse.Validate if the designated constraints aren't met.
func (LastContactResponseValidationError) Cause ¶
func (e LastContactResponseValidationError) Cause() error
Cause function returns cause value.
func (LastContactResponseValidationError) Error ¶
func (e LastContactResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LastContactResponseValidationError) ErrorName ¶
func (e LastContactResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LastContactResponseValidationError) Field ¶
func (e LastContactResponseValidationError) Field() string
Field function returns field value.
func (LastContactResponseValidationError) Key ¶
func (e LastContactResponseValidationError) Key() bool
Key function returns key value.
func (LastContactResponseValidationError) Reason ¶
func (e LastContactResponseValidationError) Reason() string
Reason function returns reason value.
type LastIndexRequest ¶
type LastIndexRequest struct {
// contains filtered or unexported fields
}
func (*LastIndexRequest) Descriptor
deprecated
func (*LastIndexRequest) Descriptor() ([]byte, []int)
Deprecated: Use LastIndexRequest.ProtoReflect.Descriptor instead.
func (*LastIndexRequest) ProtoMessage ¶
func (*LastIndexRequest) ProtoMessage()
func (*LastIndexRequest) ProtoReflect ¶
func (x *LastIndexRequest) ProtoReflect() protoreflect.Message
func (*LastIndexRequest) Reset ¶
func (x *LastIndexRequest) Reset()
func (*LastIndexRequest) String ¶
func (x *LastIndexRequest) String() string
func (*LastIndexRequest) Validate ¶
func (m *LastIndexRequest) Validate() error
Validate checks the field values on LastIndexRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LastIndexRequest) ValidateAll ¶
func (m *LastIndexRequest) ValidateAll() error
ValidateAll checks the field values on LastIndexRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LastIndexRequestMultiError, or nil if none found.
type LastIndexRequestMultiError ¶
type LastIndexRequestMultiError []error
LastIndexRequestMultiError is an error wrapping multiple validation errors returned by LastIndexRequest.ValidateAll() if the designated constraints aren't met.
func (LastIndexRequestMultiError) AllErrors ¶
func (m LastIndexRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LastIndexRequestMultiError) Error ¶
func (m LastIndexRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LastIndexRequestValidationError ¶
type LastIndexRequestValidationError struct {
// contains filtered or unexported fields
}
LastIndexRequestValidationError is the validation error returned by LastIndexRequest.Validate if the designated constraints aren't met.
func (LastIndexRequestValidationError) Cause ¶
func (e LastIndexRequestValidationError) Cause() error
Cause function returns cause value.
func (LastIndexRequestValidationError) Error ¶
func (e LastIndexRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LastIndexRequestValidationError) ErrorName ¶
func (e LastIndexRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LastIndexRequestValidationError) Field ¶
func (e LastIndexRequestValidationError) Field() string
Field function returns field value.
func (LastIndexRequestValidationError) Key ¶
func (e LastIndexRequestValidationError) Key() bool
Key function returns key value.
func (LastIndexRequestValidationError) Reason ¶
func (e LastIndexRequestValidationError) Reason() string
Reason function returns reason value.
type LastIndexResponse ¶
type LastIndexResponse struct { Index uint64 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*LastIndexResponse) Descriptor
deprecated
func (*LastIndexResponse) Descriptor() ([]byte, []int)
Deprecated: Use LastIndexResponse.ProtoReflect.Descriptor instead.
func (*LastIndexResponse) GetIndex ¶
func (x *LastIndexResponse) GetIndex() uint64
func (*LastIndexResponse) ProtoMessage ¶
func (*LastIndexResponse) ProtoMessage()
func (*LastIndexResponse) ProtoReflect ¶
func (x *LastIndexResponse) ProtoReflect() protoreflect.Message
func (*LastIndexResponse) Reset ¶
func (x *LastIndexResponse) Reset()
func (*LastIndexResponse) String ¶
func (x *LastIndexResponse) String() string
func (*LastIndexResponse) Validate ¶
func (m *LastIndexResponse) Validate() error
Validate checks the field values on LastIndexResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LastIndexResponse) ValidateAll ¶
func (m *LastIndexResponse) ValidateAll() error
ValidateAll checks the field values on LastIndexResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LastIndexResponseMultiError, or nil if none found.
type LastIndexResponseMultiError ¶
type LastIndexResponseMultiError []error
LastIndexResponseMultiError is an error wrapping multiple validation errors returned by LastIndexResponse.ValidateAll() if the designated constraints aren't met.
func (LastIndexResponseMultiError) AllErrors ¶
func (m LastIndexResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LastIndexResponseMultiError) Error ¶
func (m LastIndexResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LastIndexResponseValidationError ¶
type LastIndexResponseValidationError struct {
// contains filtered or unexported fields
}
LastIndexResponseValidationError is the validation error returned by LastIndexResponse.Validate if the designated constraints aren't met.
func (LastIndexResponseValidationError) Cause ¶
func (e LastIndexResponseValidationError) Cause() error
Cause function returns cause value.
func (LastIndexResponseValidationError) Error ¶
func (e LastIndexResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LastIndexResponseValidationError) ErrorName ¶
func (e LastIndexResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LastIndexResponseValidationError) Field ¶
func (e LastIndexResponseValidationError) Field() string
Field function returns field value.
func (LastIndexResponseValidationError) Key ¶
func (e LastIndexResponseValidationError) Key() bool
Key function returns key value.
func (LastIndexResponseValidationError) Reason ¶
func (e LastIndexResponseValidationError) Reason() string
Reason function returns reason value.
type LeaderRequest ¶
type LeaderRequest struct {
// contains filtered or unexported fields
}
func (*LeaderRequest) Descriptor
deprecated
func (*LeaderRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeaderRequest.ProtoReflect.Descriptor instead.
func (*LeaderRequest) ProtoMessage ¶
func (*LeaderRequest) ProtoMessage()
func (*LeaderRequest) ProtoReflect ¶
func (x *LeaderRequest) ProtoReflect() protoreflect.Message
func (*LeaderRequest) Reset ¶
func (x *LeaderRequest) Reset()
func (*LeaderRequest) String ¶
func (x *LeaderRequest) String() string
func (*LeaderRequest) Validate ¶
func (m *LeaderRequest) Validate() error
Validate checks the field values on LeaderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LeaderRequest) ValidateAll ¶
func (m *LeaderRequest) ValidateAll() error
ValidateAll checks the field values on LeaderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LeaderRequestMultiError, or nil if none found.
type LeaderRequestMultiError ¶
type LeaderRequestMultiError []error
LeaderRequestMultiError is an error wrapping multiple validation errors returned by LeaderRequest.ValidateAll() if the designated constraints aren't met.
func (LeaderRequestMultiError) AllErrors ¶
func (m LeaderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LeaderRequestMultiError) Error ¶
func (m LeaderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LeaderRequestValidationError ¶
type LeaderRequestValidationError struct {
// contains filtered or unexported fields
}
LeaderRequestValidationError is the validation error returned by LeaderRequest.Validate if the designated constraints aren't met.
func (LeaderRequestValidationError) Cause ¶
func (e LeaderRequestValidationError) Cause() error
Cause function returns cause value.
func (LeaderRequestValidationError) Error ¶
func (e LeaderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LeaderRequestValidationError) ErrorName ¶
func (e LeaderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LeaderRequestValidationError) Field ¶
func (e LeaderRequestValidationError) Field() string
Field function returns field value.
func (LeaderRequestValidationError) Key ¶
func (e LeaderRequestValidationError) Key() bool
Key function returns key value.
func (LeaderRequestValidationError) Reason ¶
func (e LeaderRequestValidationError) Reason() string
Reason function returns reason value.
type LeaderResponse ¶
type LeaderResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*LeaderResponse) Descriptor
deprecated
func (*LeaderResponse) Descriptor() ([]byte, []int)
Deprecated: Use LeaderResponse.ProtoReflect.Descriptor instead.
func (*LeaderResponse) GetAddress ¶
func (x *LeaderResponse) GetAddress() string
func (*LeaderResponse) GetId ¶
func (x *LeaderResponse) GetId() string
func (*LeaderResponse) ProtoMessage ¶
func (*LeaderResponse) ProtoMessage()
func (*LeaderResponse) ProtoReflect ¶
func (x *LeaderResponse) ProtoReflect() protoreflect.Message
func (*LeaderResponse) Reset ¶
func (x *LeaderResponse) Reset()
func (*LeaderResponse) String ¶
func (x *LeaderResponse) String() string
func (*LeaderResponse) Validate ¶
func (m *LeaderResponse) Validate() error
Validate checks the field values on LeaderResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LeaderResponse) ValidateAll ¶
func (m *LeaderResponse) ValidateAll() error
ValidateAll checks the field values on LeaderResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LeaderResponseMultiError, or nil if none found.
type LeaderResponseMultiError ¶
type LeaderResponseMultiError []error
LeaderResponseMultiError is an error wrapping multiple validation errors returned by LeaderResponse.ValidateAll() if the designated constraints aren't met.
func (LeaderResponseMultiError) AllErrors ¶
func (m LeaderResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LeaderResponseMultiError) Error ¶
func (m LeaderResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LeaderResponseValidationError ¶
type LeaderResponseValidationError struct {
// contains filtered or unexported fields
}
LeaderResponseValidationError is the validation error returned by LeaderResponse.Validate if the designated constraints aren't met.
func (LeaderResponseValidationError) Cause ¶
func (e LeaderResponseValidationError) Cause() error
Cause function returns cause value.
func (LeaderResponseValidationError) Error ¶
func (e LeaderResponseValidationError) Error() string
Error satisfies the builtin error interface
func (LeaderResponseValidationError) ErrorName ¶
func (e LeaderResponseValidationError) ErrorName() string
ErrorName returns error name.
func (LeaderResponseValidationError) Field ¶
func (e LeaderResponseValidationError) Field() string
Field function returns field value.
func (LeaderResponseValidationError) Key ¶
func (e LeaderResponseValidationError) Key() bool
Key function returns key value.
func (LeaderResponseValidationError) Reason ¶
func (e LeaderResponseValidationError) Reason() string
Reason function returns reason value.
type LeadershipTransferRequest ¶
type LeadershipTransferRequest struct {
// contains filtered or unexported fields
}
func (*LeadershipTransferRequest) Descriptor
deprecated
func (*LeadershipTransferRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeadershipTransferRequest.ProtoReflect.Descriptor instead.
func (*LeadershipTransferRequest) ProtoMessage ¶
func (*LeadershipTransferRequest) ProtoMessage()
func (*LeadershipTransferRequest) ProtoReflect ¶
func (x *LeadershipTransferRequest) ProtoReflect() protoreflect.Message
func (*LeadershipTransferRequest) Reset ¶
func (x *LeadershipTransferRequest) Reset()
func (*LeadershipTransferRequest) String ¶
func (x *LeadershipTransferRequest) String() string
func (*LeadershipTransferRequest) Validate ¶
func (m *LeadershipTransferRequest) Validate() error
Validate checks the field values on LeadershipTransferRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LeadershipTransferRequest) ValidateAll ¶
func (m *LeadershipTransferRequest) ValidateAll() error
ValidateAll checks the field values on LeadershipTransferRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LeadershipTransferRequestMultiError, or nil if none found.
type LeadershipTransferRequestMultiError ¶
type LeadershipTransferRequestMultiError []error
LeadershipTransferRequestMultiError is an error wrapping multiple validation errors returned by LeadershipTransferRequest.ValidateAll() if the designated constraints aren't met.
func (LeadershipTransferRequestMultiError) AllErrors ¶
func (m LeadershipTransferRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LeadershipTransferRequestMultiError) Error ¶
func (m LeadershipTransferRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LeadershipTransferRequestValidationError ¶
type LeadershipTransferRequestValidationError struct {
// contains filtered or unexported fields
}
LeadershipTransferRequestValidationError is the validation error returned by LeadershipTransferRequest.Validate if the designated constraints aren't met.
func (LeadershipTransferRequestValidationError) Cause ¶
func (e LeadershipTransferRequestValidationError) Cause() error
Cause function returns cause value.
func (LeadershipTransferRequestValidationError) Error ¶
func (e LeadershipTransferRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LeadershipTransferRequestValidationError) ErrorName ¶
func (e LeadershipTransferRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LeadershipTransferRequestValidationError) Field ¶
func (e LeadershipTransferRequestValidationError) Field() string
Field function returns field value.
func (LeadershipTransferRequestValidationError) Key ¶
func (e LeadershipTransferRequestValidationError) Key() bool
Key function returns key value.
func (LeadershipTransferRequestValidationError) Reason ¶
func (e LeadershipTransferRequestValidationError) Reason() string
Reason function returns reason value.
type LeadershipTransferToServerRequest ¶
type LeadershipTransferToServerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*LeadershipTransferToServerRequest) Descriptor
deprecated
func (*LeadershipTransferToServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use LeadershipTransferToServerRequest.ProtoReflect.Descriptor instead.
func (*LeadershipTransferToServerRequest) GetAddress ¶
func (x *LeadershipTransferToServerRequest) GetAddress() string
func (*LeadershipTransferToServerRequest) GetId ¶
func (x *LeadershipTransferToServerRequest) GetId() string
func (*LeadershipTransferToServerRequest) ProtoMessage ¶
func (*LeadershipTransferToServerRequest) ProtoMessage()
func (*LeadershipTransferToServerRequest) ProtoReflect ¶
func (x *LeadershipTransferToServerRequest) ProtoReflect() protoreflect.Message
func (*LeadershipTransferToServerRequest) Reset ¶
func (x *LeadershipTransferToServerRequest) Reset()
func (*LeadershipTransferToServerRequest) String ¶
func (x *LeadershipTransferToServerRequest) String() string
func (*LeadershipTransferToServerRequest) Validate ¶
func (m *LeadershipTransferToServerRequest) Validate() error
Validate checks the field values on LeadershipTransferToServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*LeadershipTransferToServerRequest) ValidateAll ¶
func (m *LeadershipTransferToServerRequest) ValidateAll() error
ValidateAll checks the field values on LeadershipTransferToServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in LeadershipTransferToServerRequestMultiError, or nil if none found.
type LeadershipTransferToServerRequestMultiError ¶
type LeadershipTransferToServerRequestMultiError []error
LeadershipTransferToServerRequestMultiError is an error wrapping multiple validation errors returned by LeadershipTransferToServerRequest.ValidateAll() if the designated constraints aren't met.
func (LeadershipTransferToServerRequestMultiError) AllErrors ¶
func (m LeadershipTransferToServerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (LeadershipTransferToServerRequestMultiError) Error ¶
func (m LeadershipTransferToServerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type LeadershipTransferToServerRequestValidationError ¶
type LeadershipTransferToServerRequestValidationError struct {
// contains filtered or unexported fields
}
LeadershipTransferToServerRequestValidationError is the validation error returned by LeadershipTransferToServerRequest.Validate if the designated constraints aren't met.
func (LeadershipTransferToServerRequestValidationError) Cause ¶
func (e LeadershipTransferToServerRequestValidationError) Cause() error
Cause function returns cause value.
func (LeadershipTransferToServerRequestValidationError) Error ¶
func (e LeadershipTransferToServerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (LeadershipTransferToServerRequestValidationError) ErrorName ¶
func (e LeadershipTransferToServerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (LeadershipTransferToServerRequestValidationError) Field ¶
func (e LeadershipTransferToServerRequestValidationError) Field() string
Field function returns field value.
func (LeadershipTransferToServerRequestValidationError) Key ¶
func (e LeadershipTransferToServerRequestValidationError) Key() bool
Key function returns key value.
func (LeadershipTransferToServerRequestValidationError) Reason ¶
func (e LeadershipTransferToServerRequestValidationError) Reason() string
Reason function returns reason value.
type RemoveServerRequest ¶
type RemoveServerRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` PreviousIndex uint64 `protobuf:"varint,2,opt,name=previous_index,json=previousIndex,proto3" json:"previous_index,omitempty"` // contains filtered or unexported fields }
func (*RemoveServerRequest) Descriptor
deprecated
func (*RemoveServerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveServerRequest.ProtoReflect.Descriptor instead.
func (*RemoveServerRequest) GetId ¶
func (x *RemoveServerRequest) GetId() string
func (*RemoveServerRequest) GetPreviousIndex ¶
func (x *RemoveServerRequest) GetPreviousIndex() uint64
func (*RemoveServerRequest) ProtoMessage ¶
func (*RemoveServerRequest) ProtoMessage()
func (*RemoveServerRequest) ProtoReflect ¶
func (x *RemoveServerRequest) ProtoReflect() protoreflect.Message
func (*RemoveServerRequest) Reset ¶
func (x *RemoveServerRequest) Reset()
func (*RemoveServerRequest) String ¶
func (x *RemoveServerRequest) String() string
func (*RemoveServerRequest) Validate ¶
func (m *RemoveServerRequest) Validate() error
Validate checks the field values on RemoveServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveServerRequest) ValidateAll ¶
func (m *RemoveServerRequest) ValidateAll() error
ValidateAll checks the field values on RemoveServerRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveServerRequestMultiError, or nil if none found.
type RemoveServerRequestMultiError ¶
type RemoveServerRequestMultiError []error
RemoveServerRequestMultiError is an error wrapping multiple validation errors returned by RemoveServerRequest.ValidateAll() if the designated constraints aren't met.
func (RemoveServerRequestMultiError) AllErrors ¶
func (m RemoveServerRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveServerRequestMultiError) Error ¶
func (m RemoveServerRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveServerRequestValidationError ¶
type RemoveServerRequestValidationError struct {
// contains filtered or unexported fields
}
RemoveServerRequestValidationError is the validation error returned by RemoveServerRequest.Validate if the designated constraints aren't met.
func (RemoveServerRequestValidationError) Cause ¶
func (e RemoveServerRequestValidationError) Cause() error
Cause function returns cause value.
func (RemoveServerRequestValidationError) Error ¶
func (e RemoveServerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveServerRequestValidationError) ErrorName ¶
func (e RemoveServerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveServerRequestValidationError) Field ¶
func (e RemoveServerRequestValidationError) Field() string
Field function returns field value.
func (RemoveServerRequestValidationError) Key ¶
func (e RemoveServerRequestValidationError) Key() bool
Key function returns key value.
func (RemoveServerRequestValidationError) Reason ¶
func (e RemoveServerRequestValidationError) Reason() string
Reason function returns reason value.
type ShutdownRequest ¶
type ShutdownRequest struct {
// contains filtered or unexported fields
}
func (*ShutdownRequest) Descriptor
deprecated
func (*ShutdownRequest) Descriptor() ([]byte, []int)
Deprecated: Use ShutdownRequest.ProtoReflect.Descriptor instead.
func (*ShutdownRequest) ProtoMessage ¶
func (*ShutdownRequest) ProtoMessage()
func (*ShutdownRequest) ProtoReflect ¶
func (x *ShutdownRequest) ProtoReflect() protoreflect.Message
func (*ShutdownRequest) Reset ¶
func (x *ShutdownRequest) Reset()
func (*ShutdownRequest) String ¶
func (x *ShutdownRequest) String() string
func (*ShutdownRequest) Validate ¶
func (m *ShutdownRequest) Validate() error
Validate checks the field values on ShutdownRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ShutdownRequest) ValidateAll ¶
func (m *ShutdownRequest) ValidateAll() error
ValidateAll checks the field values on ShutdownRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ShutdownRequestMultiError, or nil if none found.
type ShutdownRequestMultiError ¶
type ShutdownRequestMultiError []error
ShutdownRequestMultiError is an error wrapping multiple validation errors returned by ShutdownRequest.ValidateAll() if the designated constraints aren't met.
func (ShutdownRequestMultiError) AllErrors ¶
func (m ShutdownRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ShutdownRequestMultiError) Error ¶
func (m ShutdownRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ShutdownRequestValidationError ¶
type ShutdownRequestValidationError struct {
// contains filtered or unexported fields
}
ShutdownRequestValidationError is the validation error returned by ShutdownRequest.Validate if the designated constraints aren't met.
func (ShutdownRequestValidationError) Cause ¶
func (e ShutdownRequestValidationError) Cause() error
Cause function returns cause value.
func (ShutdownRequestValidationError) Error ¶
func (e ShutdownRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ShutdownRequestValidationError) ErrorName ¶
func (e ShutdownRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ShutdownRequestValidationError) Field ¶
func (e ShutdownRequestValidationError) Field() string
Field function returns field value.
func (ShutdownRequestValidationError) Key ¶
func (e ShutdownRequestValidationError) Key() bool
Key function returns key value.
func (ShutdownRequestValidationError) Reason ¶
func (e ShutdownRequestValidationError) Reason() string
Reason function returns reason value.
type SnapshotRequest ¶
type SnapshotRequest struct {
// contains filtered or unexported fields
}
func (*SnapshotRequest) Descriptor
deprecated
func (*SnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotRequest.ProtoReflect.Descriptor instead.
func (*SnapshotRequest) ProtoMessage ¶
func (*SnapshotRequest) ProtoMessage()
func (*SnapshotRequest) ProtoReflect ¶
func (x *SnapshotRequest) ProtoReflect() protoreflect.Message
func (*SnapshotRequest) Reset ¶
func (x *SnapshotRequest) Reset()
func (*SnapshotRequest) String ¶
func (x *SnapshotRequest) String() string
func (*SnapshotRequest) Validate ¶
func (m *SnapshotRequest) Validate() error
Validate checks the field values on SnapshotRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SnapshotRequest) ValidateAll ¶
func (m *SnapshotRequest) ValidateAll() error
ValidateAll checks the field values on SnapshotRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SnapshotRequestMultiError, or nil if none found.
type SnapshotRequestMultiError ¶
type SnapshotRequestMultiError []error
SnapshotRequestMultiError is an error wrapping multiple validation errors returned by SnapshotRequest.ValidateAll() if the designated constraints aren't met.
func (SnapshotRequestMultiError) AllErrors ¶
func (m SnapshotRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SnapshotRequestMultiError) Error ¶
func (m SnapshotRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SnapshotRequestValidationError ¶
type SnapshotRequestValidationError struct {
// contains filtered or unexported fields
}
SnapshotRequestValidationError is the validation error returned by SnapshotRequest.Validate if the designated constraints aren't met.
func (SnapshotRequestValidationError) Cause ¶
func (e SnapshotRequestValidationError) Cause() error
Cause function returns cause value.
func (SnapshotRequestValidationError) Error ¶
func (e SnapshotRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SnapshotRequestValidationError) ErrorName ¶
func (e SnapshotRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SnapshotRequestValidationError) Field ¶
func (e SnapshotRequestValidationError) Field() string
Field function returns field value.
func (SnapshotRequestValidationError) Key ¶
func (e SnapshotRequestValidationError) Key() bool
Key function returns key value.
func (SnapshotRequestValidationError) Reason ¶
func (e SnapshotRequestValidationError) Reason() string
Reason function returns reason value.
type StateRequest ¶
type StateRequest struct {
// contains filtered or unexported fields
}
func (*StateRequest) Descriptor
deprecated
func (*StateRequest) Descriptor() ([]byte, []int)
Deprecated: Use StateRequest.ProtoReflect.Descriptor instead.
func (*StateRequest) ProtoMessage ¶
func (*StateRequest) ProtoMessage()
func (*StateRequest) ProtoReflect ¶
func (x *StateRequest) ProtoReflect() protoreflect.Message
func (*StateRequest) Reset ¶
func (x *StateRequest) Reset()
func (*StateRequest) String ¶
func (x *StateRequest) String() string
func (*StateRequest) Validate ¶
func (m *StateRequest) Validate() error
Validate checks the field values on StateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StateRequest) ValidateAll ¶
func (m *StateRequest) ValidateAll() error
ValidateAll checks the field values on StateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StateRequestMultiError, or nil if none found.
type StateRequestMultiError ¶
type StateRequestMultiError []error
StateRequestMultiError is an error wrapping multiple validation errors returned by StateRequest.ValidateAll() if the designated constraints aren't met.
func (StateRequestMultiError) AllErrors ¶
func (m StateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StateRequestMultiError) Error ¶
func (m StateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StateRequestValidationError ¶
type StateRequestValidationError struct {
// contains filtered or unexported fields
}
StateRequestValidationError is the validation error returned by StateRequest.Validate if the designated constraints aren't met.
func (StateRequestValidationError) Cause ¶
func (e StateRequestValidationError) Cause() error
Cause function returns cause value.
func (StateRequestValidationError) Error ¶
func (e StateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StateRequestValidationError) ErrorName ¶
func (e StateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StateRequestValidationError) Field ¶
func (e StateRequestValidationError) Field() string
Field function returns field value.
func (StateRequestValidationError) Key ¶
func (e StateRequestValidationError) Key() bool
Key function returns key value.
func (StateRequestValidationError) Reason ¶
func (e StateRequestValidationError) Reason() string
Reason function returns reason value.
type StateResponse ¶
type StateResponse struct { State StateResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=admin.v1.StateResponse_State" json:"state,omitempty"` // contains filtered or unexported fields }
func (*StateResponse) Descriptor
deprecated
func (*StateResponse) Descriptor() ([]byte, []int)
Deprecated: Use StateResponse.ProtoReflect.Descriptor instead.
func (*StateResponse) GetState ¶
func (x *StateResponse) GetState() StateResponse_State
func (*StateResponse) ProtoMessage ¶
func (*StateResponse) ProtoMessage()
func (*StateResponse) ProtoReflect ¶
func (x *StateResponse) ProtoReflect() protoreflect.Message
func (*StateResponse) Reset ¶
func (x *StateResponse) Reset()
func (*StateResponse) String ¶
func (x *StateResponse) String() string
func (*StateResponse) Validate ¶
func (m *StateResponse) Validate() error
Validate checks the field values on StateResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*StateResponse) ValidateAll ¶
func (m *StateResponse) ValidateAll() error
ValidateAll checks the field values on StateResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in StateResponseMultiError, or nil if none found.
type StateResponseMultiError ¶
type StateResponseMultiError []error
StateResponseMultiError is an error wrapping multiple validation errors returned by StateResponse.ValidateAll() if the designated constraints aren't met.
func (StateResponseMultiError) AllErrors ¶
func (m StateResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StateResponseMultiError) Error ¶
func (m StateResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StateResponseValidationError ¶
type StateResponseValidationError struct {
// contains filtered or unexported fields
}
StateResponseValidationError is the validation error returned by StateResponse.Validate if the designated constraints aren't met.
func (StateResponseValidationError) Cause ¶
func (e StateResponseValidationError) Cause() error
Cause function returns cause value.
func (StateResponseValidationError) Error ¶
func (e StateResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StateResponseValidationError) ErrorName ¶
func (e StateResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StateResponseValidationError) Field ¶
func (e StateResponseValidationError) Field() string
Field function returns field value.
func (StateResponseValidationError) Key ¶
func (e StateResponseValidationError) Key() bool
Key function returns key value.
func (StateResponseValidationError) Reason ¶
func (e StateResponseValidationError) Reason() string
Reason function returns reason value.
type StateResponse_State ¶
type StateResponse_State int32
const ( StateResponse_FOLLOWER StateResponse_State = 0 StateResponse_CANDIDATE StateResponse_State = 1 StateResponse_LEADER StateResponse_State = 2 StateResponse_SHUTDOWN StateResponse_State = 3 )
func (StateResponse_State) Descriptor ¶
func (StateResponse_State) Descriptor() protoreflect.EnumDescriptor
func (StateResponse_State) Enum ¶
func (x StateResponse_State) Enum() *StateResponse_State
func (StateResponse_State) EnumDescriptor
deprecated
func (StateResponse_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use StateResponse_State.Descriptor instead.
func (StateResponse_State) Number ¶
func (x StateResponse_State) Number() protoreflect.EnumNumber
func (StateResponse_State) String ¶
func (x StateResponse_State) String() string
func (StateResponse_State) Type ¶
func (StateResponse_State) Type() protoreflect.EnumType
type UnimplementedAdminServiceServer ¶
type UnimplementedAdminServiceServer struct { }
UnimplementedAdminServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedAdminServiceServer) AddNonvoter ¶
func (UnimplementedAdminServiceServer) AddNonvoter(context.Context, *AddNonvoterRequest) (*Future, error)
func (UnimplementedAdminServiceServer) AddVoter ¶
func (UnimplementedAdminServiceServer) AddVoter(context.Context, *AddVoterRequest) (*Future, error)
func (UnimplementedAdminServiceServer) AppliedIndex ¶
func (UnimplementedAdminServiceServer) AppliedIndex(context.Context, *AppliedIndexRequest) (*AppliedIndexResponse, error)
func (UnimplementedAdminServiceServer) Await ¶
func (UnimplementedAdminServiceServer) Await(context.Context, *Future) (*AwaitResponse, error)
func (UnimplementedAdminServiceServer) DemoteVoter ¶
func (UnimplementedAdminServiceServer) DemoteVoter(context.Context, *DemoteVoterRequest) (*Future, error)
func (UnimplementedAdminServiceServer) Forget ¶
func (UnimplementedAdminServiceServer) Forget(context.Context, *Future) (*ForgetResponse, error)
func (UnimplementedAdminServiceServer) GetConfiguration ¶
func (UnimplementedAdminServiceServer) GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
func (UnimplementedAdminServiceServer) Join ¶
func (UnimplementedAdminServiceServer) Join(context.Context, *JoinRequest) (*emptypb.Empty, error)
func (UnimplementedAdminServiceServer) LastContact ¶
func (UnimplementedAdminServiceServer) LastContact(context.Context, *LastContactRequest) (*LastContactResponse, error)
func (UnimplementedAdminServiceServer) LastIndex ¶
func (UnimplementedAdminServiceServer) LastIndex(context.Context, *LastIndexRequest) (*LastIndexResponse, error)
func (UnimplementedAdminServiceServer) Leader ¶
func (UnimplementedAdminServiceServer) Leader(context.Context, *LeaderRequest) (*LeaderResponse, error)
func (UnimplementedAdminServiceServer) LeadershipTransfer ¶
func (UnimplementedAdminServiceServer) LeadershipTransfer(context.Context, *LeadershipTransferRequest) (*Future, error)
func (UnimplementedAdminServiceServer) LeadershipTransferToServer ¶
func (UnimplementedAdminServiceServer) LeadershipTransferToServer(context.Context, *LeadershipTransferToServerRequest) (*Future, error)
func (UnimplementedAdminServiceServer) RemoveServer ¶
func (UnimplementedAdminServiceServer) RemoveServer(context.Context, *RemoveServerRequest) (*Future, error)
func (UnimplementedAdminServiceServer) Shutdown ¶
func (UnimplementedAdminServiceServer) Shutdown(context.Context, *ShutdownRequest) (*Future, error)
func (UnimplementedAdminServiceServer) Snapshot ¶
func (UnimplementedAdminServiceServer) Snapshot(context.Context, *SnapshotRequest) (*Future, error)
func (UnimplementedAdminServiceServer) State ¶
func (UnimplementedAdminServiceServer) State(context.Context, *StateRequest) (*StateResponse, error)
func (UnimplementedAdminServiceServer) VerifyLeader ¶
func (UnimplementedAdminServiceServer) VerifyLeader(context.Context, *VerifyLeaderRequest) (*Future, error)
type UnsafeAdminServiceServer ¶
type UnsafeAdminServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServiceServer will result in compilation errors.
type VerifyLeaderRequest ¶
type VerifyLeaderRequest struct {
// contains filtered or unexported fields
}
func (*VerifyLeaderRequest) Descriptor
deprecated
func (*VerifyLeaderRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyLeaderRequest.ProtoReflect.Descriptor instead.
func (*VerifyLeaderRequest) ProtoMessage ¶
func (*VerifyLeaderRequest) ProtoMessage()
func (*VerifyLeaderRequest) ProtoReflect ¶
func (x *VerifyLeaderRequest) ProtoReflect() protoreflect.Message
func (*VerifyLeaderRequest) Reset ¶
func (x *VerifyLeaderRequest) Reset()
func (*VerifyLeaderRequest) String ¶
func (x *VerifyLeaderRequest) String() string
func (*VerifyLeaderRequest) Validate ¶
func (m *VerifyLeaderRequest) Validate() error
Validate checks the field values on VerifyLeaderRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*VerifyLeaderRequest) ValidateAll ¶
func (m *VerifyLeaderRequest) ValidateAll() error
ValidateAll checks the field values on VerifyLeaderRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VerifyLeaderRequestMultiError, or nil if none found.
type VerifyLeaderRequestMultiError ¶
type VerifyLeaderRequestMultiError []error
VerifyLeaderRequestMultiError is an error wrapping multiple validation errors returned by VerifyLeaderRequest.ValidateAll() if the designated constraints aren't met.
func (VerifyLeaderRequestMultiError) AllErrors ¶
func (m VerifyLeaderRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VerifyLeaderRequestMultiError) Error ¶
func (m VerifyLeaderRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VerifyLeaderRequestValidationError ¶
type VerifyLeaderRequestValidationError struct {
// contains filtered or unexported fields
}
VerifyLeaderRequestValidationError is the validation error returned by VerifyLeaderRequest.Validate if the designated constraints aren't met.
func (VerifyLeaderRequestValidationError) Cause ¶
func (e VerifyLeaderRequestValidationError) Cause() error
Cause function returns cause value.
func (VerifyLeaderRequestValidationError) Error ¶
func (e VerifyLeaderRequestValidationError) Error() string
Error satisfies the builtin error interface
func (VerifyLeaderRequestValidationError) ErrorName ¶
func (e VerifyLeaderRequestValidationError) ErrorName() string
ErrorName returns error name.
func (VerifyLeaderRequestValidationError) Field ¶
func (e VerifyLeaderRequestValidationError) Field() string
Field function returns field value.
func (VerifyLeaderRequestValidationError) Key ¶
func (e VerifyLeaderRequestValidationError) Key() bool
Key function returns key value.
func (VerifyLeaderRequestValidationError) Reason ¶
func (e VerifyLeaderRequestValidationError) Reason() string
Reason function returns reason value.