Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlServiceServer)
- type ControlServiceClient
- type ControlServiceServer
- type HealthCheckRequest
- func (*HealthCheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckRequest) GetBody() *HealthCheckRequest_Body
- func (x *HealthCheckRequest) GetSignature() *Signature
- func (*HealthCheckRequest) ProtoMessage()
- func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
- func (x *HealthCheckRequest) ReadSignedData(buf []byte) ([]byte, error)
- func (x *HealthCheckRequest) Reset()
- func (x *HealthCheckRequest) SetBody(v *HealthCheckRequest_Body)
- func (x *HealthCheckRequest) SetSignature(sig *Signature)
- func (x *HealthCheckRequest) SignedDataSize() int
- func (x *HealthCheckRequest) StableMarshal(buf []byte) []byte
- func (x *HealthCheckRequest) StableSize() (size int)
- func (x *HealthCheckRequest) String() string
- type HealthCheckRequest_Body
- func (*HealthCheckRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (*HealthCheckRequest_Body) ProtoMessage()
- func (x *HealthCheckRequest_Body) ProtoReflect() protoreflect.Message
- func (x *HealthCheckRequest_Body) Reset()
- func (x *HealthCheckRequest_Body) StableMarshal(buf []byte) []byte
- func (x *HealthCheckRequest_Body) StableSize() (size int)
- func (x *HealthCheckRequest_Body) String() string
- type HealthCheckResponse
- func (*HealthCheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse) GetBody() *HealthCheckResponse_Body
- func (x *HealthCheckResponse) GetSignature() *Signature
- func (*HealthCheckResponse) ProtoMessage()
- func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse) ReadSignedData(buf []byte) ([]byte, error)
- func (x *HealthCheckResponse) Reset()
- func (x *HealthCheckResponse) SetBody(v *HealthCheckResponse_Body)
- func (x *HealthCheckResponse) SetSignature(sig *Signature)
- func (x *HealthCheckResponse) SignedDataSize() int
- func (x *HealthCheckResponse) StableMarshal(buf []byte) []byte
- func (x *HealthCheckResponse) StableSize() (size int)
- func (x *HealthCheckResponse) String() string
- type HealthCheckResponse_Body
- func (*HealthCheckResponse_Body) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckResponse_Body) GetHealthStatus() HealthStatus
- func (*HealthCheckResponse_Body) ProtoMessage()
- func (x *HealthCheckResponse_Body) ProtoReflect() protoreflect.Message
- func (x *HealthCheckResponse_Body) Reset()
- func (x *HealthCheckResponse_Body) SetHealthStatus(v HealthStatus)
- func (x *HealthCheckResponse_Body) StableMarshal(buf []byte) []byte
- func (x *HealthCheckResponse_Body) StableSize() (size int)
- func (x *HealthCheckResponse_Body) String() string
- type HealthStatus
- func (HealthStatus) Descriptor() protoreflect.EnumDescriptor
- func (x HealthStatus) Enum() *HealthStatus
- func (HealthStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthStatus) Number() protoreflect.EnumNumber
- func (x HealthStatus) String() string
- func (HealthStatus) Type() protoreflect.EnumType
- type RemoveContainerRequest
- func (*RemoveContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveContainerRequest) GetBody() *RemoveContainerRequest_Body
- func (x *RemoveContainerRequest) GetSignature() *Signature
- func (*RemoveContainerRequest) ProtoMessage()
- func (x *RemoveContainerRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveContainerRequest) ReadSignedData(buf []byte) ([]byte, error)
- func (x *RemoveContainerRequest) Reset()
- func (x *RemoveContainerRequest) SetSignature(sig *Signature)
- func (x *RemoveContainerRequest) SignedDataSize() int
- func (x *RemoveContainerRequest) StableMarshal(buf []byte) []byte
- func (x *RemoveContainerRequest) StableSize() (size int)
- func (x *RemoveContainerRequest) String() string
- type RemoveContainerRequest_Body
- func (*RemoveContainerRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveContainerRequest_Body) GetContainerId() []byte
- func (x *RemoveContainerRequest_Body) GetOwner() []byte
- func (x *RemoveContainerRequest_Body) GetVub() uint32
- func (*RemoveContainerRequest_Body) ProtoMessage()
- func (x *RemoveContainerRequest_Body) ProtoReflect() protoreflect.Message
- func (x *RemoveContainerRequest_Body) Reset()
- func (x *RemoveContainerRequest_Body) StableMarshal(buf []byte) []byte
- func (x *RemoveContainerRequest_Body) StableSize() (size int)
- func (x *RemoveContainerRequest_Body) String() string
- type RemoveContainerResponse
- func (*RemoveContainerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveContainerResponse) GetBody() *RemoveContainerResponse_Body
- func (x *RemoveContainerResponse) GetSignature() *Signature
- func (*RemoveContainerResponse) ProtoMessage()
- func (x *RemoveContainerResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveContainerResponse) ReadSignedData(buf []byte) ([]byte, error)
- func (x *RemoveContainerResponse) Reset()
- func (x *RemoveContainerResponse) SetSignature(sig *Signature)
- func (x *RemoveContainerResponse) SignedDataSize() int
- func (x *RemoveContainerResponse) StableMarshal(buf []byte) []byte
- func (x *RemoveContainerResponse) StableSize() (size int)
- func (x *RemoveContainerResponse) String() string
- type RemoveContainerResponse_Body
- func (*RemoveContainerResponse_Body) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveContainerResponse_Body) GetVub() uint32
- func (*RemoveContainerResponse_Body) ProtoMessage()
- func (x *RemoveContainerResponse_Body) ProtoReflect() protoreflect.Message
- func (x *RemoveContainerResponse_Body) Reset()
- func (x *RemoveContainerResponse_Body) StableMarshal(buf []byte) []byte
- func (x *RemoveContainerResponse_Body) StableSize() (size int)
- func (x *RemoveContainerResponse_Body) String() string
- type RemoveNodeRequest
- func (*RemoveNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNodeRequest) GetBody() *RemoveNodeRequest_Body
- func (x *RemoveNodeRequest) GetSignature() *Signature
- func (*RemoveNodeRequest) ProtoMessage()
- func (x *RemoveNodeRequest) ProtoReflect() protoreflect.Message
- func (x *RemoveNodeRequest) ReadSignedData(buf []byte) ([]byte, error)
- func (x *RemoveNodeRequest) Reset()
- func (x *RemoveNodeRequest) SetBody(v *RemoveNodeRequest_Body)
- func (x *RemoveNodeRequest) SetSignature(sig *Signature)
- func (x *RemoveNodeRequest) SignedDataSize() int
- func (x *RemoveNodeRequest) StableMarshal(buf []byte) []byte
- func (x *RemoveNodeRequest) StableSize() (size int)
- func (x *RemoveNodeRequest) String() string
- type RemoveNodeRequest_Body
- func (*RemoveNodeRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNodeRequest_Body) GetKey() []byte
- func (x *RemoveNodeRequest_Body) GetVub() uint32
- func (*RemoveNodeRequest_Body) ProtoMessage()
- func (x *RemoveNodeRequest_Body) ProtoReflect() protoreflect.Message
- func (x *RemoveNodeRequest_Body) Reset()
- func (x *RemoveNodeRequest_Body) StableMarshal(buf []byte) []byte
- func (x *RemoveNodeRequest_Body) StableSize() (size int)
- func (x *RemoveNodeRequest_Body) String() string
- type RemoveNodeResponse
- func (*RemoveNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNodeResponse) GetBody() *RemoveNodeResponse_Body
- func (x *RemoveNodeResponse) GetSignature() *Signature
- func (*RemoveNodeResponse) ProtoMessage()
- func (x *RemoveNodeResponse) ProtoReflect() protoreflect.Message
- func (x *RemoveNodeResponse) ReadSignedData(buf []byte) ([]byte, error)
- func (x *RemoveNodeResponse) Reset()
- func (x *RemoveNodeResponse) SetBody(v *RemoveNodeResponse_Body)
- func (x *RemoveNodeResponse) SetSignature(sig *Signature)
- func (x *RemoveNodeResponse) SignedDataSize() int
- func (x *RemoveNodeResponse) StableMarshal(buf []byte) []byte
- func (x *RemoveNodeResponse) StableSize() (size int)
- func (x *RemoveNodeResponse) String() string
- type RemoveNodeResponse_Body
- func (*RemoveNodeResponse_Body) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveNodeResponse_Body) GetVub() uint32
- func (*RemoveNodeResponse_Body) ProtoMessage()
- func (x *RemoveNodeResponse_Body) ProtoReflect() protoreflect.Message
- func (x *RemoveNodeResponse_Body) Reset()
- func (x *RemoveNodeResponse_Body) StableMarshal(buf []byte) []byte
- func (x *RemoveNodeResponse_Body) StableSize() (size int)
- func (x *RemoveNodeResponse_Body) String() string
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)deprecated
- func (x *Signature) GetKey() []byte
- func (x *Signature) GetSign() []byte
- func (*Signature) ProtoMessage()
- func (x *Signature) ProtoReflect() protoreflect.Message
- func (x *Signature) Reset()
- func (x *Signature) SetKey(v []byte)
- func (x *Signature) SetSign(v []byte)
- func (x *Signature) StableMarshal(buf []byte) []byte
- func (x *Signature) StableSize() (size int)
- func (x *Signature) String() string
- type TickEpochRequest
- func (*TickEpochRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TickEpochRequest) GetBody() *TickEpochRequest_Body
- func (x *TickEpochRequest) GetSignature() *Signature
- func (*TickEpochRequest) ProtoMessage()
- func (x *TickEpochRequest) ProtoReflect() protoreflect.Message
- func (x *TickEpochRequest) ReadSignedData(buf []byte) ([]byte, error)
- func (x *TickEpochRequest) Reset()
- func (x *TickEpochRequest) SetBody(v *TickEpochRequest_Body)
- func (x *TickEpochRequest) SetSignature(sig *Signature)
- func (x *TickEpochRequest) SignedDataSize() int
- func (x *TickEpochRequest) StableMarshal(buf []byte) []byte
- func (x *TickEpochRequest) StableSize() (size int)
- func (x *TickEpochRequest) String() string
- type TickEpochRequest_Body
- func (*TickEpochRequest_Body) Descriptor() ([]byte, []int)deprecated
- func (x *TickEpochRequest_Body) GetVub() uint32
- func (*TickEpochRequest_Body) ProtoMessage()
- func (x *TickEpochRequest_Body) ProtoReflect() protoreflect.Message
- func (x *TickEpochRequest_Body) Reset()
- func (x *TickEpochRequest_Body) StableMarshal(buf []byte) []byte
- func (x *TickEpochRequest_Body) StableSize() (size int)
- func (x *TickEpochRequest_Body) String() string
- type TickEpochResponse
- func (*TickEpochResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TickEpochResponse) GetBody() *TickEpochResponse_Body
- func (x *TickEpochResponse) GetSignature() *Signature
- func (*TickEpochResponse) ProtoMessage()
- func (x *TickEpochResponse) ProtoReflect() protoreflect.Message
- func (x *TickEpochResponse) ReadSignedData(buf []byte) ([]byte, error)
- func (x *TickEpochResponse) Reset()
- func (x *TickEpochResponse) SetBody(v *TickEpochResponse_Body)
- func (x *TickEpochResponse) SetSignature(sig *Signature)
- func (x *TickEpochResponse) SignedDataSize() int
- func (x *TickEpochResponse) StableMarshal(buf []byte) []byte
- func (x *TickEpochResponse) StableSize() (size int)
- func (x *TickEpochResponse) String() string
- type TickEpochResponse_Body
- func (*TickEpochResponse_Body) Descriptor() ([]byte, []int)deprecated
- func (x *TickEpochResponse_Body) GetVub() uint32
- func (*TickEpochResponse_Body) ProtoMessage()
- func (x *TickEpochResponse_Body) ProtoReflect() protoreflect.Message
- func (x *TickEpochResponse_Body) Reset()
- func (x *TickEpochResponse_Body) StableMarshal(buf []byte) []byte
- func (x *TickEpochResponse_Body) StableSize() (size int)
- func (x *TickEpochResponse_Body) String() string
- type UnimplementedControlServiceServer
- func (UnimplementedControlServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
- func (UnimplementedControlServiceServer) RemoveContainer(context.Context, *RemoveContainerRequest) (*RemoveContainerResponse, error)
- func (UnimplementedControlServiceServer) RemoveNode(context.Context, *RemoveNodeRequest) (*RemoveNodeResponse, error)
- func (UnimplementedControlServiceServer) TickEpoch(context.Context, *TickEpochRequest) (*TickEpochResponse, error)
- type UnsafeControlServiceServer
Constants ¶
const ( ControlService_HealthCheck_FullMethodName = "/ircontrol.ControlService/HealthCheck" ControlService_TickEpoch_FullMethodName = "/ircontrol.ControlService/TickEpoch" ControlService_RemoveNode_FullMethodName = "/ircontrol.ControlService/RemoveNode" ControlService_RemoveContainer_FullMethodName = "/ircontrol.ControlService/RemoveContainer" )
Variables ¶
var ( HealthStatus_name = map[int32]string{ 0: "HEALTH_STATUS_UNDEFINED", 1: "STARTING", 2: "READY", 3: "SHUTTING_DOWN", } HealthStatus_value = map[string]int32{ "HEALTH_STATUS_UNDEFINED": 0, "STARTING": 1, "READY": 2, "SHUTTING_DOWN": 3, } )
Enum value maps for HealthStatus.
var ControlService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ircontrol.ControlService", HandlerType: (*ControlServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "HealthCheck", Handler: _ControlService_HealthCheck_Handler, }, { MethodName: "TickEpoch", Handler: _ControlService_TickEpoch_Handler, }, { MethodName: "RemoveNode", Handler: _ControlService_RemoveNode_Handler, }, { MethodName: "RemoveContainer", Handler: _ControlService_RemoveContainer_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/services/control/ir/service.proto", }
ControlService_ServiceDesc is the grpc.ServiceDesc for ControlService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_pkg_services_control_ir_service_proto protoreflect.FileDescriptor
var File_pkg_services_control_ir_types_proto protoreflect.FileDescriptor
Functions ¶
func RegisterControlServiceServer ¶
func RegisterControlServiceServer(s grpc.ServiceRegistrar, srv ControlServiceServer)
Types ¶
type ControlServiceClient ¶
type ControlServiceClient interface { // Performs health check of the IR node. HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error) // Forces a new epoch to be signaled by the IR node with high probability. TickEpoch(ctx context.Context, in *TickEpochRequest, opts ...grpc.CallOption) (*TickEpochResponse, error) // Forces a node removal to be signaled by the IR node with high probability. RemoveNode(ctx context.Context, in *RemoveNodeRequest, opts ...grpc.CallOption) (*RemoveNodeResponse, error) // Forces a container removal to be signaled by the IR node with high probability. RemoveContainer(ctx context.Context, in *RemoveContainerRequest, opts ...grpc.CallOption) (*RemoveContainerResponse, error) }
ControlServiceClient is the client API for ControlService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewControlServiceClient ¶
func NewControlServiceClient(cc grpc.ClientConnInterface) ControlServiceClient
type ControlServiceServer ¶
type ControlServiceServer interface { // Performs health check of the IR node. HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error) // Forces a new epoch to be signaled by the IR node with high probability. TickEpoch(context.Context, *TickEpochRequest) (*TickEpochResponse, error) // Forces a node removal to be signaled by the IR node with high probability. RemoveNode(context.Context, *RemoveNodeRequest) (*RemoveNodeResponse, error) // Forces a container removal to be signaled by the IR node with high probability. RemoveContainer(context.Context, *RemoveContainerRequest) (*RemoveContainerResponse, error) }
ControlServiceServer is the server API for ControlService service. All implementations should embed UnimplementedControlServiceServer for forward compatibility
type HealthCheckRequest ¶
type HealthCheckRequest struct { // Body of health check request message. Body *HealthCheckRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Body signature. // Should be signed by node key or one of // the keys configured by the node. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
Health check request.
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) GetBody ¶
func (x *HealthCheckRequest) GetBody() *HealthCheckRequest_Body
func (*HealthCheckRequest) GetSignature ¶
func (x *HealthCheckRequest) GetSignature() *Signature
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) ReadSignedData ¶
func (x *HealthCheckRequest) ReadSignedData(buf []byte) ([]byte, error)
SignedDataSize returns size of the request signed data in bytes.
Structures with the same field values have the same signed data size.
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) SetBody ¶
func (x *HealthCheckRequest) SetBody(v *HealthCheckRequest_Body)
SetBody sets health check request body.
func (*HealthCheckRequest) SetSignature ¶
func (x *HealthCheckRequest) SetSignature(sig *Signature)
func (*HealthCheckRequest) SignedDataSize ¶
func (x *HealthCheckRequest) SignedDataSize() int
ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same signed data.
func (*HealthCheckRequest) StableMarshal ¶
func (x *HealthCheckRequest) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*HealthCheckRequest) StableSize ¶
func (x *HealthCheckRequest) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HealthCheckRequest_Body ¶
type HealthCheckRequest_Body struct {
// contains filtered or unexported fields
}
Health check request body.
func (*HealthCheckRequest_Body) Descriptor
deprecated
func (*HealthCheckRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest_Body.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest_Body) ProtoMessage ¶
func (*HealthCheckRequest_Body) ProtoMessage()
func (*HealthCheckRequest_Body) ProtoReflect ¶
func (x *HealthCheckRequest_Body) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest_Body) Reset ¶
func (x *HealthCheckRequest_Body) Reset()
func (*HealthCheckRequest_Body) StableMarshal ¶
func (x *HealthCheckRequest_Body) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*HealthCheckRequest_Body) StableSize ¶
func (x *HealthCheckRequest_Body) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*HealthCheckRequest_Body) String ¶
func (x *HealthCheckRequest_Body) String() string
type HealthCheckResponse ¶
type HealthCheckResponse struct { // Body of health check response message. Body *HealthCheckResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // Body signature. Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
Health check response.
func HealthCheck ¶
func HealthCheck( cli *client.Client, req *HealthCheckRequest, opts ...client.CallOption, ) (*HealthCheckResponse, error)
HealthCheck executes ControlService.HealthCheck RPC.
func (*HealthCheckResponse) Descriptor
deprecated
func (*HealthCheckResponse) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse) GetBody ¶
func (x *HealthCheckResponse) GetBody() *HealthCheckResponse_Body
func (*HealthCheckResponse) GetSignature ¶
func (x *HealthCheckResponse) GetSignature() *Signature
func (*HealthCheckResponse) ProtoMessage ¶
func (*HealthCheckResponse) ProtoMessage()
func (*HealthCheckResponse) ProtoReflect ¶
func (x *HealthCheckResponse) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse) ReadSignedData ¶
func (x *HealthCheckResponse) ReadSignedData(buf []byte) ([]byte, error)
SignedDataSize returns size of the request signed data in bytes.
Structures with the same field values have the same signed data size.
func (*HealthCheckResponse) Reset ¶
func (x *HealthCheckResponse) Reset()
func (*HealthCheckResponse) SetBody ¶
func (x *HealthCheckResponse) SetBody(v *HealthCheckResponse_Body)
SetBody sets health check response body.
func (*HealthCheckResponse) SetSignature ¶
func (x *HealthCheckResponse) SetSignature(sig *Signature)
func (*HealthCheckResponse) SignedDataSize ¶
func (x *HealthCheckResponse) SignedDataSize() int
ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same signed data.
func (*HealthCheckResponse) StableMarshal ¶
func (x *HealthCheckResponse) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*HealthCheckResponse) StableSize ¶
func (x *HealthCheckResponse) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*HealthCheckResponse) String ¶
func (x *HealthCheckResponse) String() string
type HealthCheckResponse_Body ¶
type HealthCheckResponse_Body struct { // Health status of IR node application. HealthStatus HealthStatus `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Health check response body
func (*HealthCheckResponse_Body) Descriptor
deprecated
func (*HealthCheckResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckResponse_Body.ProtoReflect.Descriptor instead.
func (*HealthCheckResponse_Body) GetHealthStatus ¶
func (x *HealthCheckResponse_Body) GetHealthStatus() HealthStatus
func (*HealthCheckResponse_Body) ProtoMessage ¶
func (*HealthCheckResponse_Body) ProtoMessage()
func (*HealthCheckResponse_Body) ProtoReflect ¶
func (x *HealthCheckResponse_Body) ProtoReflect() protoreflect.Message
func (*HealthCheckResponse_Body) Reset ¶
func (x *HealthCheckResponse_Body) Reset()
func (*HealthCheckResponse_Body) SetHealthStatus ¶
func (x *HealthCheckResponse_Body) SetHealthStatus(v HealthStatus)
SetHealthStatus sets health status of the IR application.
func (*HealthCheckResponse_Body) StableMarshal ¶
func (x *HealthCheckResponse_Body) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*HealthCheckResponse_Body) StableSize ¶
func (x *HealthCheckResponse_Body) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*HealthCheckResponse_Body) String ¶
func (x *HealthCheckResponse_Body) String() string
type HealthStatus ¶
type HealthStatus int32
Health status of the IR application.
const ( // Undefined status, default value. HealthStatus_HEALTH_STATUS_UNDEFINED HealthStatus = 0 // IR application is starting. HealthStatus_STARTING HealthStatus = 1 // IR application is started and serves all services. HealthStatus_READY HealthStatus = 2 // IR application is shutting down. HealthStatus_SHUTTING_DOWN HealthStatus = 3 )
func (HealthStatus) Descriptor ¶
func (HealthStatus) Descriptor() protoreflect.EnumDescriptor
func (HealthStatus) Enum ¶
func (x HealthStatus) Enum() *HealthStatus
func (HealthStatus) EnumDescriptor
deprecated
func (HealthStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthStatus.Descriptor instead.
func (HealthStatus) Number ¶
func (x HealthStatus) Number() protoreflect.EnumNumber
func (HealthStatus) String ¶
func (x HealthStatus) String() string
func (HealthStatus) Type ¶
func (HealthStatus) Type() protoreflect.EnumType
type RemoveContainerRequest ¶ added in v0.37.0
type RemoveContainerRequest struct { Body *RemoveContainerRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*RemoveContainerRequest) Descriptor
deprecated
added in
v0.37.0
func (*RemoveContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContainerRequest.ProtoReflect.Descriptor instead.
func (*RemoveContainerRequest) GetBody ¶ added in v0.37.0
func (x *RemoveContainerRequest) GetBody() *RemoveContainerRequest_Body
func (*RemoveContainerRequest) GetSignature ¶ added in v0.37.0
func (x *RemoveContainerRequest) GetSignature() *Signature
func (*RemoveContainerRequest) ProtoMessage ¶ added in v0.37.0
func (*RemoveContainerRequest) ProtoMessage()
func (*RemoveContainerRequest) ProtoReflect ¶ added in v0.37.0
func (x *RemoveContainerRequest) ProtoReflect() protoreflect.Message
func (*RemoveContainerRequest) ReadSignedData ¶ added in v0.37.0
func (x *RemoveContainerRequest) ReadSignedData(buf []byte) ([]byte, error)
SignedDataSize returns size of the request signed data in bytes.
Structures with the same field values have the same signed data size.
func (*RemoveContainerRequest) Reset ¶ added in v0.37.0
func (x *RemoveContainerRequest) Reset()
func (*RemoveContainerRequest) SetSignature ¶ added in v0.37.0
func (x *RemoveContainerRequest) SetSignature(sig *Signature)
func (*RemoveContainerRequest) SignedDataSize ¶ added in v0.37.0
func (x *RemoveContainerRequest) SignedDataSize() int
ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same signed data.
func (*RemoveContainerRequest) StableMarshal ¶ added in v0.37.0
func (x *RemoveContainerRequest) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*RemoveContainerRequest) StableSize ¶ added in v0.37.0
func (x *RemoveContainerRequest) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*RemoveContainerRequest) String ¶ added in v0.37.0
func (x *RemoveContainerRequest) String() string
type RemoveContainerRequest_Body ¶ added in v0.37.0
type RemoveContainerRequest_Body struct { ContainerId []byte `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` Owner []byte `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // Valid until block value override. Vub uint32 `protobuf:"varint,3,opt,name=vub,proto3" json:"vub,omitempty"` // contains filtered or unexported fields }
func (*RemoveContainerRequest_Body) Descriptor
deprecated
added in
v0.37.0
func (*RemoveContainerRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContainerRequest_Body.ProtoReflect.Descriptor instead.
func (*RemoveContainerRequest_Body) GetContainerId ¶ added in v0.37.0
func (x *RemoveContainerRequest_Body) GetContainerId() []byte
func (*RemoveContainerRequest_Body) GetOwner ¶ added in v0.37.0
func (x *RemoveContainerRequest_Body) GetOwner() []byte
func (*RemoveContainerRequest_Body) GetVub ¶ added in v0.38.0
func (x *RemoveContainerRequest_Body) GetVub() uint32
func (*RemoveContainerRequest_Body) ProtoMessage ¶ added in v0.37.0
func (*RemoveContainerRequest_Body) ProtoMessage()
func (*RemoveContainerRequest_Body) ProtoReflect ¶ added in v0.37.0
func (x *RemoveContainerRequest_Body) ProtoReflect() protoreflect.Message
func (*RemoveContainerRequest_Body) Reset ¶ added in v0.37.0
func (x *RemoveContainerRequest_Body) Reset()
func (*RemoveContainerRequest_Body) StableMarshal ¶ added in v0.37.0
func (x *RemoveContainerRequest_Body) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*RemoveContainerRequest_Body) StableSize ¶ added in v0.37.0
func (x *RemoveContainerRequest_Body) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*RemoveContainerRequest_Body) String ¶ added in v0.37.0
func (x *RemoveContainerRequest_Body) String() string
type RemoveContainerResponse ¶ added in v0.37.0
type RemoveContainerResponse struct { Body *RemoveContainerResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func RemoveContainer ¶ added in v0.37.0
func RemoveContainer( cli *client.Client, req *RemoveContainerRequest, opts ...client.CallOption, ) (*RemoveContainerResponse, error)
func (*RemoveContainerResponse) Descriptor
deprecated
added in
v0.37.0
func (*RemoveContainerResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContainerResponse.ProtoReflect.Descriptor instead.
func (*RemoveContainerResponse) GetBody ¶ added in v0.37.0
func (x *RemoveContainerResponse) GetBody() *RemoveContainerResponse_Body
func (*RemoveContainerResponse) GetSignature ¶ added in v0.37.0
func (x *RemoveContainerResponse) GetSignature() *Signature
func (*RemoveContainerResponse) ProtoMessage ¶ added in v0.37.0
func (*RemoveContainerResponse) ProtoMessage()
func (*RemoveContainerResponse) ProtoReflect ¶ added in v0.37.0
func (x *RemoveContainerResponse) ProtoReflect() protoreflect.Message
func (*RemoveContainerResponse) ReadSignedData ¶ added in v0.37.0
func (x *RemoveContainerResponse) ReadSignedData(buf []byte) ([]byte, error)
SignedDataSize returns size of the request signed data in bytes.
Structures with the same field values have the same signed data size.
func (*RemoveContainerResponse) Reset ¶ added in v0.37.0
func (x *RemoveContainerResponse) Reset()
func (*RemoveContainerResponse) SetSignature ¶ added in v0.37.0
func (x *RemoveContainerResponse) SetSignature(sig *Signature)
func (*RemoveContainerResponse) SignedDataSize ¶ added in v0.37.0
func (x *RemoveContainerResponse) SignedDataSize() int
ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same signed data.
func (*RemoveContainerResponse) StableMarshal ¶ added in v0.37.0
func (x *RemoveContainerResponse) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*RemoveContainerResponse) StableSize ¶ added in v0.37.0
func (x *RemoveContainerResponse) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*RemoveContainerResponse) String ¶ added in v0.37.0
func (x *RemoveContainerResponse) String() string
type RemoveContainerResponse_Body ¶ added in v0.37.0
type RemoveContainerResponse_Body struct { // Valid until block value for transaction. Vub uint32 `protobuf:"varint,1,opt,name=vub,proto3" json:"vub,omitempty"` // contains filtered or unexported fields }
func (*RemoveContainerResponse_Body) Descriptor
deprecated
added in
v0.37.0
func (*RemoveContainerResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use RemoveContainerResponse_Body.ProtoReflect.Descriptor instead.
func (*RemoveContainerResponse_Body) GetVub ¶ added in v0.38.0
func (x *RemoveContainerResponse_Body) GetVub() uint32
func (*RemoveContainerResponse_Body) ProtoMessage ¶ added in v0.37.0
func (*RemoveContainerResponse_Body) ProtoMessage()
func (*RemoveContainerResponse_Body) ProtoReflect ¶ added in v0.37.0
func (x *RemoveContainerResponse_Body) ProtoReflect() protoreflect.Message
func (*RemoveContainerResponse_Body) Reset ¶ added in v0.37.0
func (x *RemoveContainerResponse_Body) Reset()
func (*RemoveContainerResponse_Body) StableMarshal ¶ added in v0.37.0
func (x *RemoveContainerResponse_Body) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*RemoveContainerResponse_Body) StableSize ¶ added in v0.37.0
func (x *RemoveContainerResponse_Body) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*RemoveContainerResponse_Body) String ¶ added in v0.37.0
func (x *RemoveContainerResponse_Body) String() string
type RemoveNodeRequest ¶ added in v0.37.0
type RemoveNodeRequest struct { Body *RemoveNodeRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*RemoveNodeRequest) Descriptor
deprecated
added in
v0.37.0
func (*RemoveNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNodeRequest.ProtoReflect.Descriptor instead.
func (*RemoveNodeRequest) GetBody ¶ added in v0.37.0
func (x *RemoveNodeRequest) GetBody() *RemoveNodeRequest_Body
func (*RemoveNodeRequest) GetSignature ¶ added in v0.37.0
func (x *RemoveNodeRequest) GetSignature() *Signature
func (*RemoveNodeRequest) ProtoMessage ¶ added in v0.37.0
func (*RemoveNodeRequest) ProtoMessage()
func (*RemoveNodeRequest) ProtoReflect ¶ added in v0.37.0
func (x *RemoveNodeRequest) ProtoReflect() protoreflect.Message
func (*RemoveNodeRequest) ReadSignedData ¶ added in v0.37.0
func (x *RemoveNodeRequest) ReadSignedData(buf []byte) ([]byte, error)
SignedDataSize returns size of the request signed data in bytes.
Structures with the same field values have the same signed data size.
func (*RemoveNodeRequest) Reset ¶ added in v0.37.0
func (x *RemoveNodeRequest) Reset()
func (*RemoveNodeRequest) SetBody ¶ added in v0.37.0
func (x *RemoveNodeRequest) SetBody(v *RemoveNodeRequest_Body)
func (*RemoveNodeRequest) SetSignature ¶ added in v0.37.0
func (x *RemoveNodeRequest) SetSignature(sig *Signature)
func (*RemoveNodeRequest) SignedDataSize ¶ added in v0.37.0
func (x *RemoveNodeRequest) SignedDataSize() int
ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same signed data.
func (*RemoveNodeRequest) StableMarshal ¶ added in v0.37.0
func (x *RemoveNodeRequest) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*RemoveNodeRequest) StableSize ¶ added in v0.37.0
func (x *RemoveNodeRequest) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*RemoveNodeRequest) String ¶ added in v0.37.0
func (x *RemoveNodeRequest) String() string
type RemoveNodeRequest_Body ¶ added in v0.37.0
type RemoveNodeRequest_Body struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Valid until block value override. Vub uint32 `protobuf:"varint,2,opt,name=vub,proto3" json:"vub,omitempty"` // contains filtered or unexported fields }
func (*RemoveNodeRequest_Body) Descriptor
deprecated
added in
v0.37.0
func (*RemoveNodeRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNodeRequest_Body.ProtoReflect.Descriptor instead.
func (*RemoveNodeRequest_Body) GetKey ¶ added in v0.37.0
func (x *RemoveNodeRequest_Body) GetKey() []byte
func (*RemoveNodeRequest_Body) GetVub ¶ added in v0.38.0
func (x *RemoveNodeRequest_Body) GetVub() uint32
func (*RemoveNodeRequest_Body) ProtoMessage ¶ added in v0.37.0
func (*RemoveNodeRequest_Body) ProtoMessage()
func (*RemoveNodeRequest_Body) ProtoReflect ¶ added in v0.37.0
func (x *RemoveNodeRequest_Body) ProtoReflect() protoreflect.Message
func (*RemoveNodeRequest_Body) Reset ¶ added in v0.37.0
func (x *RemoveNodeRequest_Body) Reset()
func (*RemoveNodeRequest_Body) StableMarshal ¶ added in v0.37.0
func (x *RemoveNodeRequest_Body) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*RemoveNodeRequest_Body) StableSize ¶ added in v0.37.0
func (x *RemoveNodeRequest_Body) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*RemoveNodeRequest_Body) String ¶ added in v0.37.0
func (x *RemoveNodeRequest_Body) String() string
type RemoveNodeResponse ¶ added in v0.37.0
type RemoveNodeResponse struct { Body *RemoveNodeResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func RemoveNode ¶ added in v0.37.0
func RemoveNode( cli *client.Client, req *RemoveNodeRequest, opts ...client.CallOption, ) (*RemoveNodeResponse, error)
func (*RemoveNodeResponse) Descriptor
deprecated
added in
v0.37.0
func (*RemoveNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNodeResponse.ProtoReflect.Descriptor instead.
func (*RemoveNodeResponse) GetBody ¶ added in v0.37.0
func (x *RemoveNodeResponse) GetBody() *RemoveNodeResponse_Body
func (*RemoveNodeResponse) GetSignature ¶ added in v0.37.0
func (x *RemoveNodeResponse) GetSignature() *Signature
func (*RemoveNodeResponse) ProtoMessage ¶ added in v0.37.0
func (*RemoveNodeResponse) ProtoMessage()
func (*RemoveNodeResponse) ProtoReflect ¶ added in v0.37.0
func (x *RemoveNodeResponse) ProtoReflect() protoreflect.Message
func (*RemoveNodeResponse) ReadSignedData ¶ added in v0.37.0
func (x *RemoveNodeResponse) ReadSignedData(buf []byte) ([]byte, error)
SignedDataSize returns size of the request signed data in bytes.
Structures with the same field values have the same signed data size.
func (*RemoveNodeResponse) Reset ¶ added in v0.37.0
func (x *RemoveNodeResponse) Reset()
func (*RemoveNodeResponse) SetBody ¶ added in v0.37.0
func (x *RemoveNodeResponse) SetBody(v *RemoveNodeResponse_Body)
func (*RemoveNodeResponse) SetSignature ¶ added in v0.37.0
func (x *RemoveNodeResponse) SetSignature(sig *Signature)
func (*RemoveNodeResponse) SignedDataSize ¶ added in v0.37.0
func (x *RemoveNodeResponse) SignedDataSize() int
ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same signed data.
func (*RemoveNodeResponse) StableMarshal ¶ added in v0.37.0
func (x *RemoveNodeResponse) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*RemoveNodeResponse) StableSize ¶ added in v0.37.0
func (x *RemoveNodeResponse) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*RemoveNodeResponse) String ¶ added in v0.37.0
func (x *RemoveNodeResponse) String() string
type RemoveNodeResponse_Body ¶ added in v0.37.0
type RemoveNodeResponse_Body struct { // Valid until block value for transaction. Vub uint32 `protobuf:"varint,1,opt,name=vub,proto3" json:"vub,omitempty"` // contains filtered or unexported fields }
func (*RemoveNodeResponse_Body) Descriptor
deprecated
added in
v0.37.0
func (*RemoveNodeResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use RemoveNodeResponse_Body.ProtoReflect.Descriptor instead.
func (*RemoveNodeResponse_Body) GetVub ¶ added in v0.38.0
func (x *RemoveNodeResponse_Body) GetVub() uint32
func (*RemoveNodeResponse_Body) ProtoMessage ¶ added in v0.37.0
func (*RemoveNodeResponse_Body) ProtoMessage()
func (*RemoveNodeResponse_Body) ProtoReflect ¶ added in v0.37.0
func (x *RemoveNodeResponse_Body) ProtoReflect() protoreflect.Message
func (*RemoveNodeResponse_Body) Reset ¶ added in v0.37.0
func (x *RemoveNodeResponse_Body) Reset()
func (*RemoveNodeResponse_Body) StableMarshal ¶ added in v0.37.0
func (x *RemoveNodeResponse_Body) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*RemoveNodeResponse_Body) StableSize ¶ added in v0.37.0
func (x *RemoveNodeResponse_Body) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*RemoveNodeResponse_Body) String ¶ added in v0.37.0
func (x *RemoveNodeResponse_Body) String() string
type Signature ¶
type Signature struct { // Public key used for signing. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Binary signature. Sign []byte `protobuf:"bytes,2,opt,name=sign,json=signature,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
Signature of some message.
func (*Signature) Descriptor
deprecated
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) ProtoReflect ¶
func (x *Signature) ProtoReflect() protoreflect.Message
func (*Signature) StableMarshal ¶
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*Signature) StableSize ¶
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
type TickEpochRequest ¶ added in v0.37.0
type TickEpochRequest struct { Body *TickEpochRequest_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*TickEpochRequest) Descriptor
deprecated
added in
v0.37.0
func (*TickEpochRequest) Descriptor() ([]byte, []int)
Deprecated: Use TickEpochRequest.ProtoReflect.Descriptor instead.
func (*TickEpochRequest) GetBody ¶ added in v0.37.0
func (x *TickEpochRequest) GetBody() *TickEpochRequest_Body
func (*TickEpochRequest) GetSignature ¶ added in v0.37.0
func (x *TickEpochRequest) GetSignature() *Signature
func (*TickEpochRequest) ProtoMessage ¶ added in v0.37.0
func (*TickEpochRequest) ProtoMessage()
func (*TickEpochRequest) ProtoReflect ¶ added in v0.37.0
func (x *TickEpochRequest) ProtoReflect() protoreflect.Message
func (*TickEpochRequest) ReadSignedData ¶ added in v0.37.0
func (x *TickEpochRequest) ReadSignedData(buf []byte) ([]byte, error)
SignedDataSize returns size of the request signed data in bytes.
Structures with the same field values have the same signed data size.
func (*TickEpochRequest) Reset ¶ added in v0.37.0
func (x *TickEpochRequest) Reset()
func (*TickEpochRequest) SetBody ¶ added in v0.37.0
func (x *TickEpochRequest) SetBody(v *TickEpochRequest_Body)
func (*TickEpochRequest) SetSignature ¶ added in v0.37.0
func (x *TickEpochRequest) SetSignature(sig *Signature)
func (*TickEpochRequest) SignedDataSize ¶ added in v0.37.0
func (x *TickEpochRequest) SignedDataSize() int
ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same signed data.
func (*TickEpochRequest) StableMarshal ¶ added in v0.37.0
func (x *TickEpochRequest) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*TickEpochRequest) StableSize ¶ added in v0.37.0
func (x *TickEpochRequest) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*TickEpochRequest) String ¶ added in v0.37.0
func (x *TickEpochRequest) String() string
type TickEpochRequest_Body ¶ added in v0.37.0
type TickEpochRequest_Body struct { // Valid until block value override. Vub uint32 `protobuf:"varint,1,opt,name=vub,proto3" json:"vub,omitempty"` // contains filtered or unexported fields }
func (*TickEpochRequest_Body) Descriptor
deprecated
added in
v0.37.0
func (*TickEpochRequest_Body) Descriptor() ([]byte, []int)
Deprecated: Use TickEpochRequest_Body.ProtoReflect.Descriptor instead.
func (*TickEpochRequest_Body) GetVub ¶ added in v0.38.0
func (x *TickEpochRequest_Body) GetVub() uint32
func (*TickEpochRequest_Body) ProtoMessage ¶ added in v0.37.0
func (*TickEpochRequest_Body) ProtoMessage()
func (*TickEpochRequest_Body) ProtoReflect ¶ added in v0.37.0
func (x *TickEpochRequest_Body) ProtoReflect() protoreflect.Message
func (*TickEpochRequest_Body) Reset ¶ added in v0.37.0
func (x *TickEpochRequest_Body) Reset()
func (*TickEpochRequest_Body) StableMarshal ¶ added in v0.37.0
func (x *TickEpochRequest_Body) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*TickEpochRequest_Body) StableSize ¶ added in v0.37.0
func (x *TickEpochRequest_Body) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*TickEpochRequest_Body) String ¶ added in v0.37.0
func (x *TickEpochRequest_Body) String() string
type TickEpochResponse ¶ added in v0.37.0
type TickEpochResponse struct { Body *TickEpochResponse_Body `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` Signature *Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func TickEpoch ¶ added in v0.37.0
func TickEpoch( cli *client.Client, req *TickEpochRequest, opts ...client.CallOption, ) (*TickEpochResponse, error)
TickEpoch executes ControlService.TickEpoch RPC.
func (*TickEpochResponse) Descriptor
deprecated
added in
v0.37.0
func (*TickEpochResponse) Descriptor() ([]byte, []int)
Deprecated: Use TickEpochResponse.ProtoReflect.Descriptor instead.
func (*TickEpochResponse) GetBody ¶ added in v0.37.0
func (x *TickEpochResponse) GetBody() *TickEpochResponse_Body
func (*TickEpochResponse) GetSignature ¶ added in v0.37.0
func (x *TickEpochResponse) GetSignature() *Signature
func (*TickEpochResponse) ProtoMessage ¶ added in v0.37.0
func (*TickEpochResponse) ProtoMessage()
func (*TickEpochResponse) ProtoReflect ¶ added in v0.37.0
func (x *TickEpochResponse) ProtoReflect() protoreflect.Message
func (*TickEpochResponse) ReadSignedData ¶ added in v0.37.0
func (x *TickEpochResponse) ReadSignedData(buf []byte) ([]byte, error)
SignedDataSize returns size of the request signed data in bytes.
Structures with the same field values have the same signed data size.
func (*TickEpochResponse) Reset ¶ added in v0.37.0
func (x *TickEpochResponse) Reset()
func (*TickEpochResponse) SetBody ¶ added in v0.37.0
func (x *TickEpochResponse) SetBody(v *TickEpochResponse_Body)
func (*TickEpochResponse) SetSignature ¶ added in v0.37.0
func (x *TickEpochResponse) SetSignature(sig *Signature)
func (*TickEpochResponse) SignedDataSize ¶ added in v0.37.0
func (x *TickEpochResponse) SignedDataSize() int
ReadSignedData fills buf with signed data of x. If buffer length is less than x.SignedDataSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same signed data.
func (*TickEpochResponse) StableMarshal ¶ added in v0.37.0
func (x *TickEpochResponse) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*TickEpochResponse) StableSize ¶ added in v0.37.0
func (x *TickEpochResponse) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*TickEpochResponse) String ¶ added in v0.37.0
func (x *TickEpochResponse) String() string
type TickEpochResponse_Body ¶ added in v0.37.0
type TickEpochResponse_Body struct { // Valid until block value for transaction. Vub uint32 `protobuf:"varint,1,opt,name=vub,proto3" json:"vub,omitempty"` // contains filtered or unexported fields }
func (*TickEpochResponse_Body) Descriptor
deprecated
added in
v0.37.0
func (*TickEpochResponse_Body) Descriptor() ([]byte, []int)
Deprecated: Use TickEpochResponse_Body.ProtoReflect.Descriptor instead.
func (*TickEpochResponse_Body) GetVub ¶ added in v0.38.0
func (x *TickEpochResponse_Body) GetVub() uint32
func (*TickEpochResponse_Body) ProtoMessage ¶ added in v0.37.0
func (*TickEpochResponse_Body) ProtoMessage()
func (*TickEpochResponse_Body) ProtoReflect ¶ added in v0.37.0
func (x *TickEpochResponse_Body) ProtoReflect() protoreflect.Message
func (*TickEpochResponse_Body) Reset ¶ added in v0.37.0
func (x *TickEpochResponse_Body) Reset()
func (*TickEpochResponse_Body) StableMarshal ¶ added in v0.37.0
func (x *TickEpochResponse_Body) StableMarshal(buf []byte) []byte
StableMarshal marshals x in protobuf binary format with stable field order.
If buffer length is less than x.StableSize(), new buffer is allocated.
Returns any error encountered which did not allow writing the data completely. Otherwise, returns the buffer in which the data is written.
Structures with the same field values have the same binary format.
func (*TickEpochResponse_Body) StableSize ¶ added in v0.37.0
func (x *TickEpochResponse_Body) StableSize() (size int)
StableSize returns the size of x in protobuf format.
Structures with the same field values have the same binary size.
func (*TickEpochResponse_Body) String ¶ added in v0.37.0
func (x *TickEpochResponse_Body) String() string
type UnimplementedControlServiceServer ¶
type UnimplementedControlServiceServer struct { }
UnimplementedControlServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedControlServiceServer) HealthCheck ¶
func (UnimplementedControlServiceServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
func (UnimplementedControlServiceServer) RemoveContainer ¶ added in v0.37.0
func (UnimplementedControlServiceServer) RemoveContainer(context.Context, *RemoveContainerRequest) (*RemoveContainerResponse, error)
func (UnimplementedControlServiceServer) RemoveNode ¶ added in v0.37.0
func (UnimplementedControlServiceServer) RemoveNode(context.Context, *RemoveNodeRequest) (*RemoveNodeResponse, error)
func (UnimplementedControlServiceServer) TickEpoch ¶ added in v0.37.0
func (UnimplementedControlServiceServer) TickEpoch(context.Context, *TickEpochRequest) (*TickEpochResponse, error)
type UnsafeControlServiceServer ¶
type UnsafeControlServiceServer interface {
// contains filtered or unexported methods
}
UnsafeControlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ControlServiceServer will result in compilation errors.