v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2025 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Gateway_GetVersion_FullMethodName         = "/gateway.v1.Gateway/GetVersion"
	Gateway_GetIdempotentToken_FullMethodName = "/gateway.v1.Gateway/GetIdempotentToken"
	Gateway_CreateMinerSet_FullMethodName     = "/gateway.v1.Gateway/CreateMinerSet"
	Gateway_UpdateMinerSet_FullMethodName     = "/gateway.v1.Gateway/UpdateMinerSet"
	Gateway_DeleteMinerSet_FullMethodName     = "/gateway.v1.Gateway/DeleteMinerSet"
	Gateway_GetMinerSet_FullMethodName        = "/gateway.v1.Gateway/GetMinerSet"
	Gateway_ListMinerSet_FullMethodName       = "/gateway.v1.Gateway/ListMinerSet"
	Gateway_ScaleMinerSet_FullMethodName      = "/gateway.v1.Gateway/ScaleMinerSet"
	Gateway_CreateMiner_FullMethodName        = "/gateway.v1.Gateway/CreateMiner"
	Gateway_UpdateMiner_FullMethodName        = "/gateway.v1.Gateway/UpdateMiner"
	Gateway_DeleteMiner_FullMethodName        = "/gateway.v1.Gateway/DeleteMiner"
	Gateway_GetMiner_FullMethodName           = "/gateway.v1.Gateway/GetMiner"
	Gateway_ListMiner_FullMethodName          = "/gateway.v1.Gateway/ListMiner"
)
View Source
const OperationGatewayCreateMiner = "/gateway.v1.Gateway/CreateMiner"
View Source
const OperationGatewayCreateMinerSet = "/gateway.v1.Gateway/CreateMinerSet"
View Source
const OperationGatewayDeleteMiner = "/gateway.v1.Gateway/DeleteMiner"
View Source
const OperationGatewayDeleteMinerSet = "/gateway.v1.Gateway/DeleteMinerSet"
View Source
const OperationGatewayGetIdempotentToken = "/gateway.v1.Gateway/GetIdempotentToken"
View Source
const OperationGatewayGetMiner = "/gateway.v1.Gateway/GetMiner"
View Source
const OperationGatewayGetMinerSet = "/gateway.v1.Gateway/GetMinerSet"
View Source
const OperationGatewayGetVersion = "/gateway.v1.Gateway/GetVersion"
View Source
const OperationGatewayListMiner = "/gateway.v1.Gateway/ListMiner"
View Source
const OperationGatewayListMinerSet = "/gateway.v1.Gateway/ListMinerSet"
View Source
const OperationGatewayScaleMinerSet = "/gateway.v1.Gateway/ScaleMinerSet"
View Source
const OperationGatewayUpdateMiner = "/gateway.v1.Gateway/UpdateMiner"
View Source
const OperationGatewayUpdateMinerSet = "/gateway.v1.Gateway/UpdateMinerSet"

Variables

View Source
var (
	ErrorReason_name = map[int32]string{
		0: "UserLoginFailed",
		1: "UserAlreadyExists",
		2: "UserNotFound",
		3: "UserCreateFailed",
	}
	ErrorReason_value = map[string]int32{
		"UserLoginFailed":   0,
		"UserAlreadyExists": 1,
		"UserNotFound":      2,
		"UserCreateFailed":  3,
	}
)

Enum value maps for ErrorReason.

View Source
var File_gateway_v1_errors_proto protoreflect.FileDescriptor
View Source
var File_gateway_v1_gateway_proto protoreflect.FileDescriptor
View Source
var File_gateway_v1_miner_proto protoreflect.FileDescriptor
View Source
var File_gateway_v1_minerset_proto protoreflect.FileDescriptor
View Source
var Gateway_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "gateway.v1.Gateway",
	HandlerType: (*GatewayServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetVersion",
			Handler:    _Gateway_GetVersion_Handler,
		},
		{
			MethodName: "GetIdempotentToken",
			Handler:    _Gateway_GetIdempotentToken_Handler,
		},
		{
			MethodName: "CreateMinerSet",
			Handler:    _Gateway_CreateMinerSet_Handler,
		},
		{
			MethodName: "UpdateMinerSet",
			Handler:    _Gateway_UpdateMinerSet_Handler,
		},
		{
			MethodName: "DeleteMinerSet",
			Handler:    _Gateway_DeleteMinerSet_Handler,
		},
		{
			MethodName: "GetMinerSet",
			Handler:    _Gateway_GetMinerSet_Handler,
		},
		{
			MethodName: "ListMinerSet",
			Handler:    _Gateway_ListMinerSet_Handler,
		},
		{
			MethodName: "ScaleMinerSet",
			Handler:    _Gateway_ScaleMinerSet_Handler,
		},
		{
			MethodName: "CreateMiner",
			Handler:    _Gateway_CreateMiner_Handler,
		},
		{
			MethodName: "UpdateMiner",
			Handler:    _Gateway_UpdateMiner_Handler,
		},
		{
			MethodName: "DeleteMiner",
			Handler:    _Gateway_DeleteMiner_Handler,
		},
		{
			MethodName: "GetMiner",
			Handler:    _Gateway_GetMiner_Handler,
		},
		{
			MethodName: "ListMiner",
			Handler:    _Gateway_ListMiner_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "gateway/v1/gateway.proto",
}

Gateway_ServiceDesc is the grpc.ServiceDesc for Gateway service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func ErrorUserAlreadyExists

func ErrorUserAlreadyExists(format string, args ...interface{}) *errors.Error

用户已存在错误

func ErrorUserCreateFailed

func ErrorUserCreateFailed(format string, args ...interface{}) *errors.Error

创建用户失败错误

func ErrorUserLoginFailed

func ErrorUserLoginFailed(format string, args ...interface{}) *errors.Error

用户登录失败,可能是用户名或密码不对

func ErrorUserNotFound

func ErrorUserNotFound(format string, args ...interface{}) *errors.Error

用户未找到错误

func IsUserAlreadyExists

func IsUserAlreadyExists(err error) bool

用户已存在错误

func IsUserCreateFailed

func IsUserCreateFailed(err error) bool

创建用户失败错误

func IsUserLoginFailed

func IsUserLoginFailed(err error) bool

用户登录失败,可能是用户名或密码不对

func IsUserNotFound

func IsUserNotFound(err error) bool

用户未找到错误

func RegisterGatewayHTTPServer

func RegisterGatewayHTTPServer(s *http.Server, srv GatewayHTTPServer)

func RegisterGatewayServer

func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)

Types

type CreateMinerRequest

type CreateMinerRequest struct {
	DisplayName string `protobuf:"bytes,1,opt,name=displayName,proto3" json:"displayName,omitempty"`
	MinerType   string `protobuf:"bytes,2,opt,name=minerType,proto3" json:"minerType,omitempty"`
	ChainName   string `protobuf:"bytes,3,opt,name=chainName,proto3" json:"chainName,omitempty"`
	DataDir     string `protobuf:"bytes,4,opt,name=dataDir,proto3" json:"dataDir,omitempty"`
	// contains filtered or unexported fields
}

CreateMinerRequest represents the request message for creating a new miner.

func (*CreateMinerRequest) DeepCopy

func (in *CreateMinerRequest) DeepCopy() *CreateMinerRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateMinerRequest. Required by controller-gen.

func (*CreateMinerRequest) DeepCopyInterface

