Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterOperationQueueServer(s grpc.ServiceRegistrar, srv OperationQueueServer)
- type CurrentState
- func (*CurrentState) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentState) GetCompleted() *CurrentState_Completed
- func (x *CurrentState) GetExecuting() *CurrentState_Executing
- func (x *CurrentState) GetIdle() *emptypb.Empty
- func (x *CurrentState) GetRejected() *CurrentState_Rejected
- func (x *CurrentState) GetWorkerState() isCurrentState_WorkerState
- func (*CurrentState) ProtoMessage()
- func (x *CurrentState) ProtoReflect() protoreflect.Message
- func (x *CurrentState) Reset()
- func (x *CurrentState) String() string
- type CurrentState_Completed
- func (*CurrentState_Completed) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentState_Completed) GetEvent() *encryptedaction.Event
- func (x *CurrentState_Completed) GetResult() CurrentState_Completed_Result
- func (x *CurrentState_Completed) GetTaskUuid() string
- func (x *CurrentState_Completed) GetVirtualExecutionDuration() *durationpb.Duration
- func (*CurrentState_Completed) ProtoMessage()
- func (x *CurrentState_Completed) ProtoReflect() protoreflect.Message
- func (x *CurrentState_Completed) Reset()
- func (x *CurrentState_Completed) String() string
- type CurrentState_Completed_
- type CurrentState_Completed_Result
- func (CurrentState_Completed_Result) Descriptor() protoreflect.EnumDescriptor
- func (x CurrentState_Completed_Result) Enum() *CurrentState_Completed_Result
- func (CurrentState_Completed_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x CurrentState_Completed_Result) Number() protoreflect.EnumNumber
- func (x CurrentState_Completed_Result) String() string
- func (CurrentState_Completed_Result) Type() protoreflect.EnumType
- type CurrentState_Executing
- func (*CurrentState_Executing) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentState_Executing) GetEvent() *encryptedaction.Event
- func (x *CurrentState_Executing) GetTaskUuid() string
- func (*CurrentState_Executing) ProtoMessage()
- func (x *CurrentState_Executing) ProtoReflect() protoreflect.Message
- func (x *CurrentState_Executing) Reset()
- func (x *CurrentState_Executing) String() string
- type CurrentState_Executing_
- type CurrentState_Idle
- type CurrentState_Rejected
- func (*CurrentState_Rejected) Descriptor() ([]byte, []int)deprecated
- func (x *CurrentState_Rejected) GetReason() *status.Status
- func (x *CurrentState_Rejected) GetTaskUuid() string
- func (*CurrentState_Rejected) ProtoMessage()
- func (x *CurrentState_Rejected) ProtoReflect() protoreflect.Message
- func (x *CurrentState_Rejected) Reset()
- func (x *CurrentState_Rejected) String() string
- type CurrentState_Rejected_
- type DesiredState
- func (*DesiredState) Descriptor() ([]byte, []int)deprecated
- func (x *DesiredState) GetExecuting() *DesiredState_Executing
- func (x *DesiredState) GetIdle() *emptypb.Empty
- func (x *DesiredState) GetVerifyingPublicKeys() *DesiredState_VerifyingPublicKeys
- func (x *DesiredState) GetWorkerState() isDesiredState_WorkerState
- func (*DesiredState) ProtoMessage()
- func (x *DesiredState) ProtoReflect() protoreflect.Message
- func (x *DesiredState) Reset()
- func (x *DesiredState) String() string
- type DesiredState_Executing
- func (*DesiredState_Executing) Descriptor() ([]byte, []int)deprecated
- func (x *DesiredState_Executing) GetAction() *encryptedaction.Action
- func (x *DesiredState_Executing) GetAuxiliaryMetadata() []*anypb.Any
- func (x *DesiredState_Executing) GetEffectiveExecutionTimeout() *durationpb.Duration
- func (x *DesiredState_Executing) GetQueuedTimestamp() *timestamppb.Timestamp
- func (x *DesiredState_Executing) GetTaskUuid() string
- func (x *DesiredState_Executing) GetW3CTraceContext() map[string]string
- func (*DesiredState_Executing) ProtoMessage()
- func (x *DesiredState_Executing) ProtoReflect() protoreflect.Message
- func (x *DesiredState_Executing) Reset()
- func (x *DesiredState_Executing) String() string
- type DesiredState_Executing_
- type DesiredState_Idle
- type DesiredState_VerifyingPublicKeys
- func (*DesiredState_VerifyingPublicKeys) Descriptor() ([]byte, []int)deprecated
- func (x *DesiredState_VerifyingPublicKeys) GetVerificationPkixPublicKeys() [][]byte
- func (*DesiredState_VerifyingPublicKeys) ProtoMessage()
- func (x *DesiredState_VerifyingPublicKeys) ProtoReflect() protoreflect.Message
- func (x *DesiredState_VerifyingPublicKeys) Reset()
- func (x *DesiredState_VerifyingPublicKeys) String() string
- type DesiredState_VerifyingPublicKeys_
- type OperationQueueClient
- type OperationQueueServer
- type SynchronizeRequest
- func (*SynchronizeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SynchronizeRequest) GetCurrentState() *CurrentState
- func (x *SynchronizeRequest) GetPreferBeingIdle() bool
- func (x *SynchronizeRequest) GetPublicKeys() []*SynchronizeRequest_PublicKey
- func (x *SynchronizeRequest) GetSizeClass() uint32
- func (x *SynchronizeRequest) GetWorkerId() map[string]string
- func (*SynchronizeRequest) ProtoMessage()
- func (x *SynchronizeRequest) ProtoReflect() protoreflect.Message
- func (x *SynchronizeRequest) Reset()
- func (x *SynchronizeRequest) String() string
- type SynchronizeRequest_PublicKey
- func (*SynchronizeRequest_PublicKey) Descriptor() ([]byte, []int)deprecated
- func (x *SynchronizeRequest_PublicKey) GetPkixPublicKey() []byte
- func (x *SynchronizeRequest_PublicKey) GetVerificationZeros() []byte
- func (*SynchronizeRequest_PublicKey) ProtoMessage()
- func (x *SynchronizeRequest_PublicKey) ProtoReflect() protoreflect.Message
- func (x *SynchronizeRequest_PublicKey) Reset()
- func (x *SynchronizeRequest_PublicKey) String() string
- type SynchronizeResponse
- func (*SynchronizeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SynchronizeResponse) GetDesiredState() *DesiredState
- func (x *SynchronizeResponse) GetNextSynchronizationAt() *timestamppb.Timestamp
- func (*SynchronizeResponse) ProtoMessage()
- func (x *SynchronizeResponse) ProtoReflect() protoreflect.Message
- func (x *SynchronizeResponse) Reset()
- func (x *SynchronizeResponse) String() string
- type UnimplementedOperationQueueServer
- type UnsafeOperationQueueServer
Constants ¶
const (
OperationQueue_Synchronize_FullMethodName = "/bonanza.remoteworker.OperationQueue/Synchronize"
)
Variables ¶
var ( CurrentState_Completed_Result_name = map[int32]string{ 0: "SUCCEEDED", 1: "TIMED_OUT", 2: "FAILED", } CurrentState_Completed_Result_value = map[string]int32{ "SUCCEEDED": 0, "TIMED_OUT": 1, "FAILED": 2, } )
Enum value maps for CurrentState_Completed_Result.
var File_pkg_proto_remoteworker_remoteworker_proto protoreflect.FileDescriptor
var OperationQueue_ServiceDesc = grpc.ServiceDesc{ ServiceName: "bonanza.remoteworker.OperationQueue", HandlerType: (*OperationQueueServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Synchronize", Handler: _OperationQueue_Synchronize_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "pkg/proto/remoteworker/remoteworker.proto", }
OperationQueue_ServiceDesc is the grpc.ServiceDesc for OperationQueue service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOperationQueueServer ¶
func RegisterOperationQueueServer(s grpc.ServiceRegistrar, srv OperationQueueServer)
Types ¶
type CurrentState ¶
type CurrentState struct { // Types that are valid to be assigned to WorkerState: // // *CurrentState_Idle // *CurrentState_Rejected_ // *CurrentState_Executing_ // *CurrentState_Completed_ WorkerState isCurrentState_WorkerState `protobuf_oneof:"worker_state"` // contains filtered or unexported fields }
func (*CurrentState) Descriptor
deprecated
func (*CurrentState) Descriptor() ([]byte, []int)
Deprecated: Use CurrentState.ProtoReflect.Descriptor instead.
func (*CurrentState) GetCompleted ¶
func (x *CurrentState) GetCompleted() *CurrentState_Completed
func (*CurrentState) GetExecuting ¶
func (x *CurrentState) GetExecuting() *CurrentState_Executing
func (*CurrentState) GetIdle ¶
func (x *CurrentState) GetIdle() *emptypb.Empty
func (*CurrentState) GetRejected ¶
func (x *CurrentState) GetRejected() *CurrentState_Rejected
func (*CurrentState) GetWorkerState ¶
func (x *CurrentState) GetWorkerState() isCurrentState_WorkerState
func (*CurrentState) ProtoMessage ¶
func (*CurrentState) ProtoMessage()
func (*CurrentState) ProtoReflect ¶
func (x *CurrentState) ProtoReflect() protoreflect.Message
func (*CurrentState) Reset ¶
func (x *CurrentState) Reset()
func (*CurrentState) String ¶
func (x *CurrentState) String() string
type CurrentState_Completed ¶
type CurrentState_Completed struct { TaskUuid string `protobuf:"bytes,1,opt,name=task_uuid,json=taskUuid,proto3" json:"task_uuid,omitempty"` Event *encryptedaction.Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` VirtualExecutionDuration *durationpb.Duration `` /* 135-byte string literal not displayed */ Result CurrentState_Completed_Result `protobuf:"varint,4,opt,name=result,proto3,enum=bonanza.remoteworker.CurrentState_Completed_Result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*CurrentState_Completed) Descriptor
deprecated
func (*CurrentState_Completed) Descriptor() ([]byte, []int)
Deprecated: Use CurrentState_Completed.ProtoReflect.Descriptor instead.
func (*CurrentState_Completed) GetEvent ¶
func (x *CurrentState_Completed) GetEvent() *encryptedaction.Event
func (*CurrentState_Completed) GetResult ¶
func (x *CurrentState_Completed) GetResult() CurrentState_Completed_Result
func (*CurrentState_Completed) GetTaskUuid ¶
func (x *CurrentState_Completed) GetTaskUuid() string
func (*CurrentState_Completed) GetVirtualExecutionDuration ¶
func (x *CurrentState_Completed) GetVirtualExecutionDuration() *durationpb.Duration
func (*CurrentState_Completed) ProtoMessage ¶
func (*CurrentState_Completed) ProtoMessage()
func (*CurrentState_Completed) ProtoReflect ¶
func (x *CurrentState_Completed) ProtoReflect() protoreflect.Message
func (*CurrentState_Completed) Reset ¶
func (x *CurrentState_Completed) Reset()
func (*CurrentState_Completed) String ¶
func (x *CurrentState_Completed) String() string
type CurrentState_Completed_ ¶
type CurrentState_Completed_ struct {
Completed *CurrentState_Completed `protobuf:"bytes,4,opt,name=completed,proto3,oneof"`
}
type CurrentState_Completed_Result ¶
type CurrentState_Completed_Result int32
const ( CurrentState_Completed_SUCCEEDED CurrentState_Completed_Result = 0 CurrentState_Completed_TIMED_OUT CurrentState_Completed_Result = 1 CurrentState_Completed_FAILED CurrentState_Completed_Result = 2 )
func (CurrentState_Completed_Result) Descriptor ¶
func (CurrentState_Completed_Result) Descriptor() protoreflect.EnumDescriptor
func (CurrentState_Completed_Result) Enum ¶
func (x CurrentState_Completed_Result) Enum() *CurrentState_Completed_Result
func (CurrentState_Completed_Result) EnumDescriptor
deprecated
func (CurrentState_Completed_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use CurrentState_Completed_Result.Descriptor instead.
func (CurrentState_Completed_Result) Number ¶
func (x CurrentState_Completed_Result) Number() protoreflect.EnumNumber
func (CurrentState_Completed_Result) String ¶
func (x CurrentState_Completed_Result) String() string
func (CurrentState_Completed_Result) Type ¶
func (CurrentState_Completed_Result) Type() protoreflect.EnumType
type CurrentState_Executing ¶
type CurrentState_Executing struct { TaskUuid string `protobuf:"bytes,1,opt,name=task_uuid,json=taskUuid,proto3" json:"task_uuid,omitempty"` Event *encryptedaction.Event `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"` // contains filtered or unexported fields }
func (*CurrentState_Executing) Descriptor
deprecated
func (*CurrentState_Executing) Descriptor() ([]byte, []int)
Deprecated: Use CurrentState_Executing.ProtoReflect.Descriptor instead.
func (*CurrentState_Executing) GetEvent ¶
func (x *CurrentState_Executing) GetEvent() *encryptedaction.Event
func (*CurrentState_Executing) GetTaskUuid ¶
func (x *CurrentState_Executing) GetTaskUuid() string
func (*CurrentState_Executing) ProtoMessage ¶
func (*CurrentState_Executing) ProtoMessage()
func (*CurrentState_Executing) ProtoReflect ¶
func (x *CurrentState_Executing) ProtoReflect() protoreflect.Message
func (*CurrentState_Executing) Reset ¶
func (x *CurrentState_Executing) Reset()
func (*CurrentState_Executing) String ¶
func (x *CurrentState_Executing) String() string
type CurrentState_Executing_ ¶
type CurrentState_Executing_ struct {
Executing *CurrentState_Executing `protobuf:"bytes,3,opt,name=executing,proto3,oneof"`
}
type CurrentState_Idle ¶
type CurrentState_Rejected ¶
type CurrentState_Rejected struct { TaskUuid string `protobuf:"bytes,1,opt,name=task_uuid,json=taskUuid,proto3" json:"task_uuid,omitempty"` Reason *status.Status `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*CurrentState_Rejected) Descriptor
deprecated
func (*CurrentState_Rejected) Descriptor() ([]byte, []int)
Deprecated: Use CurrentState_Rejected.ProtoReflect.Descriptor instead.
func (*CurrentState_Rejected) GetReason ¶
func (x *CurrentState_Rejected) GetReason() *status.Status
func (*CurrentState_Rejected) GetTaskUuid ¶
func (x *CurrentState_Rejected) GetTaskUuid() string
func (*CurrentState_Rejected) ProtoMessage ¶
func (*CurrentState_Rejected) ProtoMessage()
func (*CurrentState_Rejected) ProtoReflect ¶
func (x *CurrentState_Rejected) ProtoReflect() protoreflect.Message
func (*CurrentState_Rejected) Reset ¶
func (x *CurrentState_Rejected) Reset()
func (*CurrentState_Rejected) String ¶
func (x *CurrentState_Rejected) String() string
type CurrentState_Rejected_ ¶
type CurrentState_Rejected_ struct {
Rejected *CurrentState_Rejected `protobuf:"bytes,2,opt,name=rejected,proto3,oneof"`
}
type DesiredState ¶
type DesiredState struct { // Types that are valid to be assigned to WorkerState: // // *DesiredState_VerifyingPublicKeys_ // *DesiredState_Idle // *DesiredState_Executing_ WorkerState isDesiredState_WorkerState `protobuf_oneof:"worker_state"` // contains filtered or unexported fields }
func (*DesiredState) Descriptor
deprecated
func (*DesiredState) Descriptor() ([]byte, []int)
Deprecated: Use DesiredState.ProtoReflect.Descriptor instead.
func (*DesiredState) GetExecuting ¶
func (x *DesiredState) GetExecuting() *DesiredState_Executing
func (*DesiredState) GetIdle ¶
func (x *DesiredState) GetIdle() *emptypb.Empty
func (*DesiredState) GetVerifyingPublicKeys ¶
func (x *DesiredState) GetVerifyingPublicKeys() *DesiredState_VerifyingPublicKeys
func (*DesiredState) GetWorkerState ¶
func (x *DesiredState) GetWorkerState() isDesiredState_WorkerState
func (*DesiredState) ProtoMessage ¶
func (*DesiredState) ProtoMessage()
func (*DesiredState) ProtoReflect ¶
func (x *DesiredState) ProtoReflect() protoreflect.Message
func (*DesiredState) Reset ¶
func (x *DesiredState) Reset()
func (*DesiredState) String ¶
func (x *DesiredState) String() string
type DesiredState_Executing ¶
type DesiredState_Executing struct { TaskUuid string `protobuf:"bytes,1,opt,name=task_uuid,json=taskUuid,proto3" json:"task_uuid,omitempty"` Action *encryptedaction.Action `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` EffectiveExecutionTimeout *durationpb.Duration `` /* 138-byte string literal not displayed */ QueuedTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=queued_timestamp,json=queuedTimestamp,proto3" json:"queued_timestamp,omitempty"` AuxiliaryMetadata []*anypb.Any `protobuf:"bytes,5,rep,name=auxiliary_metadata,json=auxiliaryMetadata,proto3" json:"auxiliary_metadata,omitempty"` W3CTraceContext map[string]string `` /* 182-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DesiredState_Executing) Descriptor
deprecated
func (*DesiredState_Executing) Descriptor() ([]byte, []int)
Deprecated: Use DesiredState_Executing.ProtoReflect.Descriptor instead.
func (*DesiredState_Executing) GetAction ¶
func (x *DesiredState_Executing) GetAction() *encryptedaction.Action
func (*DesiredState_Executing) GetAuxiliaryMetadata ¶
func (x *DesiredState_Executing) GetAuxiliaryMetadata() []*anypb.Any
func (*DesiredState_Executing) GetEffectiveExecutionTimeout ¶
func (x *DesiredState_Executing) GetEffectiveExecutionTimeout() *durationpb.Duration
func (*DesiredState_Executing) GetQueuedTimestamp ¶
func (x *DesiredState_Executing) GetQueuedTimestamp() *timestamppb.Timestamp
func (*DesiredState_Executing) GetTaskUuid ¶
func (x *DesiredState_Executing) GetTaskUuid() string
func (*DesiredState_Executing) GetW3CTraceContext ¶
func (x *DesiredState_Executing) GetW3CTraceContext() map[string]string
func (*DesiredState_Executing) ProtoMessage ¶
func (*DesiredState_Executing) ProtoMessage()
func (*DesiredState_Executing) ProtoReflect ¶
func (x *DesiredState_Executing) ProtoReflect() protoreflect.Message
func (*DesiredState_Executing) Reset ¶
func (x *DesiredState_Executing) Reset()
func (*DesiredState_Executing) String ¶
func (x *DesiredState_Executing) String() string
type DesiredState_Executing_ ¶
type DesiredState_Executing_ struct {
Executing *DesiredState_Executing `protobuf:"bytes,3,opt,name=executing,proto3,oneof"`
}
type DesiredState_Idle ¶
type DesiredState_VerifyingPublicKeys ¶
type DesiredState_VerifyingPublicKeys struct { VerificationPkixPublicKeys [][]byte `` /* 143-byte string literal not displayed */ // contains filtered or unexported fields }
func (*DesiredState_VerifyingPublicKeys) Descriptor
deprecated
func (*DesiredState_VerifyingPublicKeys) Descriptor() ([]byte, []int)
Deprecated: Use DesiredState_VerifyingPublicKeys.ProtoReflect.Descriptor instead.
func (*DesiredState_VerifyingPublicKeys) GetVerificationPkixPublicKeys ¶
func (x *DesiredState_VerifyingPublicKeys) GetVerificationPkixPublicKeys() [][]byte
func (*DesiredState_VerifyingPublicKeys) ProtoMessage ¶
func (*DesiredState_VerifyingPublicKeys) ProtoMessage()
func (*DesiredState_VerifyingPublicKeys) ProtoReflect ¶
func (x *DesiredState_VerifyingPublicKeys) ProtoReflect() protoreflect.Message
func (*DesiredState_VerifyingPublicKeys) Reset ¶
func (x *DesiredState_VerifyingPublicKeys) Reset()
func (*DesiredState_VerifyingPublicKeys) String ¶
func (x *DesiredState_VerifyingPublicKeys) String() string
type DesiredState_VerifyingPublicKeys_ ¶
type DesiredState_VerifyingPublicKeys_ struct {
VerifyingPublicKeys *DesiredState_VerifyingPublicKeys `protobuf:"bytes,1,opt,name=verifying_public_keys,json=verifyingPublicKeys,proto3,oneof"`
}
type OperationQueueClient ¶
type OperationQueueClient interface {
Synchronize(ctx context.Context, in *SynchronizeRequest, opts ...grpc.CallOption) (*SynchronizeResponse, error)
}
OperationQueueClient is the client API for OperationQueue 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 NewOperationQueueClient ¶
func NewOperationQueueClient(cc grpc.ClientConnInterface) OperationQueueClient
type OperationQueueServer ¶
type OperationQueueServer interface {
Synchronize(context.Context, *SynchronizeRequest) (*SynchronizeResponse, error)
}
OperationQueueServer is the server API for OperationQueue service. All implementations should embed UnimplementedOperationQueueServer for forward compatibility.
type SynchronizeRequest ¶
type SynchronizeRequest struct { WorkerId map[string]string `` /* 159-byte string literal not displayed */ PublicKeys []*SynchronizeRequest_PublicKey `protobuf:"bytes,2,rep,name=public_keys,json=publicKeys,proto3" json:"public_keys,omitempty"` SizeClass uint32 `protobuf:"varint,3,opt,name=size_class,json=sizeClass,proto3" json:"size_class,omitempty"` CurrentState *CurrentState `protobuf:"bytes,4,opt,name=current_state,json=currentState,proto3" json:"current_state,omitempty"` PreferBeingIdle bool `protobuf:"varint,5,opt,name=prefer_being_idle,json=preferBeingIdle,proto3" json:"prefer_being_idle,omitempty"` // contains filtered or unexported fields }
func (*SynchronizeRequest) Descriptor
deprecated
func (*SynchronizeRequest) Descriptor() ([]byte, []int)
Deprecated: Use SynchronizeRequest.ProtoReflect.Descriptor instead.
func (*SynchronizeRequest) GetCurrentState ¶
func (x *SynchronizeRequest) GetCurrentState() *CurrentState
func (*SynchronizeRequest) GetPreferBeingIdle ¶
func (x *SynchronizeRequest) GetPreferBeingIdle() bool
func (*SynchronizeRequest) GetPublicKeys ¶
func (x *SynchronizeRequest) GetPublicKeys() []*SynchronizeRequest_PublicKey
func (*SynchronizeRequest) GetSizeClass ¶
func (x *SynchronizeRequest) GetSizeClass() uint32
func (*SynchronizeRequest) GetWorkerId ¶
func (x *SynchronizeRequest) GetWorkerId() map[string]string
func (*SynchronizeRequest) ProtoMessage ¶
func (*SynchronizeRequest) ProtoMessage()
func (*SynchronizeRequest) ProtoReflect ¶
func (x *SynchronizeRequest) ProtoReflect() protoreflect.Message
func (*SynchronizeRequest) Reset ¶
func (x *SynchronizeRequest) Reset()
func (*SynchronizeRequest) String ¶
func (x *SynchronizeRequest) String() string
type SynchronizeRequest_PublicKey ¶
type SynchronizeRequest_PublicKey struct { PkixPublicKey []byte `protobuf:"bytes,1,opt,name=pkix_public_key,json=pkixPublicKey,proto3" json:"pkix_public_key,omitempty"` VerificationZeros []byte `protobuf:"bytes,2,opt,name=verification_zeros,json=verificationZeros,proto3" json:"verification_zeros,omitempty"` // contains filtered or unexported fields }
func (*SynchronizeRequest_PublicKey) Descriptor
deprecated
func (*SynchronizeRequest_PublicKey) Descriptor() ([]byte, []int)
Deprecated: Use SynchronizeRequest_PublicKey.ProtoReflect.Descriptor instead.
func (*SynchronizeRequest_PublicKey) GetPkixPublicKey ¶
func (x *SynchronizeRequest_PublicKey) GetPkixPublicKey() []byte
func (*SynchronizeRequest_PublicKey) GetVerificationZeros ¶
func (x *SynchronizeRequest_PublicKey) GetVerificationZeros() []byte
func (*SynchronizeRequest_PublicKey) ProtoMessage ¶
func (*SynchronizeRequest_PublicKey) ProtoMessage()
func (*SynchronizeRequest_PublicKey) ProtoReflect ¶
func (x *SynchronizeRequest_PublicKey) ProtoReflect() protoreflect.Message
func (*SynchronizeRequest_PublicKey) Reset ¶
func (x *SynchronizeRequest_PublicKey) Reset()
func (*SynchronizeRequest_PublicKey) String ¶
func (x *SynchronizeRequest_PublicKey) String() string
type SynchronizeResponse ¶
type SynchronizeResponse struct { NextSynchronizationAt *timestamppb.Timestamp `` /* 126-byte string literal not displayed */ DesiredState *DesiredState `protobuf:"bytes,2,opt,name=desired_state,json=desiredState,proto3" json:"desired_state,omitempty"` // contains filtered or unexported fields }
func (*SynchronizeResponse) Descriptor
deprecated
func (*SynchronizeResponse) Descriptor() ([]byte, []int)
Deprecated: Use SynchronizeResponse.ProtoReflect.Descriptor instead.
func (*SynchronizeResponse) GetDesiredState ¶
func (x *SynchronizeResponse) GetDesiredState() *DesiredState
func (*SynchronizeResponse) GetNextSynchronizationAt ¶
func (x *SynchronizeResponse) GetNextSynchronizationAt() *timestamppb.Timestamp
func (*SynchronizeResponse) ProtoMessage ¶
func (*SynchronizeResponse) ProtoMessage()
func (*SynchronizeResponse) ProtoReflect ¶
func (x *SynchronizeResponse) ProtoReflect() protoreflect.Message
func (*SynchronizeResponse) Reset ¶
func (x *SynchronizeResponse) Reset()
func (*SynchronizeResponse) String ¶
func (x *SynchronizeResponse) String() string
type UnimplementedOperationQueueServer ¶
type UnimplementedOperationQueueServer struct{}
UnimplementedOperationQueueServer should 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 (UnimplementedOperationQueueServer) Synchronize ¶
func (UnimplementedOperationQueueServer) Synchronize(context.Context, *SynchronizeRequest) (*SynchronizeResponse, error)
type UnsafeOperationQueueServer ¶
type UnsafeOperationQueueServer interface {
// contains filtered or unexported methods
}
UnsafeOperationQueueServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OperationQueueServer will result in compilation errors.