adminv1

package
v0.0.0-...-5aa5535 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

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

View Source
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

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

Cause function returns cause value.

func (AddNonvoterRequestValidationError) Error

Error satisfies the builtin error interface

func (AddNonvoterRequestValidationError) ErrorName

ErrorName returns error name.

func (AddNonvoterRequestValidationError) Field

Field function returns field value.

func (AddNonvoterRequestValidationError) Key

Key function returns key value.

func (AddNonvoterRequestValidationError) Reason

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

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

Cause function returns cause value.

func (AddVoterRequestValidationError) Error

Error satisfies the builtin error interface

func (AddVoterRequestValidationError) ErrorName

func (e AddVoterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AddVoterRequestValidationError) Field

Field function returns field value.

func (AddVoterRequestValidationError) Key

Key function returns key value.

func (AddVoterRequestValidationError) Reason

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.

type AdminServiceServer

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

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

Cause function returns cause value.

func (AppliedIndexRequestValidationError) Error

Error satisfies the builtin error interface

func (AppliedIndexRequestValidationError) ErrorName

ErrorName returns error name.

func (AppliedIndexRequestValidationError) Field

Field function returns field value.

func (AppliedIndexRequestValidationError) Key

Key function returns key value.

func (AppliedIndexRequestValidationError) Reason

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

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

Cause function returns cause value.

func (AppliedIndexResponseValidationError) Error

Error satisfies the builtin error interface

func (AppliedIndexResponseValidationError) ErrorName

ErrorName returns error name.

func (AppliedIndexResponseValidationError) Field

Field function returns field value.

func (AppliedIndexResponseValidationError) Key

Key function returns key value.

func (AppliedIndexResponseValidationError) Reason

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

Cause function returns cause value.

func (AwaitResponseValidationError) Error

Error satisfies the builtin error interface

func (AwaitResponseValidationError) ErrorName

func (e AwaitResponseValidationError) ErrorName() string

ErrorName returns error name.

func (AwaitResponseValidationError) Field

Field function returns field value.

func (AwaitResponseValidationError) Key

Key function returns key value.

func (AwaitResponseValidationError) Reason

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

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

Cause function returns cause value.

func (DemoteVoterRequestValidationError) Error

Error satisfies the builtin error interface

func (DemoteVoterRequestValidationError) ErrorName

ErrorName returns error name.

func (DemoteVoterRequestValidationError) Field

Field function returns field value.

func (DemoteVoterRequestValidationError) Key

Key function returns key value.

func (DemoteVoterRequestValidationError) Reason

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

Cause function returns cause value.

func (ForgetResponseValidationError) Error

Error satisfies the builtin error interface

func (ForgetResponseValidationError) ErrorName

func (e ForgetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ForgetResponseValidationError) Field

Field function returns field value.

func (ForgetResponseValidationError) Key

Key function returns key value.