func (in *CreateMinerRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CreateMinerRequest. Required by controller-gen.

func (*CreateMinerRequest) DeepCopyInto

func (in *CreateMinerRequest) DeepCopyInto(out *CreateMinerRequest)

DeepCopyInto supports using CreateMinerRequest within kubernetes types, where deepcopy-gen is used.

func (*CreateMinerRequest) Default

func (x *CreateMinerRequest) Default()

func (*CreateMinerRequest) Descriptor deprecated

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

Deprecated: Use CreateMinerRequest.ProtoReflect.Descriptor instead.

func (*CreateMinerRequest) GetChainName

func (x *CreateMinerRequest) GetChainName() string

func (*CreateMinerRequest) GetDataDir

func (x *CreateMinerRequest) GetDataDir() string

func (*CreateMinerRequest) GetDisplayName

func (x *CreateMinerRequest) GetDisplayName() string

func (*CreateMinerRequest) GetMinerType

func (x *CreateMinerRequest) GetMinerType() string

func (*CreateMinerRequest) MarshalJSON

func (msg *CreateMinerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*CreateMinerRequest) ProtoMessage

func (*CreateMinerRequest) ProtoMessage()

func (*CreateMinerRequest) ProtoReflect

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

func (*CreateMinerRequest) Reset

func (x *CreateMinerRequest) Reset()

func (*CreateMinerRequest) String

func (x *CreateMinerRequest) String() string

func (*CreateMinerRequest) UnmarshalJSON

func (msg *CreateMinerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*CreateMinerRequest) Validate

func (m *CreateMinerRequest) Validate() error

Validate checks the field values on CreateMinerRequest 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 (*CreateMinerRequest) ValidateAll

func (m *CreateMinerRequest) ValidateAll() error

ValidateAll checks the field values on CreateMinerRequest 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 CreateMinerRequestMultiError, or nil if none found.

type CreateMinerRequestMultiError

type CreateMinerRequestMultiError []error

CreateMinerRequestMultiError is an error wrapping multiple validation errors returned by CreateMinerRequest.ValidateAll() if the designated constraints aren't met.

func (CreateMinerRequestMultiError) AllErrors

func (m CreateMinerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateMinerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateMinerRequestValidationError

type CreateMinerRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateMinerRequestValidationError is the validation error returned by CreateMinerRequest.Validate if the designated constraints aren't met.

func (CreateMinerRequestValidationError) Cause

Cause function returns cause value.

func (CreateMinerRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateMinerRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateMinerRequestValidationError) Field

Field function returns field value.

func (CreateMinerRequestValidationError) Key

Key function returns key value.

func (CreateMinerRequestValidationError) Reason

Reason function returns reason value.

type CreateMinerSetRequest

type CreateMinerSetRequest struct {
	Replicas      int32          `protobuf:"varint,1,opt,name=replicas,proto3" json:"replicas,omitempty"`
	DisplayName   string         `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
	DeletePolicy  string         `protobuf:"bytes,3,opt,name=deletePolicy,proto3" json:"deletePolicy,omitempty"`
	MinerTemplate *MinerTemplate `protobuf:"bytes,4,opt,name=MinerTemplate,proto3" json:"MinerTemplate,omitempty"`
	// contains filtered or unexported fields
}

CreateMinerSetRequest represents the request message for creating a new minerset.

func (*CreateMinerSetRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CreateMinerSetRequest. Required by controller-gen.

func (*CreateMinerSetRequest) DeepCopyInterface

func (in *CreateMinerSetRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new CreateMinerSetRequest. Required by controller-gen.

func (*CreateMinerSetRequest) DeepCopyInto

func (in *CreateMinerSetRequest) DeepCopyInto(out *CreateMinerSetRequest)

DeepCopyInto supports using CreateMinerSetRequest within kubernetes types, where deepcopy-gen is used.

func (*CreateMinerSetRequest) Default

func (x *CreateMinerSetRequest) Default()

func (*CreateMinerSetRequest) Descriptor deprecated

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

Deprecated: Use CreateMinerSetRequest.ProtoReflect.Descriptor instead.

func (*CreateMinerSetRequest) GetDeletePolicy

func (x *CreateMinerSetRequest) GetDeletePolicy() string

func (*CreateMinerSetRequest) GetDisplayName

func (x *CreateMinerSetRequest) GetDisplayName() string

func (*CreateMinerSetRequest) GetMinerTemplate

func (x *CreateMinerSetRequest) GetMinerTemplate() *MinerTemplate

func (*CreateMinerSetRequest) GetReplicas

func (x *CreateMinerSetRequest) GetReplicas() int32

func (*CreateMinerSetRequest) MarshalJSON

func (msg *CreateMinerSetRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*CreateMinerSetRequest) ProtoMessage

func (*CreateMinerSetRequest) ProtoMessage()

func (*CreateMinerSetRequest) ProtoReflect

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

func (*CreateMinerSetRequest) Reset

func (x *CreateMinerSetRequest) Reset()

func (*CreateMinerSetRequest) String

func (x *CreateMinerSetRequest) String() string

func (*CreateMinerSetRequest) UnmarshalJSON

func (msg *CreateMinerSetRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*CreateMinerSetRequest) Validate

func (m *CreateMinerSetRequest) Validate() error

Validate checks the field values on CreateMinerSetRequest 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 (*CreateMinerSetRequest) ValidateAll

func (m *CreateMinerSetRequest) ValidateAll() error

ValidateAll checks the field values on CreateMinerSetRequest 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 CreateMinerSetRequestMultiError, or nil if none found.

type CreateMinerSetRequestMultiError

type CreateMinerSetRequestMultiError []error

CreateMinerSetRequestMultiError is an error wrapping multiple validation errors returned by CreateMinerSetRequest.ValidateAll() if the designated constraints aren't met.

func (CreateMinerSetRequestMultiError) AllErrors

func (m CreateMinerSetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateMinerSetRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type CreateMinerSetRequestValidationError

type CreateMinerSetRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateMinerSetRequestValidationError is the validation error returned by CreateMinerSetRequest.Validate if the designated constraints aren't met.

func (CreateMinerSetRequestValidationError) Cause

Cause function returns cause value.

func (CreateMinerSetRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateMinerSetRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateMinerSetRequestValidationError) Field

Field function returns field value.

func (CreateMinerSetRequestValidationError) Key

Key function returns key value.

func (CreateMinerSetRequestValidationError) Reason

Reason function returns reason value.

type DeleteMinerRequest

type DeleteMinerRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteMinerRequest represents the request message for deleting one or more miners.

func (*DeleteMinerRequest) DeepCopy

func (in *DeleteMinerRequest) DeepCopy() *DeleteMinerRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteMinerRequest. Required by controller-gen.

func (*DeleteMinerRequest) DeepCopyInterface

func (in *DeleteMinerRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteMinerRequest. Required by controller-gen.

func (*DeleteMinerRequest) DeepCopyInto

func (in *DeleteMinerRequest) DeepCopyInto(out *DeleteMinerRequest)

DeepCopyInto supports using DeleteMinerRequest within kubernetes types, where deepcopy-gen is used.

func (*DeleteMinerRequest) Default

func (x *DeleteMinerRequest) Default()

func (*DeleteMinerRequest) Descriptor deprecated

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

Deprecated: Use DeleteMinerRequest.ProtoReflect.Descriptor instead.

func (*DeleteMinerRequest) GetName

func (x *DeleteMinerRequest) GetName() string

func (*DeleteMinerRequest) MarshalJSON

func (msg *DeleteMinerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteMinerRequest) ProtoMessage

func (*DeleteMinerRequest) ProtoMessage()

func (*DeleteMinerRequest) ProtoReflect

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

func (*DeleteMinerRequest) Reset

func (x *DeleteMinerRequest) Reset()

func (*DeleteMinerRequest) String

func (x *DeleteMinerRequest) String() string

func (*DeleteMinerRequest) UnmarshalJSON

func (msg *DeleteMinerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteMinerRequest) Validate

func (m *DeleteMinerRequest) Validate() error

Validate checks the field values on DeleteMinerRequest 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 (*DeleteMinerRequest) ValidateAll

func (m *DeleteMinerRequest) ValidateAll() error

ValidateAll checks the field values on DeleteMinerRequest 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 DeleteMinerRequestMultiError, or nil if none found.

type DeleteMinerRequestMultiError

type DeleteMinerRequestMultiError []error

DeleteMinerRequestMultiError is an error wrapping multiple validation errors returned by DeleteMinerRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteMinerRequestMultiError) AllErrors

func (m DeleteMinerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteMinerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteMinerRequestValidationError

type DeleteMinerRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteMinerRequestValidationError is the validation error returned by DeleteMinerRequest.Validate if the designated constraints aren't met.

func (DeleteMinerRequestValidationError) Cause

Cause function returns cause value.

func (DeleteMinerRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteMinerRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteMinerRequestValidationError) Field

Field function returns field value.

func (DeleteMinerRequestValidationError) Key

Key function returns key value.

func (DeleteMinerRequestValidationError) Reason

Reason function returns reason value.

type DeleteMinerResponse

type DeleteMinerResponse struct {
	// contains filtered or unexported fields
}

DeleteMinerResponse represents the response message for a successful miner deletion.

func (*DeleteMinerResponse) DeepCopy

func (in *DeleteMinerResponse) DeepCopy() *DeleteMinerResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteMinerResponse. Required by controller-gen.

func (*DeleteMinerResponse) DeepCopyInterface

func (in *DeleteMinerResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteMinerResponse. Required by controller-gen.

func (*DeleteMinerResponse) DeepCopyInto

func (in *DeleteMinerResponse) DeepCopyInto(out *DeleteMinerResponse)

DeepCopyInto supports using DeleteMinerResponse within kubernetes types, where deepcopy-gen is used.

func (*DeleteMinerResponse) Default

func (x *DeleteMinerResponse) Default()

func (*DeleteMinerResponse) Descriptor deprecated

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

Deprecated: Use DeleteMinerResponse.ProtoReflect.Descriptor instead.

func (*DeleteMinerResponse) MarshalJSON

func (msg *DeleteMinerResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteMinerResponse) ProtoMessage

func (*DeleteMinerResponse) ProtoMessage()

func (*DeleteMinerResponse) ProtoReflect

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

func (*DeleteMinerResponse) Reset

func (x *DeleteMinerResponse) Reset()

func (*DeleteMinerResponse) String

func (x *DeleteMinerResponse) String() string

func (*DeleteMinerResponse) UnmarshalJSON

func (msg *DeleteMinerResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteMinerResponse) Validate

func (m *DeleteMinerResponse) Validate() error

Validate checks the field values on DeleteMinerResponse 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 (*DeleteMinerResponse) ValidateAll

func (m *DeleteMinerResponse) ValidateAll() error

ValidateAll checks the field values on DeleteMinerResponse 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 DeleteMinerResponseMultiError, or nil if none found.

type DeleteMinerResponseMultiError

type DeleteMinerResponseMultiError []error

DeleteMinerResponseMultiError is an error wrapping multiple validation errors returned by DeleteMinerResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteMinerResponseMultiError) AllErrors

func (m DeleteMinerResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteMinerResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteMinerResponseValidationError

type DeleteMinerResponseValidationError struct {
	// contains filtered or unexported fields
}

DeleteMinerResponseValidationError is the validation error returned by DeleteMinerResponse.Validate if the designated constraints aren't met.

func (DeleteMinerResponseValidationError) Cause

Cause function returns cause value.

func (DeleteMinerResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteMinerResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteMinerResponseValidationError) Field

Field function returns field value.

func (DeleteMinerResponseValidationError) Key

Key function returns key value.

func (DeleteMinerResponseValidationError) Reason

Reason function returns reason value.

type DeleteMinerSetRequest

type DeleteMinerSetRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

DeleteMinerSetRequest represents the request message for deleting one or more minersets.

func (*DeleteMinerSetRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteMinerSetRequest. Required by controller-gen.

func (*DeleteMinerSetRequest) DeepCopyInterface

func (in *DeleteMinerSetRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteMinerSetRequest. Required by controller-gen.

func (*DeleteMinerSetRequest) DeepCopyInto

func (in *DeleteMinerSetRequest) DeepCopyInto(out *DeleteMinerSetRequest)

DeepCopyInto supports using DeleteMinerSetRequest within kubernetes types, where deepcopy-gen is used.

func (*DeleteMinerSetRequest) Default

func (x *DeleteMinerSetRequest) Default()

func (*DeleteMinerSetRequest) Descriptor deprecated

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

Deprecated: Use DeleteMinerSetRequest.ProtoReflect.Descriptor instead.

func (*DeleteMinerSetRequest) GetName

func (x *DeleteMinerSetRequest) GetName() string

func (*DeleteMinerSetRequest) MarshalJSON

func (msg *DeleteMinerSetRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteMinerSetRequest) ProtoMessage

func (*DeleteMinerSetRequest) ProtoMessage()

func (*DeleteMinerSetRequest) ProtoReflect

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

func (*DeleteMinerSetRequest) Reset

func (x *DeleteMinerSetRequest) Reset()

func (*DeleteMinerSetRequest) String

func (x *DeleteMinerSetRequest) String() string

func (*DeleteMinerSetRequest) UnmarshalJSON

func (msg *DeleteMinerSetRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteMinerSetRequest) Validate

func (m *DeleteMinerSetRequest) Validate() error

Validate checks the field values on DeleteMinerSetRequest 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 (*DeleteMinerSetRequest) ValidateAll

func (m *DeleteMinerSetRequest) ValidateAll() error

ValidateAll checks the field values on DeleteMinerSetRequest 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 DeleteMinerSetRequestMultiError, or nil if none found.

type DeleteMinerSetRequestMultiError

type DeleteMinerSetRequestMultiError []error

DeleteMinerSetRequestMultiError is an error wrapping multiple validation errors returned by DeleteMinerSetRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteMinerSetRequestMultiError) AllErrors

func (m DeleteMinerSetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteMinerSetRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteMinerSetRequestValidationError

type DeleteMinerSetRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteMinerSetRequestValidationError is the validation error returned by DeleteMinerSetRequest.Validate if the designated constraints aren't met.

func (DeleteMinerSetRequestValidationError) Cause

Cause function returns cause value.

func (DeleteMinerSetRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteMinerSetRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteMinerSetRequestValidationError) Field

Field function returns field value.

func (DeleteMinerSetRequestValidationError) Key

Key function returns key value.

func (DeleteMinerSetRequestValidationError) Reason

Reason function returns reason value.

type DeleteMinerSetResponse

type DeleteMinerSetResponse struct {
	// contains filtered or unexported fields
}

DeleteMinerSetResponse represents the response message for a successful minerset deletion.

func (*DeleteMinerSetResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeleteMinerSetResponse. Required by controller-gen.

func (*DeleteMinerSetResponse) DeepCopyInterface

func (in *DeleteMinerSetResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new DeleteMinerSetResponse. Required by controller-gen.

func (*DeleteMinerSetResponse) DeepCopyInto

func (in *DeleteMinerSetResponse) DeepCopyInto(out *DeleteMinerSetResponse)

DeepCopyInto supports using DeleteMinerSetResponse within kubernetes types, where deepcopy-gen is used.

func (*DeleteMinerSetResponse) Default

func (x *DeleteMinerSetResponse) Default()

func (*DeleteMinerSetResponse) Descriptor deprecated

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

Deprecated: Use DeleteMinerSetResponse.ProtoReflect.Descriptor instead.

func (*DeleteMinerSetResponse) MarshalJSON

func (msg *DeleteMinerSetResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*DeleteMinerSetResponse) ProtoMessage

func (*DeleteMinerSetResponse) ProtoMessage()

func (*DeleteMinerSetResponse) ProtoReflect

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

func (*DeleteMinerSetResponse) Reset

func (x *DeleteMinerSetResponse) Reset()

func (*DeleteMinerSetResponse) String

func (x *DeleteMinerSetResponse) String() string

func (*DeleteMinerSetResponse) UnmarshalJSON

func (msg *DeleteMinerSetResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*DeleteMinerSetResponse) Validate

func (m *DeleteMinerSetResponse) Validate() error

Validate checks the field values on DeleteMinerSetResponse 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 (*DeleteMinerSetResponse) ValidateAll

func (m *DeleteMinerSetResponse) ValidateAll() error

ValidateAll checks the field values on DeleteMinerSetResponse 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 DeleteMinerSetResponseMultiError, or nil if none found.

type DeleteMinerSetResponseMultiError

type DeleteMinerSetResponseMultiError []error

DeleteMinerSetResponseMultiError is an error wrapping multiple validation errors returned by DeleteMinerSetResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteMinerSetResponseMultiError) AllErrors

func (m DeleteMinerSetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteMinerSetResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DeleteMinerSetResponseValidationError

type DeleteMinerSetResponseValidationError struct {
	// contains filtered or unexported fields
}

DeleteMinerSetResponseValidationError is the validation error returned by DeleteMinerSetResponse.Validate if the designated constraints aren't met.

func (DeleteMinerSetResponseValidationError) Cause

Cause function returns cause value.

func (DeleteMinerSetResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteMinerSetResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteMinerSetResponseValidationError) Field

Field function returns field value.

func (DeleteMinerSetResponseValidationError) Key

Key function returns key value.

func (DeleteMinerSetResponseValidationError) Reason

Reason function returns reason value.

type ErrorReason

type ErrorReason int32
const (
	// 用户登录失败,可能是用户名或密码不对
	ErrorReason_UserLoginFailed ErrorReason = 0
	// 用户已存在错误
	ErrorReason_UserAlreadyExists ErrorReason = 1
	// 用户未找到错误
	ErrorReason_UserNotFound ErrorReason = 2
	// 创建用户失败错误
	ErrorReason_UserCreateFailed ErrorReason = 3
)

func (ErrorReason) Descriptor

func (ErrorReason) Enum

func (x ErrorReason) Enum() *ErrorReason

func (ErrorReason) EnumDescriptor deprecated

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

Deprecated: Use ErrorReason.Descriptor instead.

func (ErrorReason) Number

func (x ErrorReason) Number() protoreflect.EnumNumber

func (ErrorReason) String

func (x ErrorReason) String() string

func (ErrorReason) Type

type GatewayClient

type GatewayClient interface {
	// GetVersion
	GetVersion(ctx context.Context, in *GetVersionRequest, opts ...grpc.CallOption) (*GetVersionResponse, error)
	// GetIdempotentToken
	GetIdempotentToken(ctx context.Context, in *IdempotentRequest, opts ...grpc.CallOption) (*IdempotentResponse, error)
	// CreateMinerSet
	CreateMinerSet(ctx context.Context, in *v1beta1.MinerSet, opts ...grpc.CallOption) (*v1beta1.MinerSet, error)
	// UpdateMinerSet
	UpdateMinerSet(ctx context.Context, in *v1beta1.MinerSet, opts ...grpc.CallOption) (*v1beta1.MinerSet, error)
	// DeleteMinerSet
	DeleteMinerSet(ctx context.Context, in *DeleteMinerSetRequest, opts ...grpc.CallOption) (*DeleteMinerSetResponse, error)
	// GetMinerSet
	GetMinerSet(ctx context.Context, in *GetMinerSetRequest, opts ...grpc.CallOption) (*v1beta1.MinerSet, error)
	// ListMinerSet
	ListMinerSet(ctx context.Context, in *ListMinerSetRequest, opts ...grpc.CallOption) (*ListMinerSetResponse, error)
	// ScaleMinerSet
	ScaleMinerSet(ctx context.Context, in *ScaleMinerSetRequest, opts ...grpc.CallOption) (*ScaleMinerSetResponse, error)
	// CreateMiner
	CreateMiner(ctx context.Context, in *v1beta1.Miner, opts ...grpc.CallOption) (*v1beta1.Miner, error)
	// UpdateMiner
	UpdateMiner(ctx context.Context, in *v1beta1.Miner, opts ...grpc.CallOption) (*v1beta1.Miner, error)
	// DeleteMiner
	DeleteMiner(ctx context.Context, in *DeleteMinerRequest, opts ...grpc.CallOption) (*DeleteMinerResponse, error)
	// GetMiner
	GetMiner(ctx context.Context, in *GetMinerRequest, opts ...grpc.CallOption) (*v1beta1.Miner, error)
	// ListMiner
	ListMiner(ctx context.Context, in *ListMinerRequest, opts ...grpc.CallOption) (*ListMinerResponse, error)
}

GatewayClient is the client API for Gateway 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.

Peer lists hubble peers and notifies of changes.

func NewGatewayClient

func NewGatewayClient(cc grpc.ClientConnInterface) GatewayClient

type GatewayHTTPClient

type GatewayHTTPClient interface {
	CreateMiner(ctx context.Context, req *v1beta1.Miner, opts ...http.CallOption) (rsp *v1beta1.Miner, err error)
	CreateMinerSet(ctx context.Context, req *v1beta1.MinerSet, opts ...http.CallOption) (rsp *v1beta1.MinerSet, err error)
	DeleteMiner(ctx context.Context, req *DeleteMinerRequest, opts ...http.CallOption) (rsp *DeleteMinerResponse, err error)
	DeleteMinerSet(ctx context.Context, req *DeleteMinerSetRequest, opts ...http.CallOption) (rsp *DeleteMinerSetResponse, err error)
	GetIdempotentToken(ctx context.Context, req *IdempotentRequest, opts ...http.CallOption) (rsp *IdempotentResponse, err error)
	GetMiner(ctx context.Context, req *GetMinerRequest, opts ...http.CallOption) (rsp *v1beta1.Miner, err error)
	GetMinerSet(ctx context.Context, req *GetMinerSetRequest, opts ...http.CallOption) (rsp *v1beta1.MinerSet, err error)
	GetVersion(ctx context.Context, req *GetVersionRequest, opts ...http.CallOption) (rsp *GetVersionResponse, err error)
	ListMiner(ctx context.Context, req *ListMinerRequest, opts ...http.CallOption) (rsp *ListMinerResponse, err error)
	ListMinerSet(ctx context.Context, req *ListMinerSetRequest, opts ...http.CallOption) (rsp *ListMinerSetResponse, err error)
	ScaleMinerSet(ctx context.Context, req *ScaleMinerSetRequest, opts ...http.CallOption) (rsp *ScaleMinerSetResponse, err error)
	UpdateMiner(ctx context.Context, req *v1beta1.Miner, opts ...http.CallOption) (rsp *v1beta1.Miner, err error)
	UpdateMinerSet(ctx context.Context, req *v1beta1.MinerSet, opts ...http.CallOption) (rsp *v1beta1.MinerSet, err error)
}

func NewGatewayHTTPClient

func NewGatewayHTTPClient(client *http.Client) GatewayHTTPClient

type GatewayHTTPClientImpl

type GatewayHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*GatewayHTTPClientImpl) CreateMiner

func (c *GatewayHTTPClientImpl) CreateMiner(ctx context.Context, in *v1beta1.Miner, opts ...http.CallOption) (*v1beta1.Miner, error)

func (*GatewayHTTPClientImpl) CreateMinerSet

func (c *GatewayHTTPClientImpl) CreateMinerSet(ctx context.Context, in *v1beta1.MinerSet, opts ...http.CallOption) (*v1beta1.MinerSet, error)

func (*GatewayHTTPClientImpl) DeleteMiner

func (*GatewayHTTPClientImpl) DeleteMinerSet

func (*GatewayHTTPClientImpl) GetIdempotentToken

func (c *GatewayHTTPClientImpl) GetIdempotentToken(ctx context.Context, in *IdempotentRequest, opts ...http.CallOption) (*IdempotentResponse, error)

func (*GatewayHTTPClientImpl) GetMiner

func (*GatewayHTTPClientImpl) GetMinerSet

func (*GatewayHTTPClientImpl) GetVersion

func (*GatewayHTTPClientImpl) ListMiner

func (*GatewayHTTPClientImpl) ListMinerSet

func (*GatewayHTTPClientImpl) ScaleMinerSet

func (*GatewayHTTPClientImpl) UpdateMiner

func (c *GatewayHTTPClientImpl) UpdateMiner(ctx context.Context, in *v1beta1.Miner, opts ...http.CallOption) (*v1beta1.Miner, error)

func (*GatewayHTTPClientImpl) UpdateMinerSet

func (c *GatewayHTTPClientImpl) UpdateMinerSet(ctx context.Context, in *v1beta1.MinerSet, opts ...http.CallOption) (*v1beta1.MinerSet, error)

type GatewayHTTPServer

type GatewayHTTPServer interface {
	// CreateMiner CreateMiner
	CreateMiner(context.Context, *v1beta1.Miner) (*v1beta1.Miner, error)
	// CreateMinerSet CreateMinerSet
	CreateMinerSet(context.Context, *v1beta1.MinerSet) (*v1beta1.MinerSet, error)
	// DeleteMiner DeleteMiner
	DeleteMiner(context.Context, *DeleteMinerRequest) (*DeleteMinerResponse, error)
	// DeleteMinerSet DeleteMinerSet
	DeleteMinerSet(context.Context, *DeleteMinerSetRequest) (*DeleteMinerSetResponse, error)
	// GetIdempotentToken GetIdempotentToken
	GetIdempotentToken(context.Context, *IdempotentRequest) (*IdempotentResponse, error)
	// GetMiner GetMiner
	GetMiner(context.Context, *GetMinerRequest) (*v1beta1.Miner, error)
	// GetMinerSet GetMinerSet
	GetMinerSet(context.Context, *GetMinerSetRequest) (*v1beta1.MinerSet, error)
	// GetVersion GetVersion
	GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
	// ListMiner ListMiner
	ListMiner(context.Context, *ListMinerRequest) (*ListMinerResponse, error)
	// ListMinerSet ListMinerSet
	ListMinerSet(context.Context, *ListMinerSetRequest) (*ListMinerSetResponse, error)
	// ScaleMinerSet ScaleMinerSet
	ScaleMinerSet(context.Context, *ScaleMinerSetRequest) (*ScaleMinerSetResponse, error)
	// UpdateMiner UpdateMiner
	UpdateMiner(context.Context, *v1beta1.Miner) (*v1beta1.Miner, error)
	// UpdateMinerSet UpdateMinerSet
	UpdateMinerSet(context.Context, *v1beta1.MinerSet) (*v1beta1.MinerSet, error)
}

type GatewayServer

type GatewayServer interface {
	// GetVersion
	GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
	// GetIdempotentToken
	GetIdempotentToken(context.Context, *IdempotentRequest) (*IdempotentResponse, error)
	// CreateMinerSet
	CreateMinerSet(context.Context, *v1beta1.MinerSet) (*v1beta1.MinerSet, error)
	// UpdateMinerSet
	UpdateMinerSet(context.Context, *v1beta1.MinerSet) (*v1beta1.MinerSet, error)
	// DeleteMinerSet
	DeleteMinerSet(context.Context, *DeleteMinerSetRequest) (*DeleteMinerSetResponse, error)
	// GetMinerSet
	GetMinerSet(context.Context, *GetMinerSetRequest) (*v1beta1.MinerSet, error)
	// ListMinerSet
	ListMinerSet(context.Context, *ListMinerSetRequest) (*ListMinerSetResponse, error)
	// ScaleMinerSet
	ScaleMinerSet(context.Context, *ScaleMinerSetRequest) (*ScaleMinerSetResponse, error)
	// CreateMiner
	CreateMiner(context.Context, *v1beta1.Miner) (*v1beta1.Miner, error)
	// UpdateMiner
	UpdateMiner(context.Context, *v1beta1.Miner) (*v1beta1.Miner, error)
	// DeleteMiner
	DeleteMiner(context.Context, *DeleteMinerRequest) (*DeleteMinerResponse, error)
	// GetMiner
	GetMiner(context.Context, *GetMinerRequest) (*v1beta1.Miner, error)
	// ListMiner
	ListMiner(context.Context, *ListMinerRequest) (*ListMinerResponse, error)
	// contains filtered or unexported methods
}

GatewayServer is the server API for Gateway service. All implementations must embed UnimplementedGatewayServer for forward compatibility.

Peer lists hubble peers and notifies of changes.

type GetMinerRequest

type GetMinerRequest struct {

	// name is the unique identifier of the miner to retrieve.
	// @gotags: uri:"name"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" uri:"name"`
	// contains filtered or unexported fields
}

GetMinerRequest represents the request message for retrieving a specific miner.

func (*GetMinerRequest) DeepCopy

func (in *GetMinerRequest) DeepCopy() *GetMinerRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetMinerRequest. Required by controller-gen.

func (*GetMinerRequest) DeepCopyInterface

func (in *GetMinerRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetMinerRequest. Required by controller-gen.

func (*GetMinerRequest) DeepCopyInto

func (in *GetMinerRequest) DeepCopyInto(out *GetMinerRequest)

DeepCopyInto supports using GetMinerRequest within kubernetes types, where deepcopy-gen is used.

func (*GetMinerRequest) Default

func (x *GetMinerRequest) Default()

func (*GetMinerRequest) Descriptor deprecated

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

Deprecated: Use GetMinerRequest.ProtoReflect.Descriptor instead.

func (*GetMinerRequest) GetName

func (x *GetMinerRequest) GetName() string

func (*GetMinerRequest) MarshalJSON

func (msg *GetMinerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetMinerRequest) ProtoMessage

func (*GetMinerRequest) ProtoMessage()

func (*GetMinerRequest) ProtoReflect

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

func (*GetMinerRequest) Reset

func (x *GetMinerRequest) Reset()

func (*GetMinerRequest) String

func (x *GetMinerRequest) String() string

func (*GetMinerRequest) UnmarshalJSON

func (msg *GetMinerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetMinerRequest) Validate

func (m *GetMinerRequest) Validate() error

Validate checks the field values on GetMinerRequest 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 (*GetMinerRequest) ValidateAll

func (m *GetMinerRequest) ValidateAll() error

ValidateAll checks the field values on GetMinerRequest 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 GetMinerRequestMultiError, or nil if none found.

type GetMinerRequestMultiError

type GetMinerRequestMultiError []error

GetMinerRequestMultiError is an error wrapping multiple validation errors returned by GetMinerRequest.ValidateAll() if the designated constraints aren't met.

func (GetMinerRequestMultiError) AllErrors

func (m GetMinerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMinerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetMinerRequestValidationError

type GetMinerRequestValidationError struct {
	// contains filtered or unexported fields
}

GetMinerRequestValidationError is the validation error returned by GetMinerRequest.Validate if the designated constraints aren't met.

func (GetMinerRequestValidationError) Cause

Cause function returns cause value.

func (GetMinerRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMinerRequestValidationError) ErrorName

func (e GetMinerRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetMinerRequestValidationError) Field

Field function returns field value.

func (GetMinerRequestValidationError) Key

Key function returns key value.

func (GetMinerRequestValidationError) Reason

Reason function returns reason value.

type GetMinerResponse

type GetMinerResponse struct {

	// Miner is the retrieved miner object.
	Miner *Miner `protobuf:"bytes,1,opt,name=miner,proto3" json:"miner,omitempty"`
	// contains filtered or unexported fields
}

GetMinerResponse represents the response message for a successful retrieval of a miner.

func (*GetMinerResponse) DeepCopy

func (in *GetMinerResponse) DeepCopy() *GetMinerResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetMinerResponse. Required by controller-gen.

func (*GetMinerResponse) DeepCopyInterface

func (in *GetMinerResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetMinerResponse. Required by controller-gen.

func (*GetMinerResponse) DeepCopyInto

func (in *GetMinerResponse) DeepCopyInto(out *GetMinerResponse)

DeepCopyInto supports using GetMinerResponse within kubernetes types, where deepcopy-gen is used.

func (*GetMinerResponse) Default

func (x *GetMinerResponse) Default()

func (*GetMinerResponse) Descriptor deprecated

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

Deprecated: Use GetMinerResponse.ProtoReflect.Descriptor instead.

func (*GetMinerResponse) GetMiner

func (x *GetMinerResponse) GetMiner() *Miner

func (*GetMinerResponse) MarshalJSON

func (msg *GetMinerResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetMinerResponse) ProtoMessage

func (*GetMinerResponse) ProtoMessage()

func (*GetMinerResponse) ProtoReflect

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

func (*GetMinerResponse) Reset

func (x *GetMinerResponse) Reset()

func (*GetMinerResponse) String

func (x *GetMinerResponse) String() string

func (*GetMinerResponse) UnmarshalJSON

func (msg *GetMinerResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetMinerResponse) Validate

func (m *GetMinerResponse) Validate() error

Validate checks the field values on GetMinerResponse 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 (*GetMinerResponse) ValidateAll

func (m *GetMinerResponse) ValidateAll() error

ValidateAll checks the field values on GetMinerResponse 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 GetMinerResponseMultiError, or nil if none found.

type GetMinerResponseMultiError

type GetMinerResponseMultiError []error

GetMinerResponseMultiError is an error wrapping multiple validation errors returned by GetMinerResponse.ValidateAll() if the designated constraints aren't met.

func (GetMinerResponseMultiError) AllErrors

func (m GetMinerResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMinerResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetMinerResponseValidationError

type GetMinerResponseValidationError struct {
	// contains filtered or unexported fields
}

GetMinerResponseValidationError is the validation error returned by GetMinerResponse.Validate if the designated constraints aren't met.

func (GetMinerResponseValidationError) Cause

Cause function returns cause value.

func (GetMinerResponseValidationError) Error

Error satisfies the builtin error interface

func (GetMinerResponseValidationError) ErrorName

ErrorName returns error name.

func (GetMinerResponseValidationError) Field

Field function returns field value.

func (GetMinerResponseValidationError) Key

Key function returns key value.

func (GetMinerResponseValidationError) Reason

Reason function returns reason value.

type GetMinerSetRequest

type GetMinerSetRequest struct {

	// name is the unique identifier of the minerset to retrieve.
	// @gotags: uri:"name"
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" uri:"name"`
	// contains filtered or unexported fields
}

GetMinerSetRequest represents the request message for retrieving a specific minerset.

func (*GetMinerSetRequest) DeepCopy

func (in *GetMinerSetRequest) DeepCopy() *GetMinerSetRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetMinerSetRequest. Required by controller-gen.

func (*GetMinerSetRequest) DeepCopyInterface

func (in *GetMinerSetRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetMinerSetRequest. Required by controller-gen.

func (*GetMinerSetRequest) DeepCopyInto

func (in *GetMinerSetRequest) DeepCopyInto(out *GetMinerSetRequest)

DeepCopyInto supports using GetMinerSetRequest within kubernetes types, where deepcopy-gen is used.

func (*GetMinerSetRequest) Default

func (x *GetMinerSetRequest) Default()

func (*GetMinerSetRequest) Descriptor deprecated

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

Deprecated: Use GetMinerSetRequest.ProtoReflect.Descriptor instead.

func (*GetMinerSetRequest) GetName

func (x *GetMinerSetRequest) GetName() string

func (*GetMinerSetRequest) MarshalJSON

func (msg *GetMinerSetRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetMinerSetRequest) ProtoMessage

func (*GetMinerSetRequest) ProtoMessage()

func (*GetMinerSetRequest) ProtoReflect

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

func (*GetMinerSetRequest) Reset

func (x *GetMinerSetRequest) Reset()

func (*GetMinerSetRequest) String

func (x *GetMinerSetRequest) String() string

func (*GetMinerSetRequest) UnmarshalJSON

func (msg *GetMinerSetRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetMinerSetRequest) Validate

func (m *GetMinerSetRequest) Validate() error

Validate checks the field values on GetMinerSetRequest 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 (*GetMinerSetRequest) ValidateAll

func (m *GetMinerSetRequest) ValidateAll() error

ValidateAll checks the field values on GetMinerSetRequest 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 GetMinerSetRequestMultiError, or nil if none found.

type GetMinerSetRequestMultiError

type GetMinerSetRequestMultiError []error

GetMinerSetRequestMultiError is an error wrapping multiple validation errors returned by GetMinerSetRequest.ValidateAll() if the designated constraints aren't met.

func (GetMinerSetRequestMultiError) AllErrors

func (m GetMinerSetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMinerSetRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetMinerSetRequestValidationError

type GetMinerSetRequestValidationError struct {
	// contains filtered or unexported fields
}

GetMinerSetRequestValidationError is the validation error returned by GetMinerSetRequest.Validate if the designated constraints aren't met.

func (GetMinerSetRequestValidationError) Cause

Cause function returns cause value.

func (GetMinerSetRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMinerSetRequestValidationError) ErrorName

ErrorName returns error name.

func (GetMinerSetRequestValidationError) Field

Field function returns field value.

func (GetMinerSetRequestValidationError) Key

Key function returns key value.

func (GetMinerSetRequestValidationError) Reason

Reason function returns reason value.

type GetMinerSetResponse

type GetMinerSetResponse struct {

	// MinerSet is the retrieved minerset object.
	MinerSet *MinerSet `protobuf:"bytes,1,opt,name=minerSet,proto3" json:"minerSet,omitempty"`
	// contains filtered or unexported fields
}

GetMinerSetResponse represents the response message for a successful retrieval of a minerset.

func (*GetMinerSetResponse) DeepCopy

func (in *GetMinerSetResponse) DeepCopy() *GetMinerSetResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetMinerSetResponse. Required by controller-gen.

func (*GetMinerSetResponse) DeepCopyInterface

func (in *GetMinerSetResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetMinerSetResponse. Required by controller-gen.

func (*GetMinerSetResponse) DeepCopyInto

func (in *GetMinerSetResponse) DeepCopyInto(out *GetMinerSetResponse)

DeepCopyInto supports using GetMinerSetResponse within kubernetes types, where deepcopy-gen is used.

func (*GetMinerSetResponse) Default

func (x *GetMinerSetResponse) Default()

func (*GetMinerSetResponse) Descriptor deprecated

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

Deprecated: Use GetMinerSetResponse.ProtoReflect.Descriptor instead.

func (*GetMinerSetResponse) GetMinerSet

func (x *GetMinerSetResponse) GetMinerSet() *MinerSet

func (*GetMinerSetResponse) MarshalJSON

func (msg *GetMinerSetResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetMinerSetResponse) ProtoMessage

func (*GetMinerSetResponse) ProtoMessage()

func (*GetMinerSetResponse) ProtoReflect

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

func (*GetMinerSetResponse) Reset

func (x *GetMinerSetResponse) Reset()

func (*GetMinerSetResponse) String

func (x *GetMinerSetResponse) String() string

func (*GetMinerSetResponse) UnmarshalJSON

func (msg *GetMinerSetResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetMinerSetResponse) Validate

func (m *GetMinerSetResponse) Validate() error

Validate checks the field values on GetMinerSetResponse 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 (*GetMinerSetResponse) ValidateAll

func (m *GetMinerSetResponse) ValidateAll() error

ValidateAll checks the field values on GetMinerSetResponse 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 GetMinerSetResponseMultiError, or nil if none found.

type GetMinerSetResponseMultiError

type GetMinerSetResponseMultiError []error

GetMinerSetResponseMultiError is an error wrapping multiple validation errors returned by GetMinerSetResponse.ValidateAll() if the designated constraints aren't met.

func (GetMinerSetResponseMultiError) AllErrors

func (m GetMinerSetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetMinerSetResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetMinerSetResponseValidationError

type GetMinerSetResponseValidationError struct {
	// contains filtered or unexported fields
}

GetMinerSetResponseValidationError is the validation error returned by GetMinerSetResponse.Validate if the designated constraints aren't met.

func (GetMinerSetResponseValidationError) Cause

Cause function returns cause value.

func (GetMinerSetResponseValidationError) Error

Error satisfies the builtin error interface

func (GetMinerSetResponseValidationError) ErrorName

ErrorName returns error name.

func (GetMinerSetResponseValidationError) Field

Field function returns field value.

func (GetMinerSetResponseValidationError) Key

Key function returns key value.

func (GetMinerSetResponseValidationError) Reason

Reason function returns reason value.

type GetVersionRequest

type GetVersionRequest struct {
	// contains filtered or unexported fields
}

func (*GetVersionRequest) DeepCopy

func (in *GetVersionRequest) DeepCopy() *GetVersionRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetVersionRequest. Required by controller-gen.

func (*GetVersionRequest) DeepCopyInterface

func (in *GetVersionRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetVersionRequest. Required by controller-gen.

func (*GetVersionRequest) DeepCopyInto

func (in *GetVersionRequest) DeepCopyInto(out *GetVersionRequest)

DeepCopyInto supports using GetVersionRequest within kubernetes types, where deepcopy-gen is used.

func (*GetVersionRequest) Default

func (x *GetVersionRequest) Default()

func (*GetVersionRequest) Descriptor deprecated

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

Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.

func (*GetVersionRequest) MarshalJSON

func (msg *GetVersionRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetVersionRequest) ProtoMessage

func (*GetVersionRequest) ProtoMessage()

func (*GetVersionRequest) ProtoReflect

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

func (*GetVersionRequest) Reset

func (x *GetVersionRequest) Reset()

func (*GetVersionRequest) String

func (x *GetVersionRequest) String() string

func (*GetVersionRequest) UnmarshalJSON

func (msg *GetVersionRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetVersionRequest) Validate

func (m *GetVersionRequest) Validate() error

Validate checks the field values on GetVersionRequest 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 (*GetVersionRequest) ValidateAll

func (m *GetVersionRequest) ValidateAll() error

ValidateAll checks the field values on GetVersionRequest 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 GetVersionRequestMultiError, or nil if none found.

type GetVersionRequestMultiError

type GetVersionRequestMultiError []error

GetVersionRequestMultiError is an error wrapping multiple validation errors returned by GetVersionRequest.ValidateAll() if the designated constraints aren't met.

func (GetVersionRequestMultiError) AllErrors

func (m GetVersionRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetVersionRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetVersionRequestValidationError

type GetVersionRequestValidationError struct {
	// contains filtered or unexported fields
}

GetVersionRequestValidationError is the validation error returned by GetVersionRequest.Validate if the designated constraints aren't met.

func (GetVersionRequestValidationError) Cause

Cause function returns cause value.

func (GetVersionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetVersionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetVersionRequestValidationError) Field

Field function returns field value.

func (GetVersionRequestValidationError) Key

Key function returns key value.

func (GetVersionRequestValidationError) Reason

Reason function returns reason value.

type GetVersionResponse

type GetVersionResponse struct {
	GitVersion   string `protobuf:"bytes,1,opt,name=GitVersion,proto3" json:"GitVersion,omitempty"`
	GitCommit    string `protobuf:"bytes,2,opt,name=GitCommit,proto3" json:"GitCommit,omitempty"`
	GitTreeState string `protobuf:"bytes,3,opt,name=GitTreeState,proto3" json:"GitTreeState,omitempty"`
	BuildDate    string `protobuf:"bytes,4,opt,name=BuildDate,proto3" json:"BuildDate,omitempty"`
	GoVersion    string `protobuf:"bytes,5,opt,name=GoVersion,proto3" json:"GoVersion,omitempty"`
	Compiler     string `protobuf:"bytes,6,opt,name=Compiler,proto3" json:"Compiler,omitempty"`
	Platform     string `protobuf:"bytes,7,opt,name=Platform,proto3" json:"Platform,omitempty"`
	// contains filtered or unexported fields
}

func (*GetVersionResponse) DeepCopy

func (in *GetVersionResponse) DeepCopy() *GetVersionResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GetVersionResponse. Required by controller-gen.

func (*GetVersionResponse) DeepCopyInterface

func (in *GetVersionResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new GetVersionResponse. Required by controller-gen.

func (*GetVersionResponse) DeepCopyInto

func (in *GetVersionResponse) DeepCopyInto(out *GetVersionResponse)

DeepCopyInto supports using GetVersionResponse within kubernetes types, where deepcopy-gen is used.

func (*GetVersionResponse) Default

func (x *GetVersionResponse) Default()

func (*GetVersionResponse) Descriptor deprecated

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

Deprecated: Use GetVersionResponse.ProtoReflect.Descriptor instead.

func (*GetVersionResponse) GetBuildDate

func (x *GetVersionResponse) GetBuildDate() string

func (*GetVersionResponse) GetCompiler

func (x *GetVersionResponse) GetCompiler() string

func (*GetVersionResponse) GetGitCommit

func (x *GetVersionResponse) GetGitCommit() string

func (*GetVersionResponse) GetGitTreeState

func (x *GetVersionResponse) GetGitTreeState() string

func (*GetVersionResponse) GetGitVersion

func (x *GetVersionResponse) GetGitVersion() string

func (*GetVersionResponse) GetGoVersion

func (x *GetVersionResponse) GetGoVersion() string

func (*GetVersionResponse) GetPlatform

func (x *GetVersionResponse) GetPlatform() string

func (*GetVersionResponse) MarshalJSON

func (msg *GetVersionResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*GetVersionResponse) ProtoMessage

func (*GetVersionResponse) ProtoMessage()

func (*GetVersionResponse) ProtoReflect

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

func (*GetVersionResponse) Reset

func (x *GetVersionResponse) Reset()

func (*GetVersionResponse) String

func (x *GetVersionResponse) String() string

func (*GetVersionResponse) UnmarshalJSON

func (msg *GetVersionResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*GetVersionResponse) Validate

func (m *GetVersionResponse) Validate() error

Validate checks the field values on GetVersionResponse 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 (*GetVersionResponse) ValidateAll

func (m *GetVersionResponse) ValidateAll() error

ValidateAll checks the field values on GetVersionResponse 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 GetVersionResponseMultiError, or nil if none found.

type GetVersionResponseMultiError

type GetVersionResponseMultiError []error

GetVersionResponseMultiError is an error wrapping multiple validation errors returned by GetVersionResponse.ValidateAll() if the designated constraints aren't met.

func (GetVersionResponseMultiError) AllErrors

func (m GetVersionResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetVersionResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type GetVersionResponseValidationError

type GetVersionResponseValidationError struct {
	// contains filtered or unexported fields
}

GetVersionResponseValidationError is the validation error returned by GetVersionResponse.Validate if the designated constraints aren't met.

func (GetVersionResponseValidationError) Cause

Cause function returns cause value.

func (GetVersionResponseValidationError) Error

Error satisfies the builtin error interface

func (GetVersionResponseValidationError) ErrorName

ErrorName returns error name.

func (GetVersionResponseValidationError) Field

Field function returns field value.

func (GetVersionResponseValidationError) Key

Key function returns key value.

func (GetVersionResponseValidationError) Reason

Reason function returns reason value.

type IdempotentRequest

type IdempotentRequest struct {
	// contains filtered or unexported fields
}

func (*IdempotentRequest) DeepCopy

func (in *IdempotentRequest) DeepCopy() *IdempotentRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdempotentRequest. Required by controller-gen.

func (*IdempotentRequest) DeepCopyInterface

func (in *IdempotentRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new IdempotentRequest. Required by controller-gen.

func (*IdempotentRequest) DeepCopyInto

func (in *IdempotentRequest) DeepCopyInto(out *IdempotentRequest)

DeepCopyInto supports using IdempotentRequest within kubernetes types, where deepcopy-gen is used.

func (*IdempotentRequest) Default

func (x *IdempotentRequest) Default()

func (*IdempotentRequest) Descriptor deprecated

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

Deprecated: Use IdempotentRequest.ProtoReflect.Descriptor instead.

func (*IdempotentRequest) MarshalJSON

func (msg *IdempotentRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*IdempotentRequest) ProtoMessage

func (*IdempotentRequest) ProtoMessage()

func (*IdempotentRequest) ProtoReflect

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

func (*IdempotentRequest) Reset

func (x *IdempotentRequest) Reset()

func (*IdempotentRequest) String

func (x *IdempotentRequest) String() string

func (*IdempotentRequest) UnmarshalJSON

func (msg *IdempotentRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*IdempotentRequest) Validate

func (m *IdempotentRequest) Validate() error

Validate checks the field values on IdempotentRequest 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 (*IdempotentRequest) ValidateAll

func (m *IdempotentRequest) ValidateAll() error

ValidateAll checks the field values on IdempotentRequest 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 IdempotentRequestMultiError, or nil if none found.

type IdempotentRequestMultiError

type IdempotentRequestMultiError []error

IdempotentRequestMultiError is an error wrapping multiple validation errors returned by IdempotentRequest.ValidateAll() if the designated constraints aren't met.

func (IdempotentRequestMultiError) AllErrors

func (m IdempotentRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IdempotentRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type IdempotentRequestValidationError

type IdempotentRequestValidationError struct {
	// contains filtered or unexported fields
}

IdempotentRequestValidationError is the validation error returned by IdempotentRequest.Validate if the designated constraints aren't met.

func (IdempotentRequestValidationError) Cause

Cause function returns cause value.

func (IdempotentRequestValidationError) Error

Error satisfies the builtin error interface

func (IdempotentRequestValidationError) ErrorName

ErrorName returns error name.

func (IdempotentRequestValidationError) Field

Field function returns field value.

func (IdempotentRequestValidationError) Key

Key function returns key value.

func (IdempotentRequestValidationError) Reason

Reason function returns reason value.

type IdempotentResponse

type IdempotentResponse struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*IdempotentResponse) DeepCopy

func (in *IdempotentResponse) DeepCopy() *IdempotentResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IdempotentResponse. Required by controller-gen.

func (*IdempotentResponse) DeepCopyInterface

func (in *IdempotentResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new IdempotentResponse. Required by controller-gen.

func (*IdempotentResponse) DeepCopyInto

func (in *IdempotentResponse) DeepCopyInto(out *IdempotentResponse)

DeepCopyInto supports using IdempotentResponse within kubernetes types, where deepcopy-gen is used.

func (*IdempotentResponse) Default

func (x *IdempotentResponse) Default()

func (*IdempotentResponse) Descriptor deprecated

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

Deprecated: Use IdempotentResponse.ProtoReflect.Descriptor instead.

func (*IdempotentResponse) GetToken

func (x *IdempotentResponse) GetToken() string

func (*IdempotentResponse) MarshalJSON

func (msg *IdempotentResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*IdempotentResponse) ProtoMessage

func (*IdempotentResponse) ProtoMessage()

func (*IdempotentResponse) ProtoReflect

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

func (*IdempotentResponse) Reset

func (x *IdempotentResponse) Reset()

func (*IdempotentResponse) String

func (x *IdempotentResponse) String() string

func (*IdempotentResponse) UnmarshalJSON

func (msg *IdempotentResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*IdempotentResponse) Validate

func (m *IdempotentResponse) Validate() error

Validate checks the field values on IdempotentResponse 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 (*IdempotentResponse) ValidateAll

func (m *IdempotentResponse) ValidateAll() error

ValidateAll checks the field values on IdempotentResponse 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 IdempotentResponseMultiError, or nil if none found.

type IdempotentResponseMultiError

type IdempotentResponseMultiError []error

IdempotentResponseMultiError is an error wrapping multiple validation errors returned by IdempotentResponse.ValidateAll() if the designated constraints aren't met.

func (IdempotentResponseMultiError) AllErrors

func (m IdempotentResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (IdempotentResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type IdempotentResponseValidationError

type IdempotentResponseValidationError struct {
	// contains filtered or unexported fields
}

IdempotentResponseValidationError is the validation error returned by IdempotentResponse.Validate if the designated constraints aren't met.

func (IdempotentResponseValidationError) Cause

Cause function returns cause value.

func (IdempotentResponseValidationError) Error

Error satisfies the builtin error interface

func (IdempotentResponseValidationError) ErrorName

ErrorName returns error name.

func (IdempotentResponseValidationError) Field

Field function returns field value.

func (IdempotentResponseValidationError) Key

Key function returns key value.

func (IdempotentResponseValidationError) Reason

Reason function returns reason value.

type ListMinerRequest

type ListMinerRequest struct {

	// Offset is the starting point of the list for pagination.
	// @gotags: form:"offset"
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty" form:"offset"`
	// Limit is the maximum number of miners to return.
	// @gotags: form:"limit"
	Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty" form:"limit"`
	// contains filtered or unexported fields
}

ListMinerRequest represents the request message for listing miners with pagination and optional filters.

func (*ListMinerRequest) DeepCopy

func (in *ListMinerRequest) DeepCopy() *ListMinerRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMinerRequest. Required by controller-gen.

func (*ListMinerRequest) DeepCopyInterface

func (in *ListMinerRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListMinerRequest. Required by controller-gen.

func (*ListMinerRequest) DeepCopyInto

func (in *ListMinerRequest) DeepCopyInto(out *ListMinerRequest)

DeepCopyInto supports using ListMinerRequest within kubernetes types, where deepcopy-gen is used.

func (*ListMinerRequest) Default

func (x *ListMinerRequest) Default()

func (*ListMinerRequest) Descriptor deprecated

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

Deprecated: Use ListMinerRequest.ProtoReflect.Descriptor instead.

func (*ListMinerRequest) GetLimit

func (x *ListMinerRequest) GetLimit() int64

func (*ListMinerRequest) GetOffset

func (x *ListMinerRequest) GetOffset() int64

func (*ListMinerRequest) MarshalJSON

func (msg *ListMinerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListMinerRequest) ProtoMessage

func (*ListMinerRequest) ProtoMessage()

func (*ListMinerRequest) ProtoReflect

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

func (*ListMinerRequest) Reset

func (x *ListMinerRequest) Reset()

func (*ListMinerRequest) String

func (x *ListMinerRequest) String() string

func (*ListMinerRequest) UnmarshalJSON

func (msg *ListMinerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListMinerRequest) Validate

func (m *ListMinerRequest) Validate() error

Validate checks the field values on ListMinerRequest 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 (*ListMinerRequest) ValidateAll

func (m *ListMinerRequest) ValidateAll() error

ValidateAll checks the field values on ListMinerRequest 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 ListMinerRequestMultiError, or nil if none found.

type ListMinerRequestMultiError

type ListMinerRequestMultiError []error

ListMinerRequestMultiError is an error wrapping multiple validation errors returned by ListMinerRequest.ValidateAll() if the designated constraints aren't met.

func (ListMinerRequestMultiError) AllErrors

func (m ListMinerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListMinerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListMinerRequestValidationError

type ListMinerRequestValidationError struct {
	// contains filtered or unexported fields
}

ListMinerRequestValidationError is the validation error returned by ListMinerRequest.Validate if the designated constraints aren't met.

func (ListMinerRequestValidationError) Cause

Cause function returns cause value.

func (ListMinerRequestValidationError) Error

Error satisfies the builtin error interface

func (ListMinerRequestValidationError) ErrorName

ErrorName returns error name.

func (ListMinerRequestValidationError) Field

Field function returns field value.

func (ListMinerRequestValidationError) Key

Key function returns key value.

func (ListMinerRequestValidationError) Reason

Reason function returns reason value.

type ListMinerResponse

type ListMinerResponse struct {

	// TotalCount is the total number of miners matching the query.
	Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// Miner is the list of miners in the current page.
	Miners []*Miner `protobuf:"bytes,2,rep,name=miners,proto3" json:"miners,omitempty"`
	// contains filtered or unexported fields
}

ListMinerResponse represents the response message for listing miners.

func (*ListMinerResponse) DeepCopy

func (in *ListMinerResponse) DeepCopy() *ListMinerResponse

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMinerResponse. Required by controller-gen.

func (*ListMinerResponse) DeepCopyInterface

func (in *ListMinerResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListMinerResponse. Required by controller-gen.

func (*ListMinerResponse) DeepCopyInto

func (in *ListMinerResponse) DeepCopyInto(out *ListMinerResponse)

DeepCopyInto supports using ListMinerResponse within kubernetes types, where deepcopy-gen is used.

func (*ListMinerResponse) Default

func (x *ListMinerResponse) Default()

func (*ListMinerResponse) Descriptor deprecated

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

Deprecated: Use ListMinerResponse.ProtoReflect.Descriptor instead.

func (*ListMinerResponse) GetMiners

func (x *ListMinerResponse) GetMiners() []*Miner

func (*ListMinerResponse) GetTotal

func (x *ListMinerResponse) GetTotal() int64

func (*ListMinerResponse) MarshalJSON

func (msg *ListMinerResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListMinerResponse) ProtoMessage

func (*ListMinerResponse) ProtoMessage()

func (*ListMinerResponse) ProtoReflect

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

func (*ListMinerResponse) Reset

func (x *ListMinerResponse) Reset()

func (*ListMinerResponse) String

func (x *ListMinerResponse) String() string

func (*ListMinerResponse) UnmarshalJSON

func (msg *ListMinerResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListMinerResponse) Validate

func (m *ListMinerResponse) Validate() error

Validate checks the field values on ListMinerResponse 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 (*ListMinerResponse) ValidateAll

func (m *ListMinerResponse) ValidateAll() error

ValidateAll checks the field values on ListMinerResponse 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 ListMinerResponseMultiError, or nil if none found.

type ListMinerResponseMultiError

type ListMinerResponseMultiError []error

ListMinerResponseMultiError is an error wrapping multiple validation errors returned by ListMinerResponse.ValidateAll() if the designated constraints aren't met.

func (ListMinerResponseMultiError) AllErrors

func (m ListMinerResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListMinerResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListMinerResponseValidationError

type ListMinerResponseValidationError struct {
	// contains filtered or unexported fields
}

ListMinerResponseValidationError is the validation error returned by ListMinerResponse.Validate if the designated constraints aren't met.

func (ListMinerResponseValidationError) Cause

Cause function returns cause value.

func (ListMinerResponseValidationError) Error

Error satisfies the builtin error interface

func (ListMinerResponseValidationError) ErrorName

ErrorName returns error name.

func (ListMinerResponseValidationError) Field

Field function returns field value.

func (ListMinerResponseValidationError) Key

Key function returns key value.

func (ListMinerResponseValidationError) Reason

Reason function returns reason value.

type ListMinerSetRequest

type ListMinerSetRequest struct {

	// Offset is the starting point of the list for pagination.
	// @gotags: form:"offset"
	Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty" form:"offset"`
	// Limit is the maximum number of minersets to return.
	// @gotags: form:"limit"
	Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty" form:"limit"`
	// contains filtered or unexported fields
}

ListMinerSetRequest represents the request message for listing minersets with pagination and optional filters.

func (*ListMinerSetRequest) DeepCopy

func (in *ListMinerSetRequest) DeepCopy() *ListMinerSetRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMinerSetRequest. Required by controller-gen.

func (*ListMinerSetRequest) DeepCopyInterface

func (in *ListMinerSetRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListMinerSetRequest. Required by controller-gen.

func (*ListMinerSetRequest) DeepCopyInto

func (in *ListMinerSetRequest) DeepCopyInto(out *ListMinerSetRequest)

DeepCopyInto supports using ListMinerSetRequest within kubernetes types, where deepcopy-gen is used.

func (*ListMinerSetRequest) Default

func (x *ListMinerSetRequest) Default()

func (*ListMinerSetRequest) Descriptor deprecated

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

Deprecated: Use ListMinerSetRequest.ProtoReflect.Descriptor instead.

func (*ListMinerSetRequest) GetLimit

func (x *ListMinerSetRequest) GetLimit() int64

func (*ListMinerSetRequest) GetOffset

func (x *ListMinerSetRequest) GetOffset() int64

func (*ListMinerSetRequest) MarshalJSON

func (msg *ListMinerSetRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListMinerSetRequest) ProtoMessage

func (*ListMinerSetRequest) ProtoMessage()

func (*ListMinerSetRequest) ProtoReflect

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

func (*ListMinerSetRequest) Reset

func (x *ListMinerSetRequest) Reset()

func (*ListMinerSetRequest) String

func (x *ListMinerSetRequest) String() string

func (*ListMinerSetRequest) UnmarshalJSON

func (msg *ListMinerSetRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListMinerSetRequest) Validate

func (m *ListMinerSetRequest) Validate() error

Validate checks the field values on ListMinerSetRequest 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 (*ListMinerSetRequest) ValidateAll

func (m *ListMinerSetRequest) ValidateAll() error

ValidateAll checks the field values on ListMinerSetRequest 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 ListMinerSetRequestMultiError, or nil if none found.

type ListMinerSetRequestMultiError

type ListMinerSetRequestMultiError []error

ListMinerSetRequestMultiError is an error wrapping multiple validation errors returned by ListMinerSetRequest.ValidateAll() if the designated constraints aren't met.

func (ListMinerSetRequestMultiError) AllErrors

func (m ListMinerSetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListMinerSetRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListMinerSetRequestValidationError

type ListMinerSetRequestValidationError struct {
	// contains filtered or unexported fields
}

ListMinerSetRequestValidationError is the validation error returned by ListMinerSetRequest.Validate if the designated constraints aren't met.

func (ListMinerSetRequestValidationError) Cause

Cause function returns cause value.

func (ListMinerSetRequestValidationError) Error

Error satisfies the builtin error interface

func (ListMinerSetRequestValidationError) ErrorName

ErrorName returns error name.

func (ListMinerSetRequestValidationError) Field

Field function returns field value.

func (ListMinerSetRequestValidationError) Key

Key function returns key value.

func (ListMinerSetRequestValidationError) Reason

Reason function returns reason value.

type ListMinerSetResponse

type ListMinerSetResponse struct {

	// TotalCount is the total number of minersets matching the query.
	Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// MinerSet is the list of minersets in the current page.
	MinerSets []*MinerSet `protobuf:"bytes,2,rep,name=minerSets,proto3" json:"minerSets,omitempty"`
	// contains filtered or unexported fields
}

ListMinerSetResponse represents the response message for listing minersets.

func (*ListMinerSetResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ListMinerSetResponse. Required by controller-gen.

func (*ListMinerSetResponse) DeepCopyInterface

func (in *ListMinerSetResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ListMinerSetResponse. Required by controller-gen.

func (*ListMinerSetResponse) DeepCopyInto

func (in *ListMinerSetResponse) DeepCopyInto(out *ListMinerSetResponse)

DeepCopyInto supports using ListMinerSetResponse within kubernetes types, where deepcopy-gen is used.

func (*ListMinerSetResponse) Default

func (x *ListMinerSetResponse) Default()

func (*ListMinerSetResponse) Descriptor deprecated

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

Deprecated: Use ListMinerSetResponse.ProtoReflect.Descriptor instead.

func (*ListMinerSetResponse) GetMinerSets

func (x *ListMinerSetResponse) GetMinerSets() []*MinerSet

func (*ListMinerSetResponse) GetTotal

func (x *ListMinerSetResponse) GetTotal() int64

func (*ListMinerSetResponse) MarshalJSON

func (msg *ListMinerSetResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ListMinerSetResponse) ProtoMessage

func (*ListMinerSetResponse) ProtoMessage()

func (*ListMinerSetResponse) ProtoReflect

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

func (*ListMinerSetResponse) Reset

func (x *ListMinerSetResponse) Reset()

func (*ListMinerSetResponse) String

func (x *ListMinerSetResponse) String() string

func (*ListMinerSetResponse) UnmarshalJSON

func (msg *ListMinerSetResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ListMinerSetResponse) Validate

func (m *ListMinerSetResponse) Validate() error

Validate checks the field values on ListMinerSetResponse 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 (*ListMinerSetResponse) ValidateAll

func (m *ListMinerSetResponse) ValidateAll() error

ValidateAll checks the field values on ListMinerSetResponse 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 ListMinerSetResponseMultiError, or nil if none found.

type ListMinerSetResponseMultiError

type ListMinerSetResponseMultiError []error

ListMinerSetResponseMultiError is an error wrapping multiple validation errors returned by ListMinerSetResponse.ValidateAll() if the designated constraints aren't met.

func (ListMinerSetResponseMultiError) AllErrors

func (m ListMinerSetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListMinerSetResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ListMinerSetResponseValidationError

type ListMinerSetResponseValidationError struct {
	// contains filtered or unexported fields
}

ListMinerSetResponseValidationError is the validation error returned by ListMinerSetResponse.Validate if the designated constraints aren't met.

func (ListMinerSetResponseValidationError) Cause

Cause function returns cause value.

func (ListMinerSetResponseValidationError) Error

Error satisfies the builtin error interface

func (ListMinerSetResponseValidationError) ErrorName

ErrorName returns error name.

func (ListMinerSetResponseValidationError) Field

Field function returns field value.

func (ListMinerSetResponseValidationError) Key

Key function returns key value.

func (ListMinerSetResponseValidationError) Reason

Reason function returns reason value.

type Miner

type Miner struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName string `protobuf:"bytes,2,opt,name=displayName,proto3" json:"displayName,omitempty"`
	MinerType   string `protobuf:"bytes,3,opt,name=minerType,proto3" json:"minerType,omitempty"`
	ChainName   string `protobuf:"bytes,4,opt,name=chainName,proto3" json:"chainName,omitempty"`
	DataDir     string `protobuf:"bytes,5,opt,name=dataDir,proto3" json:"dataDir,omitempty"`
	Status      string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// CreatedAt is the timestamp when the miner was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// UpdatedAt is the timestamp when the miner was last updated.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

Miner represents a miner with its metadata.

func (*Miner) DeepCopy

func (in *Miner) DeepCopy() *Miner

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Miner. Required by controller-gen.

func (*Miner) DeepCopyInterface

func (in *Miner) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new Miner. Required by controller-gen.

func (*Miner) DeepCopyInto

func (in *Miner) DeepCopyInto(out *Miner)

DeepCopyInto supports using Miner within kubernetes types, where deepcopy-gen is used.

func (*Miner) Default

func (x *Miner) Default()

func (*Miner) Descriptor deprecated

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

Deprecated: Use Miner.ProtoReflect.Descriptor instead.

func (*Miner) GetChainName

func (x *Miner) GetChainName() string

func (*Miner) GetCreatedAt

func (x *Miner) GetCreatedAt() *timestamppb.Timestamp

func (*Miner) GetDataDir

func (x *Miner) GetDataDir() string

func (*Miner) GetDisplayName

func (x *Miner) GetDisplayName() string

func (*Miner) GetMinerType

func (x *Miner) GetMinerType() string

func (*Miner) GetName

func (x *Miner) GetName() string

func (*Miner) GetStatus

func (x *Miner) GetStatus() string

func (*Miner) GetUpdatedAt

func (x *Miner) GetUpdatedAt() *timestamppb.Timestamp

func (*Miner) MarshalJSON

func (msg *Miner) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*Miner) ProtoMessage

func (*Miner) ProtoMessage()

func (*Miner) ProtoReflect

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

func (*Miner) Reset

func (x *Miner) Reset()

func (*Miner) String

func (x *Miner) String() string

func (*Miner) UnmarshalJSON

func (msg *Miner) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*Miner) Validate

func (m *Miner) Validate() error

Validate checks the field values on Miner 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 (*Miner) ValidateAll

func (m *Miner) ValidateAll() error

ValidateAll checks the field values on Miner 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 MinerMultiError, or nil if none found.

type MinerMultiError

type MinerMultiError []error

MinerMultiError is an error wrapping multiple validation errors returned by Miner.ValidateAll() if the designated constraints aren't met.

func (MinerMultiError) AllErrors

func (m MinerMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MinerMultiError) Error

func (m MinerMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MinerSet

type MinerSet struct {
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Replicas      int32                  `protobuf:"varint,2,opt,name=replicas,proto3" json:"replicas,omitempty"`
	DisplayName   string                 `protobuf:"bytes,3,opt,name=displayName,proto3" json:"displayName,omitempty"`
	DeletePolicy  string                 `protobuf:"bytes,4,opt,name=deletePolicy,proto3" json:"deletePolicy,omitempty"`
	MinerTemplate *MinerTemplate         `protobuf:"bytes,5,opt,name=MinerTemplate,proto3" json:"MinerTemplate,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

MinerSet represents a minerset with its metadata.

func (*MinerSet) DeepCopy

func (in *MinerSet) DeepCopy() *MinerSet

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinerSet. Required by controller-gen.

func (*MinerSet) DeepCopyInterface

func (in *MinerSet) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MinerSet. Required by controller-gen.

func (*MinerSet) DeepCopyInto

func (in *MinerSet) DeepCopyInto(out *MinerSet)

DeepCopyInto supports using MinerSet within kubernetes types, where deepcopy-gen is used.

func (*MinerSet) Default

func (x *MinerSet) Default()

func (*MinerSet) Descriptor deprecated

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

Deprecated: Use MinerSet.ProtoReflect.Descriptor instead.

func (*MinerSet) GetCreatedAt

func (x *MinerSet) GetCreatedAt() *timestamppb.Timestamp

func (*MinerSet) GetDeletePolicy

func (x *MinerSet) GetDeletePolicy() string

func (*MinerSet) GetDisplayName

func (x *MinerSet) GetDisplayName() string

func (*MinerSet) GetMinerTemplate

func (x *MinerSet) GetMinerTemplate() *MinerTemplate

func (*MinerSet) GetName

func (x *MinerSet) GetName() string

func (*MinerSet) GetReplicas

func (x *MinerSet) GetReplicas() int32

func (*MinerSet) GetUpdatedAt

func (x *MinerSet) GetUpdatedAt() *timestamppb.Timestamp

func (*MinerSet) MarshalJSON

func (msg *MinerSet) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*MinerSet) ProtoMessage

func (*MinerSet) ProtoMessage()

func (*MinerSet) ProtoReflect

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

func (*MinerSet) Reset

func (x *MinerSet) Reset()

func (*MinerSet) String

func (x *MinerSet) String() string

func (*MinerSet) UnmarshalJSON

func (msg *MinerSet) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*MinerSet) Validate

func (m *MinerSet) Validate() error

Validate checks the field values on MinerSet 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 (*MinerSet) ValidateAll

func (m *MinerSet) ValidateAll() error

ValidateAll checks the field values on MinerSet 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 MinerSetMultiError, or nil if none found.

type MinerSetMultiError

type MinerSetMultiError []error

MinerSetMultiError is an error wrapping multiple validation errors returned by MinerSet.ValidateAll() if the designated constraints aren't met.

func (MinerSetMultiError) AllErrors

func (m MinerSetMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MinerSetMultiError) Error

func (m MinerSetMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MinerSetValidationError

type MinerSetValidationError struct {
	// contains filtered or unexported fields
}

MinerSetValidationError is the validation error returned by MinerSet.Validate if the designated constraints aren't met.

func (MinerSetValidationError) Cause

func (e MinerSetValidationError) Cause() error

Cause function returns cause value.

func (MinerSetValidationError) Error

func (e MinerSetValidationError) Error() string

Error satisfies the builtin error interface

func (MinerSetValidationError) ErrorName

func (e MinerSetValidationError) ErrorName() string

ErrorName returns error name.

func (MinerSetValidationError) Field

func (e MinerSetValidationError) Field() string

Field function returns field value.

func (MinerSetValidationError) Key

func (e MinerSetValidationError) Key() bool

Key function returns key value.

func (MinerSetValidationError) Reason

func (e MinerSetValidationError) Reason() string

Reason function returns reason value.

type MinerTemplate

type MinerTemplate struct {
	MinerType string `protobuf:"bytes,1,opt,name=minerType,proto3" json:"minerType,omitempty"`
	ChainName string `protobuf:"bytes,2,opt,name=chainName,proto3" json:"chainName,omitempty"`
	DataDir   string `protobuf:"bytes,3,opt,name=dataDir,proto3" json:"dataDir,omitempty"`
	// contains filtered or unexported fields
}

func (*MinerTemplate) DeepCopy

func (in *MinerTemplate) DeepCopy() *MinerTemplate

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MinerTemplate. Required by controller-gen.

func (*MinerTemplate) DeepCopyInterface

func (in *MinerTemplate) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new MinerTemplate. Required by controller-gen.

func (*MinerTemplate) DeepCopyInto

func (in *MinerTemplate) DeepCopyInto(out *MinerTemplate)

DeepCopyInto supports using MinerTemplate within kubernetes types, where deepcopy-gen is used.

func (*MinerTemplate) Default

func (x *MinerTemplate) Default()

func (*MinerTemplate) Descriptor deprecated

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

Deprecated: Use MinerTemplate.ProtoReflect.Descriptor instead.

func (*MinerTemplate) GetChainName

func (x *MinerTemplate) GetChainName() string

func (*MinerTemplate) GetDataDir

func (x *MinerTemplate) GetDataDir() string

func (*MinerTemplate) GetMinerType

func (x *MinerTemplate) GetMinerType() string

func (*MinerTemplate) MarshalJSON

func (msg *MinerTemplate) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*MinerTemplate) ProtoMessage

func (*MinerTemplate) ProtoMessage()

func (*MinerTemplate) ProtoReflect

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

func (*MinerTemplate) Reset

func (x *MinerTemplate) Reset()

func (*MinerTemplate) String

func (x *MinerTemplate) String() string

func (*MinerTemplate) UnmarshalJSON

func (msg *MinerTemplate) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*MinerTemplate) Validate

func (m *MinerTemplate) Validate() error

Validate checks the field values on MinerTemplate 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 (*MinerTemplate) ValidateAll

func (m *MinerTemplate) ValidateAll() error

ValidateAll checks the field values on MinerTemplate 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 MinerTemplateMultiError, or nil if none found.

type MinerTemplateMultiError

type MinerTemplateMultiError []error

MinerTemplateMultiError is an error wrapping multiple validation errors returned by MinerTemplate.ValidateAll() if the designated constraints aren't met.

func (MinerTemplateMultiError) AllErrors

func (m MinerTemplateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MinerTemplateMultiError) Error

func (m MinerTemplateMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MinerTemplateValidationError

type MinerTemplateValidationError struct {
	// contains filtered or unexported fields
}

MinerTemplateValidationError is the validation error returned by MinerTemplate.Validate if the designated constraints aren't met.

func (MinerTemplateValidationError) Cause

Cause function returns cause value.

func (MinerTemplateValidationError) Error

Error satisfies the builtin error interface

func (MinerTemplateValidationError) ErrorName

func (e MinerTemplateValidationError) ErrorName() string

ErrorName returns error name.

func (MinerTemplateValidationError) Field

Field function returns field value.

func (MinerTemplateValidationError) Key

Key function returns key value.

func (MinerTemplateValidationError) Reason

Reason function returns reason value.

type MinerValidationError

type MinerValidationError struct {
	// contains filtered or unexported fields
}

MinerValidationError is the validation error returned by Miner.Validate if the designated constraints aren't met.

func (MinerValidationError) Cause

func (e MinerValidationError) Cause() error

Cause function returns cause value.

func (MinerValidationError) Error

func (e MinerValidationError) Error() string

Error satisfies the builtin error interface

func (MinerValidationError) ErrorName

func (e MinerValidationError) ErrorName() string

ErrorName returns error name.

func (MinerValidationError) Field

func (e MinerValidationError) Field() string

Field function returns field value.

func (MinerValidationError) Key

func (e MinerValidationError) Key() bool

Key function returns key value.

func (MinerValidationError) Reason

func (e MinerValidationError) Reason() string

Reason function returns reason value.

type ScaleMinerSetRequest

type ScaleMinerSetRequest struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Replicas int32  `protobuf:"varint,2,opt,name=replicas,proto3" json:"replicas,omitempty"`
	// contains filtered or unexported fields
}

func (*ScaleMinerSetRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleMinerSetRequest. Required by controller-gen.

func (*ScaleMinerSetRequest) DeepCopyInterface

func (in *ScaleMinerSetRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ScaleMinerSetRequest. Required by controller-gen.

func (*ScaleMinerSetRequest) DeepCopyInto

func (in *ScaleMinerSetRequest) DeepCopyInto(out *ScaleMinerSetRequest)

DeepCopyInto supports using ScaleMinerSetRequest within kubernetes types, where deepcopy-gen is used.

func (*ScaleMinerSetRequest) Default

func (x *ScaleMinerSetRequest) Default()

func (*ScaleMinerSetRequest) Descriptor deprecated

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

Deprecated: Use ScaleMinerSetRequest.ProtoReflect.Descriptor instead.

func (*ScaleMinerSetRequest) GetName

func (x *ScaleMinerSetRequest) GetName() string

func (*ScaleMinerSetRequest) GetReplicas

func (x *ScaleMinerSetRequest) GetReplicas() int32

func (*ScaleMinerSetRequest) MarshalJSON

func (msg *ScaleMinerSetRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ScaleMinerSetRequest) ProtoMessage

func (*ScaleMinerSetRequest) ProtoMessage()

func (*ScaleMinerSetRequest) ProtoReflect

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

func (*ScaleMinerSetRequest) Reset

func (x *ScaleMinerSetRequest) Reset()

func (*ScaleMinerSetRequest) String

func (x *ScaleMinerSetRequest) String() string

func (*ScaleMinerSetRequest) UnmarshalJSON

func (msg *ScaleMinerSetRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleMinerSetRequest) Validate

func (m *ScaleMinerSetRequest) Validate() error

Validate checks the field values on ScaleMinerSetRequest 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 (*ScaleMinerSetRequest) ValidateAll

func (m *ScaleMinerSetRequest) ValidateAll() error

ValidateAll checks the field values on ScaleMinerSetRequest 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 ScaleMinerSetRequestMultiError, or nil if none found.

type ScaleMinerSetRequestMultiError

type ScaleMinerSetRequestMultiError []error

ScaleMinerSetRequestMultiError is an error wrapping multiple validation errors returned by ScaleMinerSetRequest.ValidateAll() if the designated constraints aren't met.

func (ScaleMinerSetRequestMultiError) AllErrors

func (m ScaleMinerSetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScaleMinerSetRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ScaleMinerSetRequestValidationError

type ScaleMinerSetRequestValidationError struct {
	// contains filtered or unexported fields
}

ScaleMinerSetRequestValidationError is the validation error returned by ScaleMinerSetRequest.Validate if the designated constraints aren't met.

func (ScaleMinerSetRequestValidationError) Cause

Cause function returns cause value.

func (ScaleMinerSetRequestValidationError) Error

Error satisfies the builtin error interface

func (ScaleMinerSetRequestValidationError) ErrorName

ErrorName returns error name.

func (ScaleMinerSetRequestValidationError) Field

Field function returns field value.

func (ScaleMinerSetRequestValidationError) Key

Key function returns key value.

func (ScaleMinerSetRequestValidationError) Reason

Reason function returns reason value.

type ScaleMinerSetResponse

type ScaleMinerSetResponse struct {
	// contains filtered or unexported fields
}

func (*ScaleMinerSetResponse) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleMinerSetResponse. Required by controller-gen.

func (*ScaleMinerSetResponse) DeepCopyInterface

func (in *ScaleMinerSetResponse) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new ScaleMinerSetResponse. Required by controller-gen.

func (*ScaleMinerSetResponse) DeepCopyInto

func (in *ScaleMinerSetResponse) DeepCopyInto(out *ScaleMinerSetResponse)

DeepCopyInto supports using ScaleMinerSetResponse within kubernetes types, where deepcopy-gen is used.

func (*ScaleMinerSetResponse) Default

func (x *ScaleMinerSetResponse) Default()

func (*ScaleMinerSetResponse) Descriptor deprecated

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

Deprecated: Use ScaleMinerSetResponse.ProtoReflect.Descriptor instead.

func (*ScaleMinerSetResponse) MarshalJSON

func (msg *ScaleMinerSetResponse) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*ScaleMinerSetResponse) ProtoMessage

func (*ScaleMinerSetResponse) ProtoMessage()

func (*ScaleMinerSetResponse) ProtoReflect

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

func (*ScaleMinerSetResponse) Reset

func (x *ScaleMinerSetResponse) Reset()

func (*ScaleMinerSetResponse) String

func (x *ScaleMinerSetResponse) String() string

func (*ScaleMinerSetResponse) UnmarshalJSON

func (msg *ScaleMinerSetResponse) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*ScaleMinerSetResponse) Validate

func (m *ScaleMinerSetResponse) Validate() error

Validate checks the field values on ScaleMinerSetResponse 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 (*ScaleMinerSetResponse) ValidateAll

func (m *ScaleMinerSetResponse) ValidateAll() error

ValidateAll checks the field values on ScaleMinerSetResponse 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 ScaleMinerSetResponseMultiError, or nil if none found.

type ScaleMinerSetResponseMultiError

type ScaleMinerSetResponseMultiError []error

ScaleMinerSetResponseMultiError is an error wrapping multiple validation errors returned by ScaleMinerSetResponse.ValidateAll() if the designated constraints aren't met.

func (ScaleMinerSetResponseMultiError) AllErrors

func (m ScaleMinerSetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ScaleMinerSetResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type ScaleMinerSetResponseValidationError

type ScaleMinerSetResponseValidationError struct {
	// contains filtered or unexported fields
}

ScaleMinerSetResponseValidationError is the validation error returned by ScaleMinerSetResponse.Validate if the designated constraints aren't met.

func (ScaleMinerSetResponseValidationError) Cause

Cause function returns cause value.

func (ScaleMinerSetResponseValidationError) Error

Error satisfies the builtin error interface

func (ScaleMinerSetResponseValidationError) ErrorName

ErrorName returns error name.

func (ScaleMinerSetResponseValidationError) Field

Field function returns field value.

func (ScaleMinerSetResponseValidationError) Key

Key function returns key value.

func (ScaleMinerSetResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedGatewayServer

type UnimplementedGatewayServer struct{}

UnimplementedGatewayServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedGatewayServer) CreateMiner

func (UnimplementedGatewayServer) CreateMinerSet

func (UnimplementedGatewayServer) DeleteMiner

func (UnimplementedGatewayServer) DeleteMinerSet

func (UnimplementedGatewayServer) GetIdempotentToken

func (UnimplementedGatewayServer) GetMiner

func (UnimplementedGatewayServer) GetMinerSet

func (UnimplementedGatewayServer) GetVersion

func (UnimplementedGatewayServer) ListMiner

func (UnimplementedGatewayServer) ListMinerSet

func (UnimplementedGatewayServer) ScaleMinerSet

func (UnimplementedGatewayServer) UpdateMiner

func (UnimplementedGatewayServer) UpdateMinerSet

type UnsafeGatewayServer

type UnsafeGatewayServer interface {
	// contains filtered or unexported methods
}

UnsafeGatewayServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayServer will result in compilation errors.

type UpdateMinerRequest

type UpdateMinerRequest struct {
	Name         string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName  *string `protobuf:"bytes,2,opt,name=displayName,proto3,oneof" json:"displayName,omitempty"`
	DeletePolicy *string `protobuf:"bytes,3,opt,name=deletePolicy,proto3,oneof" json:"deletePolicy,omitempty"`
	// contains filtered or unexported fields
}

UpdateMinerRequest represents the request message for updating an existing miner.

func (*UpdateMinerRequest) DeepCopy

func (in *UpdateMinerRequest) DeepCopy() *UpdateMinerRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateMinerRequest. Required by controller-gen.

func (*UpdateMinerRequest) DeepCopyInterface

func (in *UpdateMinerRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateMinerRequest. Required by controller-gen.

func (*UpdateMinerRequest) DeepCopyInto

func (in *UpdateMinerRequest) DeepCopyInto(out *UpdateMinerRequest)

DeepCopyInto supports using UpdateMinerRequest within kubernetes types, where deepcopy-gen is used.

func (*UpdateMinerRequest) Default

func (x *UpdateMinerRequest) Default()

func (*UpdateMinerRequest) Descriptor deprecated

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

Deprecated: Use UpdateMinerRequest.ProtoReflect.Descriptor instead.

func (*UpdateMinerRequest) GetDeletePolicy

func (x *UpdateMinerRequest) GetDeletePolicy() string

func (*UpdateMinerRequest) GetDisplayName

func (x *UpdateMinerRequest) GetDisplayName() string

func (*UpdateMinerRequest) GetName

func (x *UpdateMinerRequest) GetName() string

func (*UpdateMinerRequest) MarshalJSON

func (msg *UpdateMinerRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpdateMinerRequest) ProtoMessage

func (*UpdateMinerRequest) ProtoMessage()

func (*UpdateMinerRequest) ProtoReflect

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

func (*UpdateMinerRequest) Reset

func (x *UpdateMinerRequest) Reset()

func (*UpdateMinerRequest) String

func (x *UpdateMinerRequest) String() string

func (*UpdateMinerRequest) UnmarshalJSON

func (msg *UpdateMinerRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdateMinerRequest) Validate

func (m *UpdateMinerRequest) Validate() error

Validate checks the field values on UpdateMinerRequest 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 (*UpdateMinerRequest) ValidateAll

func (m *UpdateMinerRequest) ValidateAll() error

ValidateAll checks the field values on UpdateMinerRequest 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 UpdateMinerRequestMultiError, or nil if none found.

type UpdateMinerRequestMultiError

type UpdateMinerRequestMultiError []error

UpdateMinerRequestMultiError is an error wrapping multiple validation errors returned by UpdateMinerRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateMinerRequestMultiError) AllErrors

func (m UpdateMinerRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateMinerRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateMinerRequestValidationError

type UpdateMinerRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateMinerRequestValidationError is the validation error returned by UpdateMinerRequest.Validate if the designated constraints aren't met.

func (UpdateMinerRequestValidationError) Cause

Cause function returns cause value.

func (UpdateMinerRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateMinerRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateMinerRequestValidationError) Field

Field function returns field value.

func (UpdateMinerRequestValidationError) Key

Key function returns key value.

func (UpdateMinerRequestValidationError) Reason

Reason function returns reason value.

type UpdateMinerSetRequest

type UpdateMinerSetRequest struct {
	Name         string  `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DisplayName  *string `protobuf:"bytes,2,opt,name=displayName,proto3,oneof" json:"displayName,omitempty"`
	DeletePolicy *string `protobuf:"bytes,3,opt,name=deletePolicy,proto3,oneof" json:"deletePolicy,omitempty"`
	// contains filtered or unexported fields
}

UpdateMinerSetRequest represents the request message for updating an existing minerset.

func (*UpdateMinerSetRequest) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpdateMinerSetRequest. Required by controller-gen.

func (*UpdateMinerSetRequest) DeepCopyInterface

func (in *UpdateMinerSetRequest) DeepCopyInterface() interface{}

DeepCopyInterface is an autogenerated deepcopy function, copying the receiver, creating a new UpdateMinerSetRequest. Required by controller-gen.

func (*UpdateMinerSetRequest) DeepCopyInto

func (in *UpdateMinerSetRequest) DeepCopyInto(out *UpdateMinerSetRequest)

DeepCopyInto supports using UpdateMinerSetRequest within kubernetes types, where deepcopy-gen is used.

func (*UpdateMinerSetRequest) Default

func (x *UpdateMinerSetRequest) Default()

func (*UpdateMinerSetRequest) Descriptor deprecated

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

Deprecated: Use UpdateMinerSetRequest.ProtoReflect.Descriptor instead.

func (*UpdateMinerSetRequest) GetDeletePolicy

func (x *UpdateMinerSetRequest) GetDeletePolicy() string

func (*UpdateMinerSetRequest) GetDisplayName

func (x *UpdateMinerSetRequest) GetDisplayName() string

func (*UpdateMinerSetRequest) GetName

func (x *UpdateMinerSetRequest) GetName() string

func (*UpdateMinerSetRequest) MarshalJSON

func (msg *UpdateMinerSetRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements json.Marshaler

func (*UpdateMinerSetRequest) ProtoMessage

func (*UpdateMinerSetRequest) ProtoMessage()

func (*UpdateMinerSetRequest) ProtoReflect

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

func (*UpdateMinerSetRequest) Reset

func (x *UpdateMinerSetRequest) Reset()

func (*UpdateMinerSetRequest) String

func (x *UpdateMinerSetRequest) String() string

func (*UpdateMinerSetRequest) UnmarshalJSON

func (msg *UpdateMinerSetRequest) UnmarshalJSON(b []byte) error

UnmarshalJSON implements json.Unmarshaler

func (*UpdateMinerSetRequest) Validate

func (m *UpdateMinerSetRequest) Validate() error

Validate checks the field values on UpdateMinerSetRequest 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 (*UpdateMinerSetRequest) ValidateAll

func (m *UpdateMinerSetRequest) ValidateAll() error

ValidateAll checks the field values on UpdateMinerSetRequest 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 UpdateMinerSetRequestMultiError, or nil if none found.

type UpdateMinerSetRequestMultiError

type UpdateMinerSetRequestMultiError []error

UpdateMinerSetRequestMultiError is an error wrapping multiple validation errors returned by UpdateMinerSetRequest.ValidateAll() if the designated constraints aren't met.

func (UpdateMinerSetRequestMultiError) AllErrors

func (m UpdateMinerSetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateMinerSetRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type UpdateMinerSetRequestValidationError

type UpdateMinerSetRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateMinerSetRequestValidationError is the validation error returned by UpdateMinerSetRequest.Validate if the designated constraints aren't met.

func (UpdateMinerSetRequestValidationError) Cause

Cause function returns cause value.

func (UpdateMinerSetRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateMinerSetRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateMinerSetRequestValidationError) Field

Field function returns field value.

func (UpdateMinerSetRequestValidationError) Key

Key function returns key value.

func (UpdateMinerSetRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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