Documentation
¶
Index ¶
- Constants
- Variables
- func ErrorUserAlreadyExists(format string, args ...interface{}) *errors.Error
- func ErrorUserCreateFailed(format string, args ...interface{}) *errors.Error
- func ErrorUserLoginFailed(format string, args ...interface{}) *errors.Error
- func ErrorUserNotFound(format string, args ...interface{}) *errors.Error
- func IsUserAlreadyExists(err error) bool
- func IsUserCreateFailed(err error) bool
- func IsUserLoginFailed(err error) bool
- func IsUserNotFound(err error) bool
- func RegisterGatewayHTTPServer(s *http.Server, srv GatewayHTTPServer)
- func RegisterGatewayServer(s grpc.ServiceRegistrar, srv GatewayServer)
- type CreateMinerRequest
- func (in *CreateMinerRequest) DeepCopy() *CreateMinerRequest
- func (in *CreateMinerRequest) DeepCopyInterface() interface{}
- func (in *CreateMinerRequest) DeepCopyInto(out *CreateMinerRequest)
- func (x *CreateMinerRequest) Default()
- func (*CreateMinerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMinerRequest) GetChainName() string
- func (x *CreateMinerRequest) GetDataDir() string
- func (x *CreateMinerRequest) GetDisplayName() string
- func (x *CreateMinerRequest) GetMinerType() string
- func (msg *CreateMinerRequest) MarshalJSON() ([]byte, error)
- func (*CreateMinerRequest) ProtoMessage()
- func (x *CreateMinerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMinerRequest) Reset()
- func (x *CreateMinerRequest) String() string
- func (msg *CreateMinerRequest) UnmarshalJSON(b []byte) error
- func (m *CreateMinerRequest) Validate() error
- func (m *CreateMinerRequest) ValidateAll() error
- type CreateMinerRequestMultiError
- type CreateMinerRequestValidationError
- func (e CreateMinerRequestValidationError) Cause() error
- func (e CreateMinerRequestValidationError) Error() string
- func (e CreateMinerRequestValidationError) ErrorName() string
- func (e CreateMinerRequestValidationError) Field() string
- func (e CreateMinerRequestValidationError) Key() bool
- func (e CreateMinerRequestValidationError) Reason() string
- type CreateMinerSetRequest
- func (in *CreateMinerSetRequest) DeepCopy() *CreateMinerSetRequest
- func (in *CreateMinerSetRequest) DeepCopyInterface() interface{}
- func (in *CreateMinerSetRequest) DeepCopyInto(out *CreateMinerSetRequest)
- func (x *CreateMinerSetRequest) Default()
- func (*CreateMinerSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateMinerSetRequest) GetDeletePolicy() string
- func (x *CreateMinerSetRequest) GetDisplayName() string
- func (x *CreateMinerSetRequest) GetMinerTemplate() *MinerTemplate
- func (x *CreateMinerSetRequest) GetReplicas() int32
- func (msg *CreateMinerSetRequest) MarshalJSON() ([]byte, error)
- func (*CreateMinerSetRequest) ProtoMessage()
- func (x *CreateMinerSetRequest) ProtoReflect() protoreflect.Message
- func (x *CreateMinerSetRequest) Reset()
- func (x *CreateMinerSetRequest) String() string
- func (msg *CreateMinerSetRequest) UnmarshalJSON(b []byte) error
- func (m *CreateMinerSetRequest) Validate() error
- func (m *CreateMinerSetRequest) ValidateAll() error
- type CreateMinerSetRequestMultiError
- type CreateMinerSetRequestValidationError
- func (e CreateMinerSetRequestValidationError) Cause() error
- func (e CreateMinerSetRequestValidationError) Error() string
- func (e CreateMinerSetRequestValidationError) ErrorName() string
- func (e CreateMinerSetRequestValidationError) Field() string
- func (e CreateMinerSetRequestValidationError) Key() bool
- func (e CreateMinerSetRequestValidationError) Reason() string
- type DeleteMinerRequest
- func (in *DeleteMinerRequest) DeepCopy() *DeleteMinerRequest
- func (in *DeleteMinerRequest) DeepCopyInterface() interface{}
- func (in *DeleteMinerRequest) DeepCopyInto(out *DeleteMinerRequest)
- func (x *DeleteMinerRequest) Default()
- func (*DeleteMinerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMinerRequest) GetName() string
- func (msg *DeleteMinerRequest) MarshalJSON() ([]byte, error)
- func (*DeleteMinerRequest) ProtoMessage()
- func (x *DeleteMinerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMinerRequest) Reset()
- func (x *DeleteMinerRequest) String() string
- func (msg *DeleteMinerRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteMinerRequest) Validate() error
- func (m *DeleteMinerRequest) ValidateAll() error
- type DeleteMinerRequestMultiError
- type DeleteMinerRequestValidationError
- func (e DeleteMinerRequestValidationError) Cause() error
- func (e DeleteMinerRequestValidationError) Error() string
- func (e DeleteMinerRequestValidationError) ErrorName() string
- func (e DeleteMinerRequestValidationError) Field() string
- func (e DeleteMinerRequestValidationError) Key() bool
- func (e DeleteMinerRequestValidationError) Reason() string
- type DeleteMinerResponse
- func (in *DeleteMinerResponse) DeepCopy() *DeleteMinerResponse
- func (in *DeleteMinerResponse) DeepCopyInterface() interface{}
- func (in *DeleteMinerResponse) DeepCopyInto(out *DeleteMinerResponse)
- func (x *DeleteMinerResponse) Default()
- func (*DeleteMinerResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *DeleteMinerResponse) MarshalJSON() ([]byte, error)
- func (*DeleteMinerResponse) ProtoMessage()
- func (x *DeleteMinerResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteMinerResponse) Reset()
- func (x *DeleteMinerResponse) String() string
- func (msg *DeleteMinerResponse) UnmarshalJSON(b []byte) error
- func (m *DeleteMinerResponse) Validate() error
- func (m *DeleteMinerResponse) ValidateAll() error
- type DeleteMinerResponseMultiError
- type DeleteMinerResponseValidationError
- func (e DeleteMinerResponseValidationError) Cause() error
- func (e DeleteMinerResponseValidationError) Error() string
- func (e DeleteMinerResponseValidationError) ErrorName() string
- func (e DeleteMinerResponseValidationError) Field() string
- func (e DeleteMinerResponseValidationError) Key() bool
- func (e DeleteMinerResponseValidationError) Reason() string
- type DeleteMinerSetRequest
- func (in *DeleteMinerSetRequest) DeepCopy() *DeleteMinerSetRequest
- func (in *DeleteMinerSetRequest) DeepCopyInterface() interface{}
- func (in *DeleteMinerSetRequest) DeepCopyInto(out *DeleteMinerSetRequest)
- func (x *DeleteMinerSetRequest) Default()
- func (*DeleteMinerSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMinerSetRequest) GetName() string
- func (msg *DeleteMinerSetRequest) MarshalJSON() ([]byte, error)
- func (*DeleteMinerSetRequest) ProtoMessage()
- func (x *DeleteMinerSetRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMinerSetRequest) Reset()
- func (x *DeleteMinerSetRequest) String() string
- func (msg *DeleteMinerSetRequest) UnmarshalJSON(b []byte) error
- func (m *DeleteMinerSetRequest) Validate() error
- func (m *DeleteMinerSetRequest) ValidateAll() error
- type DeleteMinerSetRequestMultiError
- type DeleteMinerSetRequestValidationError
- func (e DeleteMinerSetRequestValidationError) Cause() error
- func (e DeleteMinerSetRequestValidationError) Error() string
- func (e DeleteMinerSetRequestValidationError) ErrorName() string
- func (e DeleteMinerSetRequestValidationError) Field() string
- func (e DeleteMinerSetRequestValidationError) Key() bool
- func (e DeleteMinerSetRequestValidationError) Reason() string
- type DeleteMinerSetResponse
- func (in *DeleteMinerSetResponse) DeepCopy() *DeleteMinerSetResponse
- func (in *DeleteMinerSetResponse) DeepCopyInterface() interface{}
- func (in *DeleteMinerSetResponse) DeepCopyInto(out *DeleteMinerSetResponse)
- func (x *DeleteMinerSetResponse) Default()
- func (*DeleteMinerSetResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *DeleteMinerSetResponse) MarshalJSON() ([]byte, error)
- func (*DeleteMinerSetResponse) ProtoMessage()
- func (x *DeleteMinerSetResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteMinerSetResponse) Reset()
- func (x *DeleteMinerSetResponse) String() string
- func (msg *DeleteMinerSetResponse) UnmarshalJSON(b []byte) error
- func (m *DeleteMinerSetResponse) Validate() error
- func (m *DeleteMinerSetResponse) ValidateAll() error
- type DeleteMinerSetResponseMultiError
- type DeleteMinerSetResponseValidationError
- func (e DeleteMinerSetResponseValidationError) Cause() error
- func (e DeleteMinerSetResponseValidationError) Error() string
- func (e DeleteMinerSetResponseValidationError) ErrorName() string
- func (e DeleteMinerSetResponseValidationError) Field() string
- func (e DeleteMinerSetResponseValidationError) Key() bool
- func (e DeleteMinerSetResponseValidationError) Reason() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type GatewayClient
- type GatewayHTTPClient
- type GatewayHTTPClientImpl
- func (c *GatewayHTTPClientImpl) CreateMiner(ctx context.Context, in *v1beta1.Miner, opts ...http.CallOption) (*v1beta1.Miner, error)
- func (c *GatewayHTTPClientImpl) CreateMinerSet(ctx context.Context, in *v1beta1.MinerSet, opts ...http.CallOption) (*v1beta1.MinerSet, error)
- func (c *GatewayHTTPClientImpl) DeleteMiner(ctx context.Context, in *DeleteMinerRequest, opts ...http.CallOption) (*DeleteMinerResponse, error)
- func (c *GatewayHTTPClientImpl) DeleteMinerSet(ctx context.Context, in *DeleteMinerSetRequest, opts ...http.CallOption) (*DeleteMinerSetResponse, error)
- func (c *GatewayHTTPClientImpl) GetIdempotentToken(ctx context.Context, in *IdempotentRequest, opts ...http.CallOption) (*IdempotentResponse, error)
- func (c *GatewayHTTPClientImpl) GetMiner(ctx context.Context, in *GetMinerRequest, opts ...http.CallOption) (*v1beta1.Miner, error)
- func (c *GatewayHTTPClientImpl) GetMinerSet(ctx context.Context, in *GetMinerSetRequest, opts ...http.CallOption) (*v1beta1.MinerSet, error)
- func (c *GatewayHTTPClientImpl) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...http.CallOption) (*GetVersionResponse, error)
- func (c *GatewayHTTPClientImpl) ListMiner(ctx context.Context, in *ListMinerRequest, opts ...http.CallOption) (*ListMinerResponse, error)
- func (c *GatewayHTTPClientImpl) ListMinerSet(ctx context.Context, in *ListMinerSetRequest, opts ...http.CallOption) (*ListMinerSetResponse, error)
- func (c *GatewayHTTPClientImpl) ScaleMinerSet(ctx context.Context, in *ScaleMinerSetRequest, opts ...http.CallOption) (*ScaleMinerSetResponse, error)
- func (c *GatewayHTTPClientImpl) UpdateMiner(ctx context.Context, in *v1beta1.Miner, opts ...http.CallOption) (*v1beta1.Miner, error)
- func (c *GatewayHTTPClientImpl) UpdateMinerSet(ctx context.Context, in *v1beta1.MinerSet, opts ...http.CallOption) (*v1beta1.MinerSet, error)
- type GatewayHTTPServer
- type GatewayServer
- type GetMinerRequest
- func (in *GetMinerRequest) DeepCopy() *GetMinerRequest
- func (in *GetMinerRequest) DeepCopyInterface() interface{}
- func (in *GetMinerRequest) DeepCopyInto(out *GetMinerRequest)
- func (x *GetMinerRequest) Default()
- func (*GetMinerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMinerRequest) GetName() string
- func (msg *GetMinerRequest) MarshalJSON() ([]byte, error)
- func (*GetMinerRequest) ProtoMessage()
- func (x *GetMinerRequest) ProtoReflect() protoreflect.Message
- func (x *GetMinerRequest) Reset()
- func (x *GetMinerRequest) String() string
- func (msg *GetMinerRequest) UnmarshalJSON(b []byte) error
- func (m *GetMinerRequest) Validate() error
- func (m *GetMinerRequest) ValidateAll() error
- type GetMinerRequestMultiError
- type GetMinerRequestValidationError
- func (e GetMinerRequestValidationError) Cause() error
- func (e GetMinerRequestValidationError) Error() string
- func (e GetMinerRequestValidationError) ErrorName() string
- func (e GetMinerRequestValidationError) Field() string
- func (e GetMinerRequestValidationError) Key() bool
- func (e GetMinerRequestValidationError) Reason() string
- type GetMinerResponse
- func (in *GetMinerResponse) DeepCopy() *GetMinerResponse
- func (in *GetMinerResponse) DeepCopyInterface() interface{}
- func (in *GetMinerResponse) DeepCopyInto(out *GetMinerResponse)
- func (x *GetMinerResponse) Default()
- func (*GetMinerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMinerResponse) GetMiner() *Miner
- func (msg *GetMinerResponse) MarshalJSON() ([]byte, error)
- func (*GetMinerResponse) ProtoMessage()
- func (x *GetMinerResponse) ProtoReflect() protoreflect.Message
- func (x *GetMinerResponse) Reset()
- func (x *GetMinerResponse) String() string
- func (msg *GetMinerResponse) UnmarshalJSON(b []byte) error
- func (m *GetMinerResponse) Validate() error
- func (m *GetMinerResponse) ValidateAll() error
- type GetMinerResponseMultiError
- type GetMinerResponseValidationError
- func (e GetMinerResponseValidationError) Cause() error
- func (e GetMinerResponseValidationError) Error() string
- func (e GetMinerResponseValidationError) ErrorName() string
- func (e GetMinerResponseValidationError) Field() string
- func (e GetMinerResponseValidationError) Key() bool
- func (e GetMinerResponseValidationError) Reason() string
- type GetMinerSetRequest
- func (in *GetMinerSetRequest) DeepCopy() *GetMinerSetRequest
- func (in *GetMinerSetRequest) DeepCopyInterface() interface{}
- func (in *GetMinerSetRequest) DeepCopyInto(out *GetMinerSetRequest)
- func (x *GetMinerSetRequest) Default()
- func (*GetMinerSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMinerSetRequest) GetName() string
- func (msg *GetMinerSetRequest) MarshalJSON() ([]byte, error)
- func (*GetMinerSetRequest) ProtoMessage()
- func (x *GetMinerSetRequest) ProtoReflect() protoreflect.Message
- func (x *GetMinerSetRequest) Reset()
- func (x *GetMinerSetRequest) String() string
- func (msg *GetMinerSetRequest) UnmarshalJSON(b []byte) error
- func (m *GetMinerSetRequest) Validate() error
- func (m *GetMinerSetRequest) ValidateAll() error
- type GetMinerSetRequestMultiError
- type GetMinerSetRequestValidationError
- func (e GetMinerSetRequestValidationError) Cause() error
- func (e GetMinerSetRequestValidationError) Error() string
- func (e GetMinerSetRequestValidationError) ErrorName() string
- func (e GetMinerSetRequestValidationError) Field() string
- func (e GetMinerSetRequestValidationError) Key() bool
- func (e GetMinerSetRequestValidationError) Reason() string
- type GetMinerSetResponse
- func (in *GetMinerSetResponse) DeepCopy() *GetMinerSetResponse
- func (in *GetMinerSetResponse) DeepCopyInterface() interface{}
- func (in *GetMinerSetResponse) DeepCopyInto(out *GetMinerSetResponse)
- func (x *GetMinerSetResponse) Default()
- func (*GetMinerSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMinerSetResponse) GetMinerSet() *MinerSet
- func (msg *GetMinerSetResponse) MarshalJSON() ([]byte, error)
- func (*GetMinerSetResponse) ProtoMessage()
- func (x *GetMinerSetResponse) ProtoReflect() protoreflect.Message
- func (x *GetMinerSetResponse) Reset()
- func (x *GetMinerSetResponse) String() string
- func (msg *GetMinerSetResponse) UnmarshalJSON(b []byte) error
- func (m *GetMinerSetResponse) Validate() error
- func (m *GetMinerSetResponse) ValidateAll() error
- type GetMinerSetResponseMultiError
- type GetMinerSetResponseValidationError
- func (e GetMinerSetResponseValidationError) Cause() error
- func (e GetMinerSetResponseValidationError) Error() string
- func (e GetMinerSetResponseValidationError) ErrorName() string
- func (e GetMinerSetResponseValidationError) Field() string
- func (e GetMinerSetResponseValidationError) Key() bool
- func (e GetMinerSetResponseValidationError) Reason() string
- type GetVersionRequest
- func (in *GetVersionRequest) DeepCopy() *GetVersionRequest
- func (in *GetVersionRequest) DeepCopyInterface() interface{}
- func (in *GetVersionRequest) DeepCopyInto(out *GetVersionRequest)
- func (x *GetVersionRequest) Default()
- func (*GetVersionRequest) Descriptor() ([]byte, []int)deprecated
- func (msg *GetVersionRequest) MarshalJSON() ([]byte, error)
- func (*GetVersionRequest) ProtoMessage()
- func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
- func (x *GetVersionRequest) Reset()
- func (x *GetVersionRequest) String() string
- func (msg *GetVersionRequest) UnmarshalJSON(b []byte) error
- func (m *GetVersionRequest) Validate() error
- func (m *GetVersionRequest) ValidateAll() error
- type GetVersionRequestMultiError
- type GetVersionRequestValidationError
- func (e GetVersionRequestValidationError) Cause() error
- func (e GetVersionRequestValidationError) Error() string
- func (e GetVersionRequestValidationError) ErrorName() string
- func (e GetVersionRequestValidationError) Field() string
- func (e GetVersionRequestValidationError) Key() bool
- func (e GetVersionRequestValidationError) Reason() string
- type GetVersionResponse
- func (in *GetVersionResponse) DeepCopy() *GetVersionResponse
- func (in *GetVersionResponse) DeepCopyInterface() interface{}
- func (in *GetVersionResponse) DeepCopyInto(out *GetVersionResponse)
- func (x *GetVersionResponse) Default()
- func (*GetVersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetVersionResponse) GetBuildDate() string
- func (x *GetVersionResponse) GetCompiler() string
- func (x *GetVersionResponse) GetGitCommit() string
- func (x *GetVersionResponse) GetGitTreeState() string
- func (x *GetVersionResponse) GetGitVersion() string
- func (x *GetVersionResponse) GetGoVersion() string
- func (x *GetVersionResponse) GetPlatform() string
- func (msg *GetVersionResponse) MarshalJSON() ([]byte, error)
- func (*GetVersionResponse) ProtoMessage()
- func (x *GetVersionResponse) ProtoReflect() protoreflect.Message
- func (x *GetVersionResponse) Reset()
- func (x *GetVersionResponse) String() string
- func (msg *GetVersionResponse) UnmarshalJSON(b []byte) error
- func (m *GetVersionResponse) Validate() error
- func (m *GetVersionResponse) ValidateAll() error
- type GetVersionResponseMultiError
- type GetVersionResponseValidationError
- func (e GetVersionResponseValidationError) Cause() error
- func (e GetVersionResponseValidationError) Error() string
- func (e GetVersionResponseValidationError) ErrorName() string
- func (e GetVersionResponseValidationError) Field() string
- func (e GetVersionResponseValidationError) Key() bool
- func (e GetVersionResponseValidationError) Reason() string
- type IdempotentRequest
- func (in *IdempotentRequest) DeepCopy() *IdempotentRequest
- func (in *IdempotentRequest) DeepCopyInterface() interface{}
- func (in *IdempotentRequest) DeepCopyInto(out *IdempotentRequest)
- func (x *IdempotentRequest) Default()
- func (*IdempotentRequest) Descriptor() ([]byte, []int)deprecated
- func (msg *IdempotentRequest) MarshalJSON() ([]byte, error)
- func (*IdempotentRequest) ProtoMessage()
- func (x *IdempotentRequest) ProtoReflect() protoreflect.Message
- func (x *IdempotentRequest) Reset()
- func (x *IdempotentRequest) String() string
- func (msg *IdempotentRequest) UnmarshalJSON(b []byte) error
- func (m *IdempotentRequest) Validate() error
- func (m *IdempotentRequest) ValidateAll() error
- type IdempotentRequestMultiError
- type IdempotentRequestValidationError
- func (e IdempotentRequestValidationError) Cause() error
- func (e IdempotentRequestValidationError) Error() string
- func (e IdempotentRequestValidationError) ErrorName() string
- func (e IdempotentRequestValidationError) Field() string
- func (e IdempotentRequestValidationError) Key() bool
- func (e IdempotentRequestValidationError) Reason() string
- type IdempotentResponse
- func (in *IdempotentResponse) DeepCopy() *IdempotentResponse
- func (in *IdempotentResponse) DeepCopyInterface() interface{}
- func (in *IdempotentResponse) DeepCopyInto(out *IdempotentResponse)
- func (x *IdempotentResponse) Default()
- func (*IdempotentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IdempotentResponse) GetToken() string
- func (msg *IdempotentResponse) MarshalJSON() ([]byte, error)
- func (*IdempotentResponse) ProtoMessage()
- func (x *IdempotentResponse) ProtoReflect() protoreflect.Message
- func (x *IdempotentResponse) Reset()
- func (x *IdempotentResponse) String() string
- func (msg *IdempotentResponse) UnmarshalJSON(b []byte) error
- func (m *IdempotentResponse) Validate() error
- func (m *IdempotentResponse) ValidateAll() error
- type IdempotentResponseMultiError
- type IdempotentResponseValidationError
- func (e IdempotentResponseValidationError) Cause() error
- func (e IdempotentResponseValidationError) Error() string
- func (e IdempotentResponseValidationError) ErrorName() string
- func (e IdempotentResponseValidationError) Field() string
- func (e IdempotentResponseValidationError) Key() bool
- func (e IdempotentResponseValidationError) Reason() string
- type ListMinerRequest
- func (in *ListMinerRequest) DeepCopy() *ListMinerRequest
- func (in *ListMinerRequest) DeepCopyInterface() interface{}
- func (in *ListMinerRequest) DeepCopyInto(out *ListMinerRequest)
- func (x *ListMinerRequest) Default()
- func (*ListMinerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMinerRequest) GetLimit() int64
- func (x *ListMinerRequest) GetOffset() int64
- func (msg *ListMinerRequest) MarshalJSON() ([]byte, error)
- func (*ListMinerRequest) ProtoMessage()
- func (x *ListMinerRequest) ProtoReflect() protoreflect.Message
- func (x *ListMinerRequest) Reset()
- func (x *ListMinerRequest) String() string
- func (msg *ListMinerRequest) UnmarshalJSON(b []byte) error
- func (m *ListMinerRequest) Validate() error
- func (m *ListMinerRequest) ValidateAll() error
- type ListMinerRequestMultiError
- type ListMinerRequestValidationError
- func (e ListMinerRequestValidationError) Cause() error
- func (e ListMinerRequestValidationError) Error() string
- func (e ListMinerRequestValidationError) ErrorName() string
- func (e ListMinerRequestValidationError) Field() string
- func (e ListMinerRequestValidationError) Key() bool
- func (e ListMinerRequestValidationError) Reason() string
- type ListMinerResponse
- func (in *ListMinerResponse) DeepCopy() *ListMinerResponse
- func (in *ListMinerResponse) DeepCopyInterface() interface{}
- func (in *ListMinerResponse) DeepCopyInto(out *ListMinerResponse)
- func (x *ListMinerResponse) Default()
- func (*ListMinerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMinerResponse) GetMiners() []*Miner
- func (x *ListMinerResponse) GetTotal() int64
- func (msg *ListMinerResponse) MarshalJSON() ([]byte, error)
- func (*ListMinerResponse) ProtoMessage()
- func (x *ListMinerResponse) ProtoReflect() protoreflect.Message
- func (x *ListMinerResponse) Reset()
- func (x *ListMinerResponse) String() string
- func (msg *ListMinerResponse) UnmarshalJSON(b []byte) error
- func (m *ListMinerResponse) Validate() error
- func (m *ListMinerResponse) ValidateAll() error
- type ListMinerResponseMultiError
- type ListMinerResponseValidationError
- func (e ListMinerResponseValidationError) Cause() error
- func (e ListMinerResponseValidationError) Error() string
- func (e ListMinerResponseValidationError) ErrorName() string
- func (e ListMinerResponseValidationError) Field() string
- func (e ListMinerResponseValidationError) Key() bool
- func (e ListMinerResponseValidationError) Reason() string
- type ListMinerSetRequest
- func (in *ListMinerSetRequest) DeepCopy() *ListMinerSetRequest
- func (in *ListMinerSetRequest) DeepCopyInterface() interface{}
- func (in *ListMinerSetRequest) DeepCopyInto(out *ListMinerSetRequest)
- func (x *ListMinerSetRequest) Default()
- func (*ListMinerSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListMinerSetRequest) GetLimit() int64
- func (x *ListMinerSetRequest) GetOffset() int64
- func (msg *ListMinerSetRequest) MarshalJSON() ([]byte, error)
- func (*ListMinerSetRequest) ProtoMessage()
- func (x *ListMinerSetRequest) ProtoReflect() protoreflect.Message
- func (x *ListMinerSetRequest) Reset()
- func (x *ListMinerSetRequest) String() string
- func (msg *ListMinerSetRequest) UnmarshalJSON(b []byte) error
- func (m *ListMinerSetRequest) Validate() error
- func (m *ListMinerSetRequest) ValidateAll() error
- type ListMinerSetRequestMultiError
- type ListMinerSetRequestValidationError
- func (e ListMinerSetRequestValidationError) Cause() error
- func (e ListMinerSetRequestValidationError) Error() string
- func (e ListMinerSetRequestValidationError) ErrorName() string
- func (e ListMinerSetRequestValidationError) Field() string
- func (e ListMinerSetRequestValidationError) Key() bool
- func (e ListMinerSetRequestValidationError) Reason() string
- type ListMinerSetResponse
- func (in *ListMinerSetResponse) DeepCopy() *ListMinerSetResponse
- func (in *ListMinerSetResponse) DeepCopyInterface() interface{}
- func (in *ListMinerSetResponse) DeepCopyInto(out *ListMinerSetResponse)
- func (x *ListMinerSetResponse) Default()
- func (*ListMinerSetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListMinerSetResponse) GetMinerSets() []*MinerSet
- func (x *ListMinerSetResponse) GetTotal() int64
- func (msg *ListMinerSetResponse) MarshalJSON() ([]byte, error)
- func (*ListMinerSetResponse) ProtoMessage()
- func (x *ListMinerSetResponse) ProtoReflect() protoreflect.Message
- func (x *ListMinerSetResponse) Reset()
- func (x *ListMinerSetResponse) String() string
- func (msg *ListMinerSetResponse) UnmarshalJSON(b []byte) error
- func (m *ListMinerSetResponse) Validate() error
- func (m *ListMinerSetResponse) ValidateAll() error
- type ListMinerSetResponseMultiError
- type ListMinerSetResponseValidationError
- func (e ListMinerSetResponseValidationError) Cause() error
- func (e ListMinerSetResponseValidationError) Error() string
- func (e ListMinerSetResponseValidationError) ErrorName() string
- func (e ListMinerSetResponseValidationError) Field() string
- func (e ListMinerSetResponseValidationError) Key() bool
- func (e ListMinerSetResponseValidationError) Reason() string
- type Miner
- func (in *Miner) DeepCopy() *Miner
- func (in *Miner) DeepCopyInterface() interface{}
- func (in *Miner) DeepCopyInto(out *Miner)
- func (x *Miner) Default()
- func (*Miner) Descriptor() ([]byte, []int)deprecated
- func (x *Miner) GetChainName() string
- func (x *Miner) GetCreatedAt() *timestamppb.Timestamp
- func (x *Miner) GetDataDir() string
- func (x *Miner) GetDisplayName() string
- func (x *Miner) GetMinerType() string
- func (x *Miner) GetName() string
- func (x *Miner) GetStatus() string
- func (x *Miner) GetUpdatedAt() *timestamppb.Timestamp
- func (msg *Miner) MarshalJSON() ([]byte, error)
- func (*Miner) ProtoMessage()
- func (x *Miner) ProtoReflect() protoreflect.Message
- func (x *Miner) Reset()
- func (x *Miner) String() string
- func (msg *Miner) UnmarshalJSON(b []byte) error
- func (m *Miner) Validate() error
- func (m *Miner) ValidateAll() error
- type MinerMultiError
- type MinerSet
- func (in *MinerSet) DeepCopy() *MinerSet
- func (in *MinerSet) DeepCopyInterface() interface{}
- func (in *MinerSet) DeepCopyInto(out *MinerSet)
- func (x *MinerSet) Default()
- func (*MinerSet) Descriptor() ([]byte, []int)deprecated
- func (x *MinerSet) GetCreatedAt() *timestamppb.Timestamp
- func (x *MinerSet) GetDeletePolicy() string
- func (x *MinerSet) GetDisplayName() string
- func (x *MinerSet) GetMinerTemplate() *MinerTemplate
- func (x *MinerSet) GetName() string
- func (x *MinerSet) GetReplicas() int32
- func (x *MinerSet) GetUpdatedAt() *timestamppb.Timestamp
- func (msg *MinerSet) MarshalJSON() ([]byte, error)
- func (*MinerSet) ProtoMessage()
- func (x *MinerSet) ProtoReflect() protoreflect.Message
- func (x *MinerSet) Reset()
- func (x *MinerSet) String() string
- func (msg *MinerSet) UnmarshalJSON(b []byte) error
- func (m *MinerSet) Validate() error
- func (m *MinerSet) ValidateAll() error
- type MinerSetMultiError
- type MinerSetValidationError
- type MinerTemplate
- func (in *MinerTemplate) DeepCopy() *MinerTemplate
- func (in *MinerTemplate) DeepCopyInterface() interface{}
- func (in *MinerTemplate) DeepCopyInto(out *MinerTemplate)
- func (x *MinerTemplate) Default()
- func (*MinerTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *MinerTemplate) GetChainName() string
- func (x *MinerTemplate) GetDataDir() string
- func (x *MinerTemplate) GetMinerType() string
- func (msg *MinerTemplate) MarshalJSON() ([]byte, error)
- func (*MinerTemplate) ProtoMessage()
- func (x *MinerTemplate) ProtoReflect() protoreflect.Message
- func (x *MinerTemplate) Reset()
- func (x *MinerTemplate) String() string
- func (msg *MinerTemplate) UnmarshalJSON(b []byte) error
- func (m *MinerTemplate) Validate() error
- func (m *MinerTemplate) ValidateAll() error
- type MinerTemplateMultiError
- type MinerTemplateValidationError
- func (e MinerTemplateValidationError) Cause() error
- func (e MinerTemplateValidationError) Error() string
- func (e MinerTemplateValidationError) ErrorName() string
- func (e MinerTemplateValidationError) Field() string
- func (e MinerTemplateValidationError) Key() bool
- func (e MinerTemplateValidationError) Reason() string
- type MinerValidationError
- type ScaleMinerSetRequest
- func (in *ScaleMinerSetRequest) DeepCopy() *ScaleMinerSetRequest
- func (in *ScaleMinerSetRequest) DeepCopyInterface() interface{}
- func (in *ScaleMinerSetRequest) DeepCopyInto(out *ScaleMinerSetRequest)
- func (x *ScaleMinerSetRequest) Default()
- func (*ScaleMinerSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ScaleMinerSetRequest) GetName() string
- func (x *ScaleMinerSetRequest) GetReplicas() int32
- func (msg *ScaleMinerSetRequest) MarshalJSON() ([]byte, error)
- func (*ScaleMinerSetRequest) ProtoMessage()
- func (x *ScaleMinerSetRequest) ProtoReflect() protoreflect.Message
- func (x *ScaleMinerSetRequest) Reset()
- func (x *ScaleMinerSetRequest) String() string
- func (msg *ScaleMinerSetRequest) UnmarshalJSON(b []byte) error
- func (m *ScaleMinerSetRequest) Validate() error
- func (m *ScaleMinerSetRequest) ValidateAll() error
- type ScaleMinerSetRequestMultiError
- type ScaleMinerSetRequestValidationError
- func (e ScaleMinerSetRequestValidationError) Cause() error
- func (e ScaleMinerSetRequestValidationError) Error() string
- func (e ScaleMinerSetRequestValidationError) ErrorName() string
- func (e ScaleMinerSetRequestValidationError) Field() string
- func (e ScaleMinerSetRequestValidationError) Key() bool
- func (e ScaleMinerSetRequestValidationError) Reason() string
- type ScaleMinerSetResponse
- func (in *ScaleMinerSetResponse) DeepCopy() *ScaleMinerSetResponse
- func (in *ScaleMinerSetResponse) DeepCopyInterface() interface{}
- func (in *ScaleMinerSetResponse) DeepCopyInto(out *ScaleMinerSetResponse)
- func (x *ScaleMinerSetResponse) Default()
- func (*ScaleMinerSetResponse) Descriptor() ([]byte, []int)deprecated
- func (msg *ScaleMinerSetResponse) MarshalJSON() ([]byte, error)
- func (*ScaleMinerSetResponse) ProtoMessage()
- func (x *ScaleMinerSetResponse) ProtoReflect() protoreflect.Message
- func (x *ScaleMinerSetResponse) Reset()
- func (x *ScaleMinerSetResponse) String() string
- func (msg *ScaleMinerSetResponse) UnmarshalJSON(b []byte) error
- func (m *ScaleMinerSetResponse) Validate() error
- func (m *ScaleMinerSetResponse) ValidateAll() error
- type ScaleMinerSetResponseMultiError
- type ScaleMinerSetResponseValidationError
- func (e ScaleMinerSetResponseValidationError) Cause() error
- func (e ScaleMinerSetResponseValidationError) Error() string
- func (e ScaleMinerSetResponseValidationError) ErrorName() string
- func (e ScaleMinerSetResponseValidationError) Field() string
- func (e ScaleMinerSetResponseValidationError) Key() bool
- func (e ScaleMinerSetResponseValidationError) Reason() string
- type UnimplementedGatewayServer
- func (UnimplementedGatewayServer) CreateMiner(context.Context, *v1beta1.Miner) (*v1beta1.Miner, error)
- func (UnimplementedGatewayServer) CreateMinerSet(context.Context, *v1beta1.MinerSet) (*v1beta1.MinerSet, error)
- func (UnimplementedGatewayServer) DeleteMiner(context.Context, *DeleteMinerRequest) (*DeleteMinerResponse, error)
- func (UnimplementedGatewayServer) DeleteMinerSet(context.Context, *DeleteMinerSetRequest) (*DeleteMinerSetResponse, error)
- func (UnimplementedGatewayServer) GetIdempotentToken(context.Context, *IdempotentRequest) (*IdempotentResponse, error)
- func (UnimplementedGatewayServer) GetMiner(context.Context, *GetMinerRequest) (*v1beta1.Miner, error)
- func (UnimplementedGatewayServer) GetMinerSet(context.Context, *GetMinerSetRequest) (*v1beta1.MinerSet, error)
- func (UnimplementedGatewayServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
- func (UnimplementedGatewayServer) ListMiner(context.Context, *ListMinerRequest) (*ListMinerResponse, error)
- func (UnimplementedGatewayServer) ListMinerSet(context.Context, *ListMinerSetRequest) (*ListMinerSetResponse, error)
- func (UnimplementedGatewayServer) ScaleMinerSet(context.Context, *ScaleMinerSetRequest) (*ScaleMinerSetResponse, error)
- func (UnimplementedGatewayServer) UpdateMiner(context.Context, *v1beta1.Miner) (*v1beta1.Miner, error)
- func (UnimplementedGatewayServer) UpdateMinerSet(context.Context, *v1beta1.MinerSet) (*v1beta1.MinerSet, error)
- type UnsafeGatewayServer
- type UpdateMinerRequest
- func (in *UpdateMinerRequest) DeepCopy() *UpdateMinerRequest
- func (in *UpdateMinerRequest) DeepCopyInterface() interface{}
- func (in *UpdateMinerRequest) DeepCopyInto(out *UpdateMinerRequest)
- func (x *UpdateMinerRequest) Default()
- func (*UpdateMinerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMinerRequest) GetDeletePolicy() string
- func (x *UpdateMinerRequest) GetDisplayName() string
- func (x *UpdateMinerRequest) GetName() string
- func (msg *UpdateMinerRequest) MarshalJSON() ([]byte, error)
- func (*UpdateMinerRequest) ProtoMessage()
- func (x *UpdateMinerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMinerRequest) Reset()
- func (x *UpdateMinerRequest) String() string
- func (msg *UpdateMinerRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateMinerRequest) Validate() error
- func (m *UpdateMinerRequest) ValidateAll() error
- type UpdateMinerRequestMultiError
- type UpdateMinerRequestValidationError
- func (e UpdateMinerRequestValidationError) Cause() error
- func (e UpdateMinerRequestValidationError) Error() string
- func (e UpdateMinerRequestValidationError) ErrorName() string
- func (e UpdateMinerRequestValidationError) Field() string
- func (e UpdateMinerRequestValidationError) Key() bool
- func (e UpdateMinerRequestValidationError) Reason() string
- type UpdateMinerSetRequest
- func (in *UpdateMinerSetRequest) DeepCopy() *UpdateMinerSetRequest
- func (in *UpdateMinerSetRequest) DeepCopyInterface() interface{}
- func (in *UpdateMinerSetRequest) DeepCopyInto(out *UpdateMinerSetRequest)
- func (x *UpdateMinerSetRequest) Default()
- func (*UpdateMinerSetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateMinerSetRequest) GetDeletePolicy() string
- func (x *UpdateMinerSetRequest) GetDisplayName() string
- func (x *UpdateMinerSetRequest) GetName() string
- func (msg *UpdateMinerSetRequest) MarshalJSON() ([]byte, error)
- func (*UpdateMinerSetRequest) ProtoMessage()
- func (x *UpdateMinerSetRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateMinerSetRequest) Reset()
- func (x *UpdateMinerSetRequest) String() string
- func (msg *UpdateMinerSetRequest) UnmarshalJSON(b []byte) error
- func (m *UpdateMinerSetRequest) Validate() error
- func (m *UpdateMinerSetRequest) ValidateAll() error
- type UpdateMinerSetRequestMultiError
- type UpdateMinerSetRequestValidationError
- func (e UpdateMinerSetRequestValidationError) Cause() error
- func (e UpdateMinerSetRequestValidationError) Error() string
- func (e UpdateMinerSetRequestValidationError) ErrorName() string
- func (e UpdateMinerSetRequestValidationError) Field() string
- func (e UpdateMinerSetRequestValidationError) Key() bool
- func (e UpdateMinerSetRequestValidationError) Reason() string
Constants ¶
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" )
const OperationGatewayCreateMiner = "/gateway.v1.Gateway/CreateMiner"
const OperationGatewayCreateMinerSet = "/gateway.v1.Gateway/CreateMinerSet"
const OperationGatewayDeleteMiner = "/gateway.v1.Gateway/DeleteMiner"
const OperationGatewayDeleteMinerSet = "/gateway.v1.Gateway/DeleteMinerSet"
const OperationGatewayGetIdempotentToken = "/gateway.v1.Gateway/GetIdempotentToken"
const OperationGatewayGetMiner = "/gateway.v1.Gateway/GetMiner"
const OperationGatewayGetMinerSet = "/gateway.v1.Gateway/GetMinerSet"
const OperationGatewayGetVersion = "/gateway.v1.Gateway/GetVersion"
const OperationGatewayListMiner = "/gateway.v1.Gateway/ListMiner"
const OperationGatewayListMinerSet = "/gateway.v1.Gateway/ListMinerSet"
const OperationGatewayScaleMinerSet = "/gateway.v1.Gateway/ScaleMinerSet"
const OperationGatewayUpdateMiner = "/gateway.v1.Gateway/UpdateMiner"
const OperationGatewayUpdateMinerSet = "/gateway.v1.Gateway/UpdateMinerSet"
Variables ¶
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.
var File_gateway_v1_errors_proto protoreflect.FileDescriptor
var File_gateway_v1_gateway_proto protoreflect.FileDescriptor
var File_gateway_v1_miner_proto protoreflect.FileDescriptor
var File_gateway_v1_minerset_proto protoreflect.FileDescriptor
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 ErrorUserCreateFailed ¶
创建用户失败错误
func ErrorUserLoginFailed ¶
用户登录失败,可能是用户名或密码不对
func ErrorUserNotFound ¶
用户未找到错误
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 ¶
func (m CreateMinerRequestMultiError) Error() string
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 ¶
func (e CreateMinerRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateMinerRequestValidationError) Error ¶
func (e CreateMinerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateMinerRequestValidationError) ErrorName ¶
func (e CreateMinerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateMinerRequestValidationError) Field ¶
func (e CreateMinerRequestValidationError) Field() string
Field function returns field value.
func (CreateMinerRequestValidationError) Key ¶
func (e CreateMinerRequestValidationError) Key() bool
Key function returns key value.
func (CreateMinerRequestValidationError) Reason ¶
func (e CreateMinerRequestValidationError) Reason() string
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 ¶
func (in *CreateMinerSetRequest) DeepCopy() *CreateMinerSetRequest
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 ¶
func (m CreateMinerSetRequestMultiError) Error() string
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 ¶
func (e CreateMinerSetRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateMinerSetRequestValidationError) Error ¶
func (e CreateMinerSetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateMinerSetRequestValidationError) ErrorName ¶
func (e CreateMinerSetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateMinerSetRequestValidationError) Field ¶
func (e CreateMinerSetRequestValidationError) Field() string
Field function returns field value.
func (CreateMinerSetRequestValidationError) Key ¶
func (e CreateMinerSetRequestValidationError) Key() bool
Key function returns key value.
func (CreateMinerSetRequestValidationError) Reason ¶
func (e CreateMinerSetRequestValidationError) Reason() string
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 ¶
func (m DeleteMinerRequestMultiError) Error() string
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 ¶
func (e DeleteMinerRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteMinerRequestValidationError) Error ¶
func (e DeleteMinerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteMinerRequestValidationError) ErrorName ¶
func (e DeleteMinerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteMinerRequestValidationError) Field ¶
func (e DeleteMinerRequestValidationError) Field() string
Field function returns field value.
func (DeleteMinerRequestValidationError) Key ¶
func (e DeleteMinerRequestValidationError) Key() bool
Key function returns key value.
func (DeleteMinerRequestValidationError) Reason ¶
func (e DeleteMinerRequestValidationError) Reason() string
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 ¶
func (m DeleteMinerResponseMultiError) Error() string
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 ¶
func (e DeleteMinerResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteMinerResponseValidationError) Error ¶
func (e DeleteMinerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteMinerResponseValidationError) ErrorName ¶
func (e DeleteMinerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteMinerResponseValidationError) Field ¶
func (e DeleteMinerResponseValidationError) Field() string
Field function returns field value.
func (DeleteMinerResponseValidationError) Key ¶
func (e DeleteMinerResponseValidationError) Key() bool
Key function returns key value.
func (DeleteMinerResponseValidationError) Reason ¶
func (e DeleteMinerResponseValidationError) Reason() string
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 ¶
func (in *DeleteMinerSetRequest) DeepCopy() *DeleteMinerSetRequest
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 ¶
func (m DeleteMinerSetRequestMultiError) Error() string
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 ¶
func (e DeleteMinerSetRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteMinerSetRequestValidationError) Error ¶
func (e DeleteMinerSetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteMinerSetRequestValidationError) ErrorName ¶
func (e DeleteMinerSetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteMinerSetRequestValidationError) Field ¶
func (e DeleteMinerSetRequestValidationError) Field() string
Field function returns field value.
func (DeleteMinerSetRequestValidationError) Key ¶
func (e DeleteMinerSetRequestValidationError) Key() bool
Key function returns key value.
func (DeleteMinerSetRequestValidationError) Reason ¶
func (e DeleteMinerSetRequestValidationError) Reason() string
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 ¶
func (in *DeleteMinerSetResponse) DeepCopy() *DeleteMinerSetResponse
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 ¶
func (m DeleteMinerSetResponseMultiError) Error() string
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 ¶
func (e DeleteMinerSetResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteMinerSetResponseValidationError) Error ¶
func (e DeleteMinerSetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteMinerSetResponseValidationError) ErrorName ¶
func (e DeleteMinerSetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteMinerSetResponseValidationError) Field ¶
func (e DeleteMinerSetResponseValidationError) Field() string
Field function returns field value.
func (DeleteMinerSetResponseValidationError) Key ¶
func (e DeleteMinerSetResponseValidationError) Key() bool
Key function returns key value.
func (DeleteMinerSetResponseValidationError) Reason ¶
func (e DeleteMinerSetResponseValidationError) Reason() string
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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (ErrorReason) Type() protoreflect.EnumType
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 (c *GatewayHTTPClientImpl) DeleteMiner(ctx context.Context, in *DeleteMinerRequest, opts ...http.CallOption) (*DeleteMinerResponse, error)
func (*GatewayHTTPClientImpl) DeleteMinerSet ¶
func (c *GatewayHTTPClientImpl) DeleteMinerSet(ctx context.Context, in *DeleteMinerSetRequest, opts ...http.CallOption) (*DeleteMinerSetResponse, error)
func (*GatewayHTTPClientImpl) GetIdempotentToken ¶
func (c *GatewayHTTPClientImpl) GetIdempotentToken(ctx context.Context, in *IdempotentRequest, opts ...http.CallOption) (*IdempotentResponse, error)
func (*GatewayHTTPClientImpl) GetMiner ¶
func (c *GatewayHTTPClientImpl) GetMiner(ctx context.Context, in *GetMinerRequest, opts ...http.CallOption) (*v1beta1.Miner, error)
func (*GatewayHTTPClientImpl) GetMinerSet ¶
func (c *GatewayHTTPClientImpl) GetMinerSet(ctx context.Context, in *GetMinerSetRequest, opts ...http.CallOption) (*v1beta1.MinerSet, error)
func (*GatewayHTTPClientImpl) GetVersion ¶
func (c *GatewayHTTPClientImpl) GetVersion(ctx context.Context, in *GetVersionRequest, opts ...http.CallOption) (*GetVersionResponse, error)
func (*GatewayHTTPClientImpl) ListMiner ¶
func (c *GatewayHTTPClientImpl) ListMiner(ctx context.Context, in *ListMinerRequest, opts ...http.CallOption) (*ListMinerResponse, error)
func (*GatewayHTTPClientImpl) ListMinerSet ¶
func (c *GatewayHTTPClientImpl) ListMinerSet(ctx context.Context, in *ListMinerSetRequest, opts ...http.CallOption) (*ListMinerSetResponse, error)
func (*GatewayHTTPClientImpl) ScaleMinerSet ¶
func (c *GatewayHTTPClientImpl) ScaleMinerSet(ctx context.Context, in *ScaleMinerSetRequest, opts ...http.CallOption) (*ScaleMinerSetResponse, error)
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 ¶
func (m GetMinerRequestMultiError) Error() string
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 ¶
func (e GetMinerRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMinerRequestValidationError) Error ¶
func (e GetMinerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMinerRequestValidationError) ErrorName ¶
func (e GetMinerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMinerRequestValidationError) Field ¶
func (e GetMinerRequestValidationError) Field() string
Field function returns field value.
func (GetMinerRequestValidationError) Key ¶
func (e GetMinerRequestValidationError) Key() bool
Key function returns key value.
func (GetMinerRequestValidationError) Reason ¶
func (e GetMinerRequestValidationError) Reason() string
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 ¶
func (m GetMinerResponseMultiError) Error() string
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 ¶
func (e GetMinerResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMinerResponseValidationError) Error ¶
func (e GetMinerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMinerResponseValidationError) ErrorName ¶
func (e GetMinerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMinerResponseValidationError) Field ¶
func (e GetMinerResponseValidationError) Field() string
Field function returns field value.
func (GetMinerResponseValidationError) Key ¶
func (e GetMinerResponseValidationError) Key() bool
Key function returns key value.
func (GetMinerResponseValidationError) Reason ¶
func (e GetMinerResponseValidationError) Reason() string
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 ¶
func (m GetMinerSetRequestMultiError) Error() string
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 ¶
func (e GetMinerSetRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMinerSetRequestValidationError) Error ¶
func (e GetMinerSetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMinerSetRequestValidationError) ErrorName ¶
func (e GetMinerSetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMinerSetRequestValidationError) Field ¶
func (e GetMinerSetRequestValidationError) Field() string
Field function returns field value.
func (GetMinerSetRequestValidationError) Key ¶
func (e GetMinerSetRequestValidationError) Key() bool
Key function returns key value.
func (GetMinerSetRequestValidationError) Reason ¶
func (e GetMinerSetRequestValidationError) Reason() string
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 ¶
func (m GetMinerSetResponseMultiError) Error() string
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 ¶
func (e GetMinerSetResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMinerSetResponseValidationError) Error ¶
func (e GetMinerSetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMinerSetResponseValidationError) ErrorName ¶
func (e GetMinerSetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMinerSetResponseValidationError) Field ¶
func (e GetMinerSetResponseValidationError) Field() string
Field function returns field value.
func (GetMinerSetResponseValidationError) Key ¶
func (e GetMinerSetResponseValidationError) Key() bool
Key function returns key value.
func (GetMinerSetResponseValidationError) Reason ¶
func (e GetMinerSetResponseValidationError) Reason() string
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 ¶
func (m GetVersionRequestMultiError) Error() string
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 ¶
func (e GetVersionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetVersionRequestValidationError) Error ¶
func (e GetVersionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetVersionRequestValidationError) ErrorName ¶
func (e GetVersionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetVersionRequestValidationError) Field ¶
func (e GetVersionRequestValidationError) Field() string
Field function returns field value.
func (GetVersionRequestValidationError) Key ¶
func (e GetVersionRequestValidationError) Key() bool
Key function returns key value.
func (GetVersionRequestValidationError) Reason ¶
func (e GetVersionRequestValidationError) Reason() string
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 ¶
func (m GetVersionResponseMultiError) Error() string
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 ¶
func (e GetVersionResponseValidationError) Cause() error
Cause function returns cause value.
func (GetVersionResponseValidationError) Error ¶
func (e GetVersionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetVersionResponseValidationError) ErrorName ¶
func (e GetVersionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetVersionResponseValidationError) Field ¶
func (e GetVersionResponseValidationError) Field() string
Field function returns field value.
func (GetVersionResponseValidationError) Key ¶
func (e GetVersionResponseValidationError) Key() bool
Key function returns key value.
func (GetVersionResponseValidationError) Reason ¶
func (e GetVersionResponseValidationError) Reason() string
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 ¶
func (m IdempotentRequestMultiError) Error() string
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 ¶
func (e IdempotentRequestValidationError) Cause() error
Cause function returns cause value.
func (IdempotentRequestValidationError) Error ¶
func (e IdempotentRequestValidationError) Error() string
Error satisfies the builtin error interface
func (IdempotentRequestValidationError) ErrorName ¶
func (e IdempotentRequestValidationError) ErrorName() string
ErrorName returns error name.
func (IdempotentRequestValidationError) Field ¶
func (e IdempotentRequestValidationError) Field() string
Field function returns field value.
func (IdempotentRequestValidationError) Key ¶
func (e IdempotentRequestValidationError) Key() bool
Key function returns key value.
func (IdempotentRequestValidationError) Reason ¶
func (e IdempotentRequestValidationError) Reason() string
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 ¶
func (m IdempotentResponseMultiError) Error() string
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 ¶
func (e IdempotentResponseValidationError) Cause() error
Cause function returns cause value.
func (IdempotentResponseValidationError) Error ¶
func (e IdempotentResponseValidationError) Error() string
Error satisfies the builtin error interface
func (IdempotentResponseValidationError) ErrorName ¶
func (e IdempotentResponseValidationError) ErrorName() string
ErrorName returns error name.
func (IdempotentResponseValidationError) Field ¶
func (e IdempotentResponseValidationError) Field() string
Field function returns field value.
func (IdempotentResponseValidationError) Key ¶
func (e IdempotentResponseValidationError) Key() bool
Key function returns key value.
func (IdempotentResponseValidationError) Reason ¶
func (e IdempotentResponseValidationError) Reason() string
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 ¶
func (m ListMinerRequestMultiError) Error() string
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 ¶
func (e ListMinerRequestValidationError) Cause() error
Cause function returns cause value.
func (ListMinerRequestValidationError) Error ¶
func (e ListMinerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListMinerRequestValidationError) ErrorName ¶
func (e ListMinerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListMinerRequestValidationError) Field ¶
func (e ListMinerRequestValidationError) Field() string
Field function returns field value.
func (ListMinerRequestValidationError) Key ¶
func (e ListMinerRequestValidationError) Key() bool
Key function returns key value.
func (ListMinerRequestValidationError) Reason ¶
func (e ListMinerRequestValidationError) Reason() string
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 ¶
func (m ListMinerResponseMultiError) Error() string
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 ¶
func (e ListMinerResponseValidationError) Cause() error
Cause function returns cause value.
func (ListMinerResponseValidationError) Error ¶
func (e ListMinerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListMinerResponseValidationError) ErrorName ¶
func (e ListMinerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListMinerResponseValidationError) Field ¶
func (e ListMinerResponseValidationError) Field() string
Field function returns field value.
func (ListMinerResponseValidationError) Key ¶
func (e ListMinerResponseValidationError) Key() bool
Key function returns key value.
func (ListMinerResponseValidationError) Reason ¶
func (e ListMinerResponseValidationError) Reason() string
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 ¶
func (m ListMinerSetRequestMultiError) Error() string
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 ¶
func (e ListMinerSetRequestValidationError) Cause() error
Cause function returns cause value.
func (ListMinerSetRequestValidationError) Error ¶
func (e ListMinerSetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListMinerSetRequestValidationError) ErrorName ¶
func (e ListMinerSetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListMinerSetRequestValidationError) Field ¶
func (e ListMinerSetRequestValidationError) Field() string
Field function returns field value.
func (ListMinerSetRequestValidationError) Key ¶
func (e ListMinerSetRequestValidationError) Key() bool
Key function returns key value.
func (ListMinerSetRequestValidationError) Reason ¶
func (e ListMinerSetRequestValidationError) Reason() string
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 ¶
func (in *ListMinerSetResponse) DeepCopy() *ListMinerSetResponse
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 ¶
func (m ListMinerSetResponseMultiError) Error() string
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 ¶
func (e ListMinerSetResponseValidationError) Cause() error
Cause function returns cause value.
func (ListMinerSetResponseValidationError) Error ¶
func (e ListMinerSetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListMinerSetResponseValidationError) ErrorName ¶
func (e ListMinerSetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListMinerSetResponseValidationError) Field ¶
func (e ListMinerSetResponseValidationError) Field() string
Field function returns field value.
func (ListMinerSetResponseValidationError) Key ¶
func (e ListMinerSetResponseValidationError) Key() bool
Key function returns key value.
func (ListMinerSetResponseValidationError) Reason ¶
func (e ListMinerSetResponseValidationError) Reason() string
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 ¶
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 ¶
DeepCopyInto supports using Miner within kubernetes types, where deepcopy-gen is used.
func (*Miner) Descriptor
deprecated
func (*Miner) GetChainName ¶
func (*Miner) GetCreatedAt ¶
func (x *Miner) GetCreatedAt() *timestamppb.Timestamp
func (*Miner) GetDataDir ¶
func (*Miner) GetDisplayName ¶
func (*Miner) GetMinerType ¶
func (*Miner) GetUpdatedAt ¶
func (x *Miner) GetUpdatedAt() *timestamppb.Timestamp
func (*Miner) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Miner) ProtoMessage ¶
func (*Miner) ProtoMessage()
func (*Miner) ProtoReflect ¶
func (x *Miner) ProtoReflect() protoreflect.Message
func (*Miner) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*Miner) Validate ¶
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 ¶
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 ¶
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 ¶
DeepCopyInto supports using MinerSet within kubernetes types, where deepcopy-gen is used.
func (*MinerSet) Descriptor
deprecated
func (*MinerSet) GetCreatedAt ¶
func (x *MinerSet) GetCreatedAt() *timestamppb.Timestamp
func (*MinerSet) GetDeletePolicy ¶
func (*MinerSet) GetDisplayName ¶
func (*MinerSet) GetMinerTemplate ¶
func (x *MinerSet) GetMinerTemplate() *MinerTemplate
func (*MinerSet) GetReplicas ¶
func (*MinerSet) GetUpdatedAt ¶
func (x *MinerSet) GetUpdatedAt() *timestamppb.Timestamp
func (*MinerSet) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*MinerSet) ProtoMessage ¶
func (*MinerSet) ProtoMessage()
func (*MinerSet) ProtoReflect ¶
func (x *MinerSet) ProtoReflect() protoreflect.Message
func (*MinerSet) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
func (*MinerSet) Validate ¶
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 ¶
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 ¶
func (e MinerTemplateValidationError) Cause() error
Cause function returns cause value.
func (MinerTemplateValidationError) Error ¶
func (e MinerTemplateValidationError) Error() string
Error satisfies the builtin error interface
func (MinerTemplateValidationError) ErrorName ¶
func (e MinerTemplateValidationError) ErrorName() string
ErrorName returns error name.
func (MinerTemplateValidationError) Field ¶
func (e MinerTemplateValidationError) Field() string
Field function returns field value.
func (MinerTemplateValidationError) Key ¶
func (e MinerTemplateValidationError) Key() bool
Key function returns key value.
func (MinerTemplateValidationError) Reason ¶
func (e MinerTemplateValidationError) Reason() string
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 ¶
func (in *ScaleMinerSetRequest) DeepCopy() *ScaleMinerSetRequest
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 ¶
func (m ScaleMinerSetRequestMultiError) Error() string
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 ¶
func (e ScaleMinerSetRequestValidationError) Cause() error
Cause function returns cause value.
func (ScaleMinerSetRequestValidationError) Error ¶
func (e ScaleMinerSetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ScaleMinerSetRequestValidationError) ErrorName ¶
func (e ScaleMinerSetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ScaleMinerSetRequestValidationError) Field ¶
func (e ScaleMinerSetRequestValidationError) Field() string
Field function returns field value.
func (ScaleMinerSetRequestValidationError) Key ¶
func (e ScaleMinerSetRequestValidationError) Key() bool
Key function returns key value.
func (ScaleMinerSetRequestValidationError) Reason ¶
func (e ScaleMinerSetRequestValidationError) Reason() string
Reason function returns reason value.
type ScaleMinerSetResponse ¶
type ScaleMinerSetResponse struct {
// contains filtered or unexported fields
}
func (*ScaleMinerSetResponse) DeepCopy ¶
func (in *ScaleMinerSetResponse) DeepCopy() *ScaleMinerSetResponse
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 ¶
func (m ScaleMinerSetResponseMultiError) Error() string
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 ¶
func (e ScaleMinerSetResponseValidationError) Cause() error
Cause function returns cause value.
func (ScaleMinerSetResponseValidationError) Error ¶
func (e ScaleMinerSetResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ScaleMinerSetResponseValidationError) ErrorName ¶
func (e ScaleMinerSetResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ScaleMinerSetResponseValidationError) Field ¶
func (e ScaleMinerSetResponseValidationError) Field() string
Field function returns field value.
func (ScaleMinerSetResponseValidationError) Key ¶
func (e ScaleMinerSetResponseValidationError) Key() bool
Key function returns key value.
func (ScaleMinerSetResponseValidationError) Reason ¶
func (e ScaleMinerSetResponseValidationError) Reason() string
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) DeleteMiner(context.Context, *DeleteMinerRequest) (*DeleteMinerResponse, error)
func (UnimplementedGatewayServer) DeleteMinerSet ¶
func (UnimplementedGatewayServer) DeleteMinerSet(context.Context, *DeleteMinerSetRequest) (*DeleteMinerSetResponse, error)
func (UnimplementedGatewayServer) GetIdempotentToken ¶
func (UnimplementedGatewayServer) GetIdempotentToken(context.Context, *IdempotentRequest) (*IdempotentResponse, error)
func (UnimplementedGatewayServer) GetMiner ¶
func (UnimplementedGatewayServer) GetMiner(context.Context, *GetMinerRequest) (*v1beta1.Miner, error)
func (UnimplementedGatewayServer) GetMinerSet ¶
func (UnimplementedGatewayServer) GetMinerSet(context.Context, *GetMinerSetRequest) (*v1beta1.MinerSet, error)
func (UnimplementedGatewayServer) GetVersion ¶
func (UnimplementedGatewayServer) GetVersion(context.Context, *GetVersionRequest) (*GetVersionResponse, error)
func (UnimplementedGatewayServer) ListMiner ¶
func (UnimplementedGatewayServer) ListMiner(context.Context, *ListMinerRequest) (*ListMinerResponse, error)
func (UnimplementedGatewayServer) ListMinerSet ¶
func (UnimplementedGatewayServer) ListMinerSet(context.Context, *ListMinerSetRequest) (*ListMinerSetResponse, error)
func (UnimplementedGatewayServer) ScaleMinerSet ¶
func (UnimplementedGatewayServer) ScaleMinerSet(context.Context, *ScaleMinerSetRequest) (*ScaleMinerSetResponse, error)
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 ¶
func (m UpdateMinerRequestMultiError) Error() string
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 ¶
func (e UpdateMinerRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateMinerRequestValidationError) Error ¶
func (e UpdateMinerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateMinerRequestValidationError) ErrorName ¶
func (e UpdateMinerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateMinerRequestValidationError) Field ¶
func (e UpdateMinerRequestValidationError) Field() string
Field function returns field value.
func (UpdateMinerRequestValidationError) Key ¶
func (e UpdateMinerRequestValidationError) Key() bool
Key function returns key value.
func (UpdateMinerRequestValidationError) Reason ¶
func (e UpdateMinerRequestValidationError) Reason() string
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 ¶
func (in *UpdateMinerSetRequest) DeepCopy() *UpdateMinerSetRequest
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 ¶
func (m UpdateMinerSetRequestMultiError) Error() string
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 ¶
func (e UpdateMinerSetRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateMinerSetRequestValidationError) Error ¶
func (e UpdateMinerSetRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateMinerSetRequestValidationError) ErrorName ¶
func (e UpdateMinerSetRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateMinerSetRequestValidationError) Field ¶
func (e UpdateMinerSetRequestValidationError) Field() string
Field function returns field value.
func (UpdateMinerSetRequestValidationError) Key ¶
func (e UpdateMinerSetRequestValidationError) Key() bool
Key function returns key value.
func (UpdateMinerSetRequestValidationError) Reason ¶
func (e UpdateMinerSetRequestValidationError) Reason() string
Reason function returns reason value.
Source Files
¶
- doc.go
- errors.pb.go
- errors.pb.validate.go
- errors_errors.pb.go
- gateway.pb.defaults.go
- gateway.pb.go
- gateway.pb.json.go
- gateway.pb.validate.go
- gateway_deepcopy.pb.go
- gateway_grpc.pb.go
- gateway_http.pb.go
- miner.pb.defaults.go
- miner.pb.go
- miner.pb.json.go
- miner.pb.validate.go
- miner_deepcopy.pb.go
- minerset.pb.defaults.go
- minerset.pb.go
- minerset.pb.json.go
- minerset.pb.validate.go
- minerset_deepcopy.pb.go