func (ForgetResponseValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use Future.ProtoReflect.Descriptor instead.

func (*Future) GetOperationToken

func (x *Future) GetOperationToken() string

func (*Future) ProtoMessage

func (*Future) ProtoMessage()

func (*Future) ProtoReflect

func (x *Future) ProtoReflect() protoreflect.Message

func (*Future) Reset

func (x *Future) Reset()

func (*Future) String

func (x *Future) String() string

func (*Future) Validate

func (m *Future) Validate() error

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

func (m *Future) ValidateAll() error

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

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

Cause function returns cause value.

func (GetConfigurationRequestValidationError) Error

Error satisfies the builtin error interface

func (GetConfigurationRequestValidationError) ErrorName

ErrorName returns error name.

func (GetConfigurationRequestValidationError) Field

Field function returns field value.

func (GetConfigurationRequestValidationError) Key

Key function returns key value.

func (GetConfigurationRequestValidationError) Reason

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 (*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

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

Cause function returns cause value.

func (GetConfigurationResponseValidationError) Error

Error satisfies the builtin error interface

func (GetConfigurationResponseValidationError) ErrorName

ErrorName returns error name.

func (GetConfigurationResponseValidationError) Field

Field function returns field value.

func (GetConfigurationResponseValidationError) Key

Key function returns key value.

func (GetConfigurationResponseValidationError) Reason

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 (*GetConfigurationResponse_Server) GetSuffrage

func (*GetConfigurationResponse_Server) ProtoMessage

func (*GetConfigurationResponse_Server) ProtoMessage()

func (*GetConfigurationResponse_Server) ProtoReflect

func (*GetConfigurationResponse_Server) Reset

func (*GetConfigurationResponse_Server) 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

AllErrors returns a list of validation violation errors.

func (GetConfigurationResponse_ServerMultiError) Error

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

Cause function returns cause value.

func (GetConfigurationResponse_ServerValidationError) Error

Error satisfies the builtin error interface

func (GetConfigurationResponse_ServerValidationError) ErrorName

ErrorName returns error name.

func (GetConfigurationResponse_ServerValidationError) Field

Field function returns field value.

func (GetConfigurationResponse_ServerValidationError) Key

Key function returns key value.

func (GetConfigurationResponse_ServerValidationError) Reason

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

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 (GetConfigurationResponse_Server_Suffrage) String

func (GetConfigurationResponse_Server_Suffrage) Type

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

Cause function returns cause value.

func (JoinRequestValidationError) Error

Error satisfies the builtin error interface

func (JoinRequestValidationError) ErrorName

func (e JoinRequestValidationError) ErrorName() string

ErrorName returns error name.

func (JoinRequestValidationError) Field

Field function returns field value.

func (JoinRequestValidationError) Key

Key function returns key value.

func (JoinRequestValidationError) Reason

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

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

Cause function returns cause value.

func (LastContactRequestValidationError) Error

Error satisfies the builtin error interface

func (LastContactRequestValidationError) ErrorName

ErrorName returns error name.

func (LastContactRequestValidationError) Field

Field function returns field value.

func (LastContactRequestValidationError) Key

Key function returns key value.

func (LastContactRequestValidationError) Reason

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

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

Cause function returns cause value.

func (LastContactResponseValidationError) Error

Error satisfies the builtin error interface

func (LastContactResponseValidationError) ErrorName

ErrorName returns error name.

func (LastContactResponseValidationError) Field

Field function returns field value.

func (LastContactResponseValidationError) Key

Key function returns key value.

func (LastContactResponseValidationError) Reason

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

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

Cause function returns cause value.

func (LastIndexRequestValidationError) Error

Error satisfies the builtin error interface

func (LastIndexRequestValidationError) ErrorName

ErrorName returns error name.

func (LastIndexRequestValidationError) Field

Field function returns field value.

func (LastIndexRequestValidationError) Key

Key function returns key value.

func (LastIndexRequestValidationError) Reason

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

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

Cause function returns cause value.

func (LastIndexResponseValidationError) Error

Error satisfies the builtin error interface

func (LastIndexResponseValidationError) ErrorName

ErrorName returns error name.

func (LastIndexResponseValidationError) Field

Field function returns field value.

func (LastIndexResponseValidationError) Key

Key function returns key value.

func (LastIndexResponseValidationError) Reason

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

Cause function returns cause value.

func (LeaderRequestValidationError) Error

Error satisfies the builtin error interface

func (LeaderRequestValidationError) ErrorName

func (e LeaderRequestValidationError) ErrorName() string

ErrorName returns error name.

func (LeaderRequestValidationError) Field

Field function returns field value.

func (LeaderRequestValidationError) Key

Key function returns key value.

func (LeaderRequestValidationError) Reason

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

Cause function returns cause value.

func (LeaderResponseValidationError) Error

Error satisfies the builtin error interface

func (LeaderResponseValidationError) ErrorName

func (e LeaderResponseValidationError) ErrorName() string

ErrorName returns error name.

func (LeaderResponseValidationError) Field

Field function returns field value.

func (LeaderResponseValidationError) Key

Key function returns key value.

func (LeaderResponseValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (LeadershipTransferRequestMultiError) Error

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

Cause function returns cause value.

func (LeadershipTransferRequestValidationError) Error

Error satisfies the builtin error interface

func (LeadershipTransferRequestValidationError) ErrorName

ErrorName returns error name.

func (LeadershipTransferRequestValidationError) Field

Field function returns field value.

func (LeadershipTransferRequestValidationError) Key

Key function returns key value.

func (LeadershipTransferRequestValidationError) Reason

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 (*LeadershipTransferToServerRequest) ProtoMessage

func (*LeadershipTransferToServerRequest) ProtoMessage()

func (*LeadershipTransferToServerRequest) ProtoReflect

func (*LeadershipTransferToServerRequest) Reset

func (*LeadershipTransferToServerRequest) String

func (*LeadershipTransferToServerRequest) Validate

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

AllErrors returns a list of validation violation errors.

func (LeadershipTransferToServerRequestMultiError) Error

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

Cause function returns cause value.

func (LeadershipTransferToServerRequestValidationError) Error

Error satisfies the builtin error interface

func (LeadershipTransferToServerRequestValidationError) ErrorName

ErrorName returns error name.

func (LeadershipTransferToServerRequestValidationError) Field

Field function returns field value.

func (LeadershipTransferToServerRequestValidationError) Key

Key function returns key value.

func (LeadershipTransferToServerRequestValidationError) Reason

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

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

Cause function returns cause value.

func (RemoveServerRequestValidationError) Error

Error satisfies the builtin error interface

func (RemoveServerRequestValidationError) ErrorName

ErrorName returns error name.

func (RemoveServerRequestValidationError) Field

Field function returns field value.

func (RemoveServerRequestValidationError) Key

Key function returns key value.

func (RemoveServerRequestValidationError) Reason

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

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

Cause function returns cause value.

func (ShutdownRequestValidationError) Error

Error satisfies the builtin error interface

func (ShutdownRequestValidationError) ErrorName

func (e ShutdownRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ShutdownRequestValidationError) Field

Field function returns field value.

func (ShutdownRequestValidationError) Key

Key function returns key value.

func (ShutdownRequestValidationError) Reason

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

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

Cause function returns cause value.

func (SnapshotRequestValidationError) Error

Error satisfies the builtin error interface

func (SnapshotRequestValidationError) ErrorName

func (e SnapshotRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SnapshotRequestValidationError) Field

Field function returns field value.

func (SnapshotRequestValidationError) Key

Key function returns key value.

func (SnapshotRequestValidationError) Reason

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

Cause function returns cause value.

func (StateRequestValidationError) Error

Error satisfies the builtin error interface

func (StateRequestValidationError) ErrorName

func (e StateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (StateRequestValidationError) Field

Field function returns field value.

func (StateRequestValidationError) Key

Key function returns key value.

func (StateRequestValidationError) Reason

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

Cause function returns cause value.

func (StateResponseValidationError) Error

Error satisfies the builtin error interface

func (StateResponseValidationError) ErrorName

func (e StateResponseValidationError) ErrorName() string

ErrorName returns error name.

func (StateResponseValidationError) Field

Field function returns field value.

func (StateResponseValidationError) Key

Key function returns key value.

func (StateResponseValidationError) Reason

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

func (StateResponse_State) EnumDescriptor deprecated

func (StateResponse_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use StateResponse_State.Descriptor instead.

func (StateResponse_State) Number

func (StateResponse_State) String

func (x StateResponse_State) String() string

func (StateResponse_State) Type

type UnimplementedAdminServiceServer

type UnimplementedAdminServiceServer struct {
}

UnimplementedAdminServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedAdminServiceServer) AddNonvoter

func (UnimplementedAdminServiceServer) AddVoter

func (UnimplementedAdminServiceServer) AppliedIndex

func (UnimplementedAdminServiceServer) Await

func (UnimplementedAdminServiceServer) Bootstrap

func (UnimplementedAdminServiceServer) DemoteVoter

func (UnimplementedAdminServiceServer) Forget

func (UnimplementedAdminServiceServer) GetConfiguration

func (UnimplementedAdminServiceServer) Join

func (UnimplementedAdminServiceServer) LastContact

func (UnimplementedAdminServiceServer) LastIndex

func (UnimplementedAdminServiceServer) Leader

func (UnimplementedAdminServiceServer) LeadershipTransfer

func (UnimplementedAdminServiceServer) LeadershipTransferToServer

func (UnimplementedAdminServiceServer) RemoveServer

func (UnimplementedAdminServiceServer) Shutdown

func (UnimplementedAdminServiceServer) Snapshot

func (UnimplementedAdminServiceServer) State

func (UnimplementedAdminServiceServer) VerifyLeader

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

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

Cause function returns cause value.

func (VerifyLeaderRequestValidationError) Error

Error satisfies the builtin error interface

func (VerifyLeaderRequestValidationError) ErrorName

ErrorName returns error name.

func (VerifyLeaderRequestValidationError) Field

Field function returns field value.

func (VerifyLeaderRequestValidationError) Key

Key function returns key value.

func (VerifyLeaderRequestValidationError) Reason

Reason function returns reason value.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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