Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterRuntimeControlServiceServer(s grpc.ServiceRegistrar, srv RuntimeControlServiceServer)
- func RegisterWorkflowSpawnServiceServer(s grpc.ServiceRegistrar, srv WorkflowSpawnServiceServer)
- type AcknowledgeCancellationRequest
- func (*AcknowledgeCancellationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcknowledgeCancellationRequest) GetExpectedAttemptVersion() int64
- func (x *AcknowledgeCancellationRequest) GetIdempotencyKey() string
- func (x *AcknowledgeCancellationRequest) GetIdentity() *AttemptIdentity
- func (*AcknowledgeCancellationRequest) ProtoMessage()
- func (x *AcknowledgeCancellationRequest) ProtoReflect() protoreflect.Message
- func (x *AcknowledgeCancellationRequest) Reset()
- func (x *AcknowledgeCancellationRequest) String() string
- type AcknowledgeCancellationResponse
- func (*AcknowledgeCancellationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AcknowledgeCancellationResponse) GetAttemptVersion() int64
- func (x *AcknowledgeCancellationResponse) GetRunVersion() int64
- func (x *AcknowledgeCancellationResponse) GetTaskVersion() int64
- func (*AcknowledgeCancellationResponse) ProtoMessage()
- func (x *AcknowledgeCancellationResponse) ProtoReflect() protoreflect.Message
- func (x *AcknowledgeCancellationResponse) Reset()
- func (x *AcknowledgeCancellationResponse) String() string
- type ArtifactReference
- func (*ArtifactReference) Descriptor() ([]byte, []int)deprecated
- func (x *ArtifactReference) GetMediaType() string
- func (x *ArtifactReference) GetSha256() string
- func (x *ArtifactReference) GetSizeBytes() int64
- func (x *ArtifactReference) GetUri() string
- func (*ArtifactReference) ProtoMessage()
- func (x *ArtifactReference) ProtoReflect() protoreflect.Message
- func (x *ArtifactReference) Reset()
- func (x *ArtifactReference) String() string
- type Assignment
- func (*Assignment) Descriptor() ([]byte, []int)deprecated
- func (x *Assignment) GetAgentVersionRef() string
- func (x *Assignment) GetAgentVersionSpecJson() []byte
- func (x *Assignment) GetApprovalId() string
- func (x *Assignment) GetAttemptVersion() int64
- func (x *Assignment) GetGoal() string
- func (x *Assignment) GetIdentity() *AttemptIdentity
- func (x *Assignment) GetLeaseExpiresAt() *timestamppb.Timestamp
- func (x *Assignment) GetLeaseVersion() int64
- func (x *Assignment) GetPhase() string
- func (x *Assignment) GetResumeCheckpoint() *CheckpointReference
- func (x *Assignment) GetRunId() string
- func (x *Assignment) GetRuntimeClass() string
- func (x *Assignment) GetRuntimeInstanceId() string
- func (x *Assignment) GetRuntimePoolId() string
- func (x *Assignment) GetTaskId() string
- func (x *Assignment) GetWorkflowLineage() string
- func (x *Assignment) GetWorkloadSpecJson() []byte
- func (*Assignment) ProtoMessage()
- func (x *Assignment) ProtoReflect() protoreflect.Message
- func (x *Assignment) Reset()
- func (x *Assignment) String() string
- type AttemptIdentity
- func (*AttemptIdentity) Descriptor() ([]byte, []int)deprecated
- func (x *AttemptIdentity) GetAttemptId() string
- func (x *AttemptIdentity) GetFencingToken() int64
- func (x *AttemptIdentity) GetTenantId() string
- func (*AttemptIdentity) ProtoMessage()
- func (x *AttemptIdentity) ProtoReflect() protoreflect.Message
- func (x *AttemptIdentity) Reset()
- func (x *AttemptIdentity) String() string
- type AttemptPhase
- func (AttemptPhase) Descriptor() protoreflect.EnumDescriptor
- func (x AttemptPhase) Enum() *AttemptPhase
- func (AttemptPhase) EnumDescriptor() ([]byte, []int)deprecated
- func (x AttemptPhase) Number() protoreflect.EnumNumber
- func (x AttemptPhase) String() string
- func (AttemptPhase) Type() protoreflect.EnumType
- type CheckpointReference
- func (*CheckpointReference) Descriptor() ([]byte, []int)deprecated
- func (x *CheckpointReference) GetAgentVersionRef() string
- func (x *CheckpointReference) GetCheckpointId() string
- func (x *CheckpointReference) GetConfirmedReceiptIds() []string
- func (x *CheckpointReference) GetCreatedAt() *timestamppb.Timestamp
- func (x *CheckpointReference) GetEnvelopeSha256() string
- func (x *CheckpointReference) GetProvider() string
- func (x *CheckpointReference) GetRuntimeAbi() string
- func (x *CheckpointReference) GetRuntimeClass() string
- func (x *CheckpointReference) GetSchemaVersion() string
- func (x *CheckpointReference) GetState() *ArtifactReference
- func (*CheckpointReference) ProtoMessage()
- func (x *CheckpointReference) ProtoReflect() protoreflect.Message
- func (x *CheckpointReference) Reset()
- func (x *CheckpointReference) String() string
- type CommitCheckpointRequest
- func (*CommitCheckpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CommitCheckpointRequest) GetAgentVersionRef() string
- func (x *CommitCheckpointRequest) GetCheckpointId() string
- func (x *CommitCheckpointRequest) GetConfirmedReceiptIds() []string
- func (x *CommitCheckpointRequest) GetExpectedAttemptVersion() int64
- func (x *CommitCheckpointRequest) GetIdempotencyKey() string
- func (x *CommitCheckpointRequest) GetIdentity() *AttemptIdentity
- func (x *CommitCheckpointRequest) GetProvider() string
- func (x *CommitCheckpointRequest) GetRuntimeAbi() string
- func (x *CommitCheckpointRequest) GetSchemaVersion() string
- func (x *CommitCheckpointRequest) GetState() *ArtifactReference
- func (*CommitCheckpointRequest) ProtoMessage()
- func (x *CommitCheckpointRequest) ProtoReflect() protoreflect.Message
- func (x *CommitCheckpointRequest) Reset()
- func (x *CommitCheckpointRequest) String() string
- type CommitCheckpointResponse
- func (*CommitCheckpointResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CommitCheckpointResponse) GetAttemptVersion() int64
- func (x *CommitCheckpointResponse) GetCheckpoint() *CheckpointReference
- func (*CommitCheckpointResponse) ProtoMessage()
- func (x *CommitCheckpointResponse) ProtoReflect() protoreflect.Message
- func (x *CommitCheckpointResponse) Reset()
- func (x *CommitCheckpointResponse) String() string
- type CompleteAttemptRequest
- func (*CompleteAttemptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteAttemptRequest) GetExpectedAttemptVersion() int64
- func (x *CompleteAttemptRequest) GetIdempotencyKey() string
- func (x *CompleteAttemptRequest) GetIdentity() *AttemptIdentity
- func (x *CompleteAttemptRequest) GetResult() *ArtifactReference
- func (*CompleteAttemptRequest) ProtoMessage()
- func (x *CompleteAttemptRequest) ProtoReflect() protoreflect.Message
- func (x *CompleteAttemptRequest) Reset()
- func (x *CompleteAttemptRequest) String() string
- type CompleteAttemptResponse
- func (*CompleteAttemptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CompleteAttemptResponse) GetAttemptVersion() int64
- func (x *CompleteAttemptResponse) GetResultRef() string
- func (x *CompleteAttemptResponse) GetRunVersion() int64
- func (x *CompleteAttemptResponse) GetTaskVersion() int64
- func (*CompleteAttemptResponse) ProtoMessage()
- func (x *CompleteAttemptResponse) ProtoReflect() protoreflect.Message
- func (x *CompleteAttemptResponse) Reset()
- func (x *CompleteAttemptResponse) String() string
- type GetAssignmentRequest
- func (*GetAssignmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssignmentRequest) GetIdentity() *AttemptIdentity
- func (*GetAssignmentRequest) ProtoMessage()
- func (x *GetAssignmentRequest) ProtoReflect() protoreflect.Message
- func (x *GetAssignmentRequest) Reset()
- func (x *GetAssignmentRequest) String() string
- type GetAssignmentResponse
- func (*GetAssignmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAssignmentResponse) GetAssignment() *Assignment
- func (*GetAssignmentResponse) ProtoMessage()
- func (x *GetAssignmentResponse) ProtoReflect() protoreflect.Message
- func (x *GetAssignmentResponse) Reset()
- func (x *GetAssignmentResponse) String() string
- type HeartbeatRequest
- func (*HeartbeatRequest) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatRequest) GetExpectedLeaseVersion() int64
- func (x *HeartbeatRequest) GetIdempotencyKey() string
- func (x *HeartbeatRequest) GetIdentity() *AttemptIdentity
- func (x *HeartbeatRequest) GetRequestedTtlSeconds() int64
- func (*HeartbeatRequest) ProtoMessage()
- func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
- func (x *HeartbeatRequest) Reset()
- func (x *HeartbeatRequest) String() string
- type HeartbeatResponse
- func (*HeartbeatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HeartbeatResponse) GetAttemptVersion() int64
- func (x *HeartbeatResponse) GetCancelRequested() bool
- func (x *HeartbeatResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *HeartbeatResponse) GetLeaseVersion() int64
- func (*HeartbeatResponse) ProtoMessage()
- func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message
- func (x *HeartbeatResponse) Reset()
- func (x *HeartbeatResponse) String() string
- type PollAssignmentRequest
- func (*PollAssignmentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PollAssignmentRequest) GetRuntimeInstanceId() string
- func (x *PollAssignmentRequest) GetTenantId() string
- func (*PollAssignmentRequest) ProtoMessage()
- func (x *PollAssignmentRequest) ProtoReflect() protoreflect.Message
- func (x *PollAssignmentRequest) Reset()
- func (x *PollAssignmentRequest) String() string
- type PollAssignmentResponse
- func (*PollAssignmentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PollAssignmentResponse) GetAssignment() *Assignment
- func (*PollAssignmentResponse) ProtoMessage()
- func (x *PollAssignmentResponse) ProtoReflect() protoreflect.Message
- func (x *PollAssignmentResponse) Reset()
- func (x *PollAssignmentResponse) String() string
- type RuntimeControlServiceClient
- type RuntimeControlServiceServer
- type SpawnStepRequest
- func (*SpawnStepRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SpawnStepRequest) GetAgentVersionRef() string
- func (x *SpawnStepRequest) GetArgumentsJson() string
- func (x *SpawnStepRequest) GetGoal() string
- func (x *SpawnStepRequest) GetIdempotencyKey() string
- func (x *SpawnStepRequest) GetIdentity() *AttemptIdentity
- func (x *SpawnStepRequest) GetMaxAttempts() int32
- func (x *SpawnStepRequest) GetName() string
- func (x *SpawnStepRequest) GetParentStep() string
- func (x *SpawnStepRequest) GetSpecJson() string
- func (x *SpawnStepRequest) GetWorkflowId() string
- func (*SpawnStepRequest) ProtoMessage()
- func (x *SpawnStepRequest) ProtoReflect() protoreflect.Message
- func (x *SpawnStepRequest) Reset()
- func (x *SpawnStepRequest) String() string
- type SpawnStepResponse
- func (*SpawnStepResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SpawnStepResponse) GetMessage() string
- func (x *SpawnStepResponse) GetOutcome() string
- func (x *SpawnStepResponse) GetSpawnDepth() int32
- func (x *SpawnStepResponse) GetStepName() string
- func (*SpawnStepResponse) ProtoMessage()
- func (x *SpawnStepResponse) ProtoReflect() protoreflect.Message
- func (x *SpawnStepResponse) Reset()
- func (x *SpawnStepResponse) String() string
- type TransitionAttemptRequest
- func (*TransitionAttemptRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionAttemptRequest) GetExpectedAttemptVersion() int64
- func (x *TransitionAttemptRequest) GetFailureCode() string
- func (x *TransitionAttemptRequest) GetFailureMessage() string
- func (x *TransitionAttemptRequest) GetIdempotencyKey() string
- func (x *TransitionAttemptRequest) GetIdentity() *AttemptIdentity
- func (x *TransitionAttemptRequest) GetTargetPhase() AttemptPhase
- func (*TransitionAttemptRequest) ProtoMessage()
- func (x *TransitionAttemptRequest) ProtoReflect() protoreflect.Message
- func (x *TransitionAttemptRequest) Reset()
- func (x *TransitionAttemptRequest) String() string
- type TransitionAttemptResponse
- func (*TransitionAttemptResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TransitionAttemptResponse) GetAttemptVersion() int64
- func (x *TransitionAttemptResponse) GetPhase() AttemptPhase
- func (*TransitionAttemptResponse) ProtoMessage()
- func (x *TransitionAttemptResponse) ProtoReflect() protoreflect.Message
- func (x *TransitionAttemptResponse) Reset()
- func (x *TransitionAttemptResponse) String() string
- type UnimplementedRuntimeControlServiceServer
- func (UnimplementedRuntimeControlServiceServer) AcknowledgeCancellation(context.Context, *AcknowledgeCancellationRequest) (*AcknowledgeCancellationResponse, error)
- func (UnimplementedRuntimeControlServiceServer) CommitCheckpoint(context.Context, *CommitCheckpointRequest) (*CommitCheckpointResponse, error)
- func (UnimplementedRuntimeControlServiceServer) CompleteAttempt(context.Context, *CompleteAttemptRequest) (*CompleteAttemptResponse, error)
- func (UnimplementedRuntimeControlServiceServer) GetAssignment(context.Context, *GetAssignmentRequest) (*GetAssignmentResponse, error)
- func (UnimplementedRuntimeControlServiceServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
- func (UnimplementedRuntimeControlServiceServer) PollAssignment(context.Context, *PollAssignmentRequest) (*PollAssignmentResponse, error)
- func (UnimplementedRuntimeControlServiceServer) TransitionAttempt(context.Context, *TransitionAttemptRequest) (*TransitionAttemptResponse, error)
- type UnimplementedWorkflowSpawnServiceServer
- type UnsafeRuntimeControlServiceServer
- type UnsafeWorkflowSpawnServiceServer
- type WorkflowSpawnServiceClient
- type WorkflowSpawnServiceServer
Constants ¶
const ( RuntimeControlService_PollAssignment_FullMethodName = "/fenced.runtime.v1.RuntimeControlService/PollAssignment" RuntimeControlService_GetAssignment_FullMethodName = "/fenced.runtime.v1.RuntimeControlService/GetAssignment" RuntimeControlService_TransitionAttempt_FullMethodName = "/fenced.runtime.v1.RuntimeControlService/TransitionAttempt" RuntimeControlService_Heartbeat_FullMethodName = "/fenced.runtime.v1.RuntimeControlService/Heartbeat" RuntimeControlService_CommitCheckpoint_FullMethodName = "/fenced.runtime.v1.RuntimeControlService/CommitCheckpoint" RuntimeControlService_CompleteAttempt_FullMethodName = "/fenced.runtime.v1.RuntimeControlService/CompleteAttempt" RuntimeControlService_AcknowledgeCancellation_FullMethodName = "/fenced.runtime.v1.RuntimeControlService/AcknowledgeCancellation" )
const (
WorkflowSpawnService_SpawnStep_FullMethodName = "/fenced.runtime.v1.WorkflowSpawnService/SpawnStep"
)
Variables ¶
var ( AttemptPhase_name = map[int32]string{ 0: "ATTEMPT_PHASE_UNSPECIFIED", 1: "ATTEMPT_PHASE_STARTING", 2: "ATTEMPT_PHASE_RUNNING", 3: "ATTEMPT_PHASE_WAITING_TOOL", 4: "ATTEMPT_PHASE_WAITING_AGENT", 5: "ATTEMPT_PHASE_WAITING_APPROVAL", 6: "ATTEMPT_PHASE_CHECKPOINTING", 7: "ATTEMPT_PHASE_FAILED", 8: "ATTEMPT_PHASE_CANCEL_REQUESTED", 9: "ATTEMPT_PHASE_CANCELLED", } AttemptPhase_value = map[string]int32{ "ATTEMPT_PHASE_UNSPECIFIED": 0, "ATTEMPT_PHASE_STARTING": 1, "ATTEMPT_PHASE_RUNNING": 2, "ATTEMPT_PHASE_WAITING_TOOL": 3, "ATTEMPT_PHASE_WAITING_AGENT": 4, "ATTEMPT_PHASE_WAITING_APPROVAL": 5, "ATTEMPT_PHASE_CHECKPOINTING": 6, "ATTEMPT_PHASE_FAILED": 7, "ATTEMPT_PHASE_CANCEL_REQUESTED": 8, "ATTEMPT_PHASE_CANCELLED": 9, } )
Enum value maps for AttemptPhase.
var File_fenced_runtime_v1_runtime_proto protoreflect.FileDescriptor
var File_fenced_runtime_v1_spawn_proto protoreflect.FileDescriptor
var RuntimeControlService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fenced.runtime.v1.RuntimeControlService", HandlerType: (*RuntimeControlServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PollAssignment", Handler: _RuntimeControlService_PollAssignment_Handler, }, { MethodName: "GetAssignment", Handler: _RuntimeControlService_GetAssignment_Handler, }, { MethodName: "TransitionAttempt", Handler: _RuntimeControlService_TransitionAttempt_Handler, }, { MethodName: "Heartbeat", Handler: _RuntimeControlService_Heartbeat_Handler, }, { MethodName: "CommitCheckpoint", Handler: _RuntimeControlService_CommitCheckpoint_Handler, }, { MethodName: "CompleteAttempt", Handler: _RuntimeControlService_CompleteAttempt_Handler, }, { MethodName: "AcknowledgeCancellation", Handler: _RuntimeControlService_AcknowledgeCancellation_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "fenced/runtime/v1/runtime.proto", }
RuntimeControlService_ServiceDesc is the grpc.ServiceDesc for RuntimeControlService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var WorkflowSpawnService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "fenced.runtime.v1.WorkflowSpawnService", HandlerType: (*WorkflowSpawnServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SpawnStep", Handler: _WorkflowSpawnService_SpawnStep_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "fenced/runtime/v1/spawn.proto", }
WorkflowSpawnService_ServiceDesc is the grpc.ServiceDesc for WorkflowSpawnService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterRuntimeControlServiceServer ¶
func RegisterRuntimeControlServiceServer(s grpc.ServiceRegistrar, srv RuntimeControlServiceServer)
func RegisterWorkflowSpawnServiceServer ¶
func RegisterWorkflowSpawnServiceServer(s grpc.ServiceRegistrar, srv WorkflowSpawnServiceServer)
Types ¶
type AcknowledgeCancellationRequest ¶
type AcknowledgeCancellationRequest struct {
Identity *AttemptIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
ExpectedAttemptVersion int64 `` /* 130-byte string literal not displayed */
IdempotencyKey string `protobuf:"bytes,3,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
// contains filtered or unexported fields
}
func (*AcknowledgeCancellationRequest) Descriptor
deprecated
func (*AcknowledgeCancellationRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcknowledgeCancellationRequest.ProtoReflect.Descriptor instead.
func (*AcknowledgeCancellationRequest) GetExpectedAttemptVersion ¶
func (x *AcknowledgeCancellationRequest) GetExpectedAttemptVersion() int64
func (*AcknowledgeCancellationRequest) GetIdempotencyKey ¶
func (x *AcknowledgeCancellationRequest) GetIdempotencyKey() string
func (*AcknowledgeCancellationRequest) GetIdentity ¶
func (x *AcknowledgeCancellationRequest) GetIdentity() *AttemptIdentity
func (*AcknowledgeCancellationRequest) ProtoMessage ¶
func (*AcknowledgeCancellationRequest) ProtoMessage()
func (*AcknowledgeCancellationRequest) ProtoReflect ¶
func (x *AcknowledgeCancellationRequest) ProtoReflect() protoreflect.Message
func (*AcknowledgeCancellationRequest) Reset ¶
func (x *AcknowledgeCancellationRequest) Reset()
func (*AcknowledgeCancellationRequest) String ¶
func (x *AcknowledgeCancellationRequest) String() string
type AcknowledgeCancellationResponse ¶
type AcknowledgeCancellationResponse struct {
AttemptVersion int64 `protobuf:"varint,1,opt,name=attempt_version,json=attemptVersion,proto3" json:"attempt_version,omitempty"`
RunVersion int64 `protobuf:"varint,2,opt,name=run_version,json=runVersion,proto3" json:"run_version,omitempty"`
TaskVersion int64 `protobuf:"varint,3,opt,name=task_version,json=taskVersion,proto3" json:"task_version,omitempty"`
// contains filtered or unexported fields
}
func (*AcknowledgeCancellationResponse) Descriptor
deprecated
func (*AcknowledgeCancellationResponse) Descriptor() ([]byte, []int)
Deprecated: Use AcknowledgeCancellationResponse.ProtoReflect.Descriptor instead.
func (*AcknowledgeCancellationResponse) GetAttemptVersion ¶
func (x *AcknowledgeCancellationResponse) GetAttemptVersion() int64
func (*AcknowledgeCancellationResponse) GetRunVersion ¶
func (x *AcknowledgeCancellationResponse) GetRunVersion() int64
func (*AcknowledgeCancellationResponse) GetTaskVersion ¶
func (x *AcknowledgeCancellationResponse) GetTaskVersion() int64
func (*AcknowledgeCancellationResponse) ProtoMessage ¶
func (*AcknowledgeCancellationResponse) ProtoMessage()
func (*AcknowledgeCancellationResponse) ProtoReflect ¶
func (x *AcknowledgeCancellationResponse) ProtoReflect() protoreflect.Message
func (*AcknowledgeCancellationResponse) Reset ¶
func (x *AcknowledgeCancellationResponse) Reset()
func (*AcknowledgeCancellationResponse) String ¶
func (x *AcknowledgeCancellationResponse) String() string
type ArtifactReference ¶
type ArtifactReference struct {
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
SizeBytes int64 `protobuf:"varint,3,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
MediaType string `protobuf:"bytes,4,opt,name=media_type,json=mediaType,proto3" json:"media_type,omitempty"`
// contains filtered or unexported fields
}
func (*ArtifactReference) Descriptor
deprecated
func (*ArtifactReference) Descriptor() ([]byte, []int)
Deprecated: Use ArtifactReference.ProtoReflect.Descriptor instead.
func (*ArtifactReference) GetMediaType ¶
func (x *ArtifactReference) GetMediaType() string
func (*ArtifactReference) GetSha256 ¶
func (x *ArtifactReference) GetSha256() string
func (*ArtifactReference) GetSizeBytes ¶
func (x *ArtifactReference) GetSizeBytes() int64
func (*ArtifactReference) GetUri ¶
func (x *ArtifactReference) GetUri() string
func (*ArtifactReference) ProtoMessage ¶
func (*ArtifactReference) ProtoMessage()
func (*ArtifactReference) ProtoReflect ¶
func (x *ArtifactReference) ProtoReflect() protoreflect.Message
func (*ArtifactReference) Reset ¶
func (x *ArtifactReference) Reset()
func (*ArtifactReference) String ¶
func (x *ArtifactReference) String() string
type Assignment ¶
type Assignment struct {
Identity *AttemptIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
RunId string `protobuf:"bytes,2,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
AgentVersionRef string `protobuf:"bytes,4,opt,name=agent_version_ref,json=agentVersionRef,proto3" json:"agent_version_ref,omitempty"`
Goal string `protobuf:"bytes,5,opt,name=goal,proto3" json:"goal,omitempty"`
WorkloadSpecJson []byte `protobuf:"bytes,6,opt,name=workload_spec_json,json=workloadSpecJson,proto3" json:"workload_spec_json,omitempty"`
RuntimeClass string `protobuf:"bytes,7,opt,name=runtime_class,json=runtimeClass,proto3" json:"runtime_class,omitempty"`
RuntimePoolId string `protobuf:"bytes,8,opt,name=runtime_pool_id,json=runtimePoolId,proto3" json:"runtime_pool_id,omitempty"`
RuntimeInstanceId string `protobuf:"bytes,9,opt,name=runtime_instance_id,json=runtimeInstanceId,proto3" json:"runtime_instance_id,omitempty"`
AttemptVersion int64 `protobuf:"varint,10,opt,name=attempt_version,json=attemptVersion,proto3" json:"attempt_version,omitempty"`
LeaseVersion int64 `protobuf:"varint,11,opt,name=lease_version,json=leaseVersion,proto3" json:"lease_version,omitempty"`
LeaseExpiresAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=lease_expires_at,json=leaseExpiresAt,proto3" json:"lease_expires_at,omitempty"`
ResumeCheckpoint *CheckpointReference `protobuf:"bytes,13,opt,name=resume_checkpoint,json=resumeCheckpoint,proto3" json:"resume_checkpoint,omitempty"`
Phase string `protobuf:"bytes,14,opt,name=phase,proto3" json:"phase,omitempty"`
ApprovalId string `protobuf:"bytes,15,opt,name=approval_id,json=approvalId,proto3" json:"approval_id,omitempty"`
AgentVersionSpecJson []byte `` /* 126-byte string literal not displayed */
// workflow lineage of a workflow-originated task (v1.3): "workflow_id/
// step_name/version", empty for standalone tasks. The adapter injects it
// into the fenced MCP identity so fenced.task.spawn can extend the run.
WorkflowLineage string `protobuf:"bytes,17,opt,name=workflow_lineage,json=workflowLineage,proto3" json:"workflow_lineage,omitempty"`
// contains filtered or unexported fields
}
func (*Assignment) Descriptor
deprecated
func (*Assignment) Descriptor() ([]byte, []int)
Deprecated: Use Assignment.ProtoReflect.Descriptor instead.
func (*Assignment) GetAgentVersionRef ¶
func (x *Assignment) GetAgentVersionRef() string
func (*Assignment) GetAgentVersionSpecJson ¶
func (x *Assignment) GetAgentVersionSpecJson() []byte
func (*Assignment) GetApprovalId ¶
func (x *Assignment) GetApprovalId() string
func (*Assignment) GetAttemptVersion ¶
func (x *Assignment) GetAttemptVersion() int64
func (*Assignment) GetGoal ¶
func (x *Assignment) GetGoal() string
func (*Assignment) GetIdentity ¶
func (x *Assignment) GetIdentity() *AttemptIdentity
func (*Assignment) GetLeaseExpiresAt ¶
func (x *Assignment) GetLeaseExpiresAt() *timestamppb.Timestamp
func (*Assignment) GetLeaseVersion ¶
func (x *Assignment) GetLeaseVersion() int64
func (*Assignment) GetPhase ¶
func (x *Assignment) GetPhase() string
func (*Assignment) GetResumeCheckpoint ¶
func (x *Assignment) GetResumeCheckpoint() *CheckpointReference
func (*Assignment) GetRunId ¶
func (x *Assignment) GetRunId() string
func (*Assignment) GetRuntimeClass ¶
func (x *Assignment) GetRuntimeClass() string
func (*Assignment) GetRuntimeInstanceId ¶
func (x *Assignment) GetRuntimeInstanceId() string
func (*Assignment) GetRuntimePoolId ¶
func (x *Assignment) GetRuntimePoolId() string
func (*Assignment) GetTaskId ¶
func (x *Assignment) GetTaskId() string
func (*Assignment) GetWorkflowLineage ¶
func (x *Assignment) GetWorkflowLineage() string
func (*Assignment) GetWorkloadSpecJson ¶
func (x *Assignment) GetWorkloadSpecJson() []byte
func (*Assignment) ProtoMessage ¶
func (*Assignment) ProtoMessage()
func (*Assignment) ProtoReflect ¶
func (x *Assignment) ProtoReflect() protoreflect.Message
func (*Assignment) Reset ¶
func (x *Assignment) Reset()
func (*Assignment) String ¶
func (x *Assignment) String() string
type AttemptIdentity ¶
type AttemptIdentity struct {
TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
AttemptId string `protobuf:"bytes,2,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"`
FencingToken int64 `protobuf:"varint,3,opt,name=fencing_token,json=fencingToken,proto3" json:"fencing_token,omitempty"`
// contains filtered or unexported fields
}
func (*AttemptIdentity) Descriptor
deprecated
func (*AttemptIdentity) Descriptor() ([]byte, []int)
Deprecated: Use AttemptIdentity.ProtoReflect.Descriptor instead.
func (*AttemptIdentity) GetAttemptId ¶
func (x *AttemptIdentity) GetAttemptId() string
func (*AttemptIdentity) GetFencingToken ¶
func (x *AttemptIdentity) GetFencingToken() int64
func (*AttemptIdentity) GetTenantId ¶
func (x *AttemptIdentity) GetTenantId() string
func (*AttemptIdentity) ProtoMessage ¶
func (*AttemptIdentity) ProtoMessage()
func (*AttemptIdentity) ProtoReflect ¶
func (x *AttemptIdentity) ProtoReflect() protoreflect.Message
func (*AttemptIdentity) Reset ¶
func (x *AttemptIdentity) Reset()
func (*AttemptIdentity) String ¶
func (x *AttemptIdentity) String() string
type AttemptPhase ¶
type AttemptPhase int32
const ( AttemptPhase_ATTEMPT_PHASE_UNSPECIFIED AttemptPhase = 0 AttemptPhase_ATTEMPT_PHASE_STARTING AttemptPhase = 1 AttemptPhase_ATTEMPT_PHASE_RUNNING AttemptPhase = 2 AttemptPhase_ATTEMPT_PHASE_WAITING_TOOL AttemptPhase = 3 AttemptPhase_ATTEMPT_PHASE_WAITING_AGENT AttemptPhase = 4 AttemptPhase_ATTEMPT_PHASE_WAITING_APPROVAL AttemptPhase = 5 AttemptPhase_ATTEMPT_PHASE_CHECKPOINTING AttemptPhase = 6 AttemptPhase_ATTEMPT_PHASE_FAILED AttemptPhase = 7 AttemptPhase_ATTEMPT_PHASE_CANCEL_REQUESTED AttemptPhase = 8 AttemptPhase_ATTEMPT_PHASE_CANCELLED AttemptPhase = 9 )
func (AttemptPhase) Descriptor ¶
func (AttemptPhase) Descriptor() protoreflect.EnumDescriptor
func (AttemptPhase) Enum ¶
func (x AttemptPhase) Enum() *AttemptPhase
func (AttemptPhase) EnumDescriptor
deprecated
func (AttemptPhase) EnumDescriptor() ([]byte, []int)
Deprecated: Use AttemptPhase.Descriptor instead.
func (AttemptPhase) Number ¶
func (x AttemptPhase) Number() protoreflect.EnumNumber
func (AttemptPhase) String ¶
func (x AttemptPhase) String() string
func (AttemptPhase) Type ¶
func (AttemptPhase) Type() protoreflect.EnumType
type CheckpointReference ¶
type CheckpointReference struct {
CheckpointId string `protobuf:"bytes,1,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
AgentVersionRef string `protobuf:"bytes,2,opt,name=agent_version_ref,json=agentVersionRef,proto3" json:"agent_version_ref,omitempty"`
RuntimeClass string `protobuf:"bytes,3,opt,name=runtime_class,json=runtimeClass,proto3" json:"runtime_class,omitempty"`
Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
RuntimeAbi string `protobuf:"bytes,5,opt,name=runtime_abi,json=runtimeAbi,proto3" json:"runtime_abi,omitempty"`
SchemaVersion string `protobuf:"bytes,6,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
State *ArtifactReference `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
ConfirmedReceiptIds []string `protobuf:"bytes,8,rep,name=confirmed_receipt_ids,json=confirmedReceiptIds,proto3" json:"confirmed_receipt_ids,omitempty"`
EnvelopeSha256 string `protobuf:"bytes,9,opt,name=envelope_sha256,json=envelopeSha256,proto3" json:"envelope_sha256,omitempty"`
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// contains filtered or unexported fields
}
func (*CheckpointReference) Descriptor
deprecated
func (*CheckpointReference) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointReference.ProtoReflect.Descriptor instead.
func (*CheckpointReference) GetAgentVersionRef ¶
func (x *CheckpointReference) GetAgentVersionRef() string
func (*CheckpointReference) GetCheckpointId ¶
func (x *CheckpointReference) GetCheckpointId() string
func (*CheckpointReference) GetConfirmedReceiptIds ¶
func (x *CheckpointReference) GetConfirmedReceiptIds() []string
func (*CheckpointReference) GetCreatedAt ¶
func (x *CheckpointReference) GetCreatedAt() *timestamppb.Timestamp
func (*CheckpointReference) GetEnvelopeSha256 ¶
func (x *CheckpointReference) GetEnvelopeSha256() string
func (*CheckpointReference) GetProvider ¶
func (x *CheckpointReference) GetProvider() string
func (*CheckpointReference) GetRuntimeAbi ¶
func (x *CheckpointReference) GetRuntimeAbi() string
func (*CheckpointReference) GetRuntimeClass ¶
func (x *CheckpointReference) GetRuntimeClass() string
func (*CheckpointReference) GetSchemaVersion ¶
func (x *CheckpointReference) GetSchemaVersion() string
func (*CheckpointReference) GetState ¶
func (x *CheckpointReference) GetState() *ArtifactReference
func (*CheckpointReference) ProtoMessage ¶
func (*CheckpointReference) ProtoMessage()
func (*CheckpointReference) ProtoReflect ¶
func (x *CheckpointReference) ProtoReflect() protoreflect.Message
func (*CheckpointReference) Reset ¶
func (x *CheckpointReference) Reset()
func (*CheckpointReference) String ¶
func (x *CheckpointReference) String() string
type CommitCheckpointRequest ¶
type CommitCheckpointRequest struct {
Identity *AttemptIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
ExpectedAttemptVersion int64 `` /* 130-byte string literal not displayed */
IdempotencyKey string `protobuf:"bytes,3,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
CheckpointId string `protobuf:"bytes,4,opt,name=checkpoint_id,json=checkpointId,proto3" json:"checkpoint_id,omitempty"`
AgentVersionRef string `protobuf:"bytes,5,opt,name=agent_version_ref,json=agentVersionRef,proto3" json:"agent_version_ref,omitempty"`
Provider string `protobuf:"bytes,6,opt,name=provider,proto3" json:"provider,omitempty"`
RuntimeAbi string `protobuf:"bytes,7,opt,name=runtime_abi,json=runtimeAbi,proto3" json:"runtime_abi,omitempty"`
SchemaVersion string `protobuf:"bytes,8,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
State *ArtifactReference `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"`
ConfirmedReceiptIds []string `protobuf:"bytes,10,rep,name=confirmed_receipt_ids,json=confirmedReceiptIds,proto3" json:"confirmed_receipt_ids,omitempty"`
// contains filtered or unexported fields
}
func (*CommitCheckpointRequest) Descriptor
deprecated
func (*CommitCheckpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CommitCheckpointRequest.ProtoReflect.Descriptor instead.
func (*CommitCheckpointRequest) GetAgentVersionRef ¶
func (x *CommitCheckpointRequest) GetAgentVersionRef() string
func (*CommitCheckpointRequest) GetCheckpointId ¶
func (x *CommitCheckpointRequest) GetCheckpointId() string
func (*CommitCheckpointRequest) GetConfirmedReceiptIds ¶
func (x *CommitCheckpointRequest) GetConfirmedReceiptIds() []string
func (*CommitCheckpointRequest) GetExpectedAttemptVersion ¶
func (x *CommitCheckpointRequest) GetExpectedAttemptVersion() int64
func (*CommitCheckpointRequest) GetIdempotencyKey ¶
func (x *CommitCheckpointRequest) GetIdempotencyKey() string
func (*CommitCheckpointRequest) GetIdentity ¶
func (x *CommitCheckpointRequest) GetIdentity() *AttemptIdentity
func (*CommitCheckpointRequest) GetProvider ¶
func (x *CommitCheckpointRequest) GetProvider() string
func (*CommitCheckpointRequest) GetRuntimeAbi ¶
func (x *CommitCheckpointRequest) GetRuntimeAbi() string
func (*CommitCheckpointRequest) GetSchemaVersion ¶
func (x *CommitCheckpointRequest) GetSchemaVersion() string
func (*CommitCheckpointRequest) GetState ¶
func (x *CommitCheckpointRequest) GetState() *ArtifactReference
func (*CommitCheckpointRequest) ProtoMessage ¶
func (*CommitCheckpointRequest) ProtoMessage()
func (*CommitCheckpointRequest) ProtoReflect ¶
func (x *CommitCheckpointRequest) ProtoReflect() protoreflect.Message
func (*CommitCheckpointRequest) Reset ¶
func (x *CommitCheckpointRequest) Reset()
func (*CommitCheckpointRequest) String ¶
func (x *CommitCheckpointRequest) String() string
type CommitCheckpointResponse ¶
type CommitCheckpointResponse struct {
Checkpoint *CheckpointReference `protobuf:"bytes,1,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"`
AttemptVersion int64 `protobuf:"varint,2,opt,name=attempt_version,json=attemptVersion,proto3" json:"attempt_version,omitempty"`
// contains filtered or unexported fields
}
func (*CommitCheckpointResponse) Descriptor
deprecated
func (*CommitCheckpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use CommitCheckpointResponse.ProtoReflect.Descriptor instead.
func (*CommitCheckpointResponse) GetAttemptVersion ¶
func (x *CommitCheckpointResponse) GetAttemptVersion() int64
func (*CommitCheckpointResponse) GetCheckpoint ¶
func (x *CommitCheckpointResponse) GetCheckpoint() *CheckpointReference
func (*CommitCheckpointResponse) ProtoMessage ¶
func (*CommitCheckpointResponse) ProtoMessage()
func (*CommitCheckpointResponse) ProtoReflect ¶
func (x *CommitCheckpointResponse) ProtoReflect() protoreflect.Message
func (*CommitCheckpointResponse) Reset ¶
func (x *CommitCheckpointResponse) Reset()
func (*CommitCheckpointResponse) String ¶
func (x *CommitCheckpointResponse) String() string
type CompleteAttemptRequest ¶
type CompleteAttemptRequest struct {
Identity *AttemptIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
ExpectedAttemptVersion int64 `` /* 130-byte string literal not displayed */
IdempotencyKey string `protobuf:"bytes,3,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
Result *ArtifactReference `protobuf:"bytes,4,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*CompleteAttemptRequest) Descriptor
deprecated
func (*CompleteAttemptRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompleteAttemptRequest.ProtoReflect.Descriptor instead.
func (*CompleteAttemptRequest) GetExpectedAttemptVersion ¶
func (x *CompleteAttemptRequest) GetExpectedAttemptVersion() int64
func (*CompleteAttemptRequest) GetIdempotencyKey ¶
func (x *CompleteAttemptRequest) GetIdempotencyKey() string
func (*CompleteAttemptRequest) GetIdentity ¶
func (x *CompleteAttemptRequest) GetIdentity() *AttemptIdentity
func (*CompleteAttemptRequest) GetResult ¶
func (x *CompleteAttemptRequest) GetResult() *ArtifactReference
func (*CompleteAttemptRequest) ProtoMessage ¶
func (*CompleteAttemptRequest) ProtoMessage()
func (*CompleteAttemptRequest) ProtoReflect ¶
func (x *CompleteAttemptRequest) ProtoReflect() protoreflect.Message
func (*CompleteAttemptRequest) Reset ¶
func (x *CompleteAttemptRequest) Reset()
func (*CompleteAttemptRequest) String ¶
func (x *CompleteAttemptRequest) String() string
type CompleteAttemptResponse ¶
type CompleteAttemptResponse struct {
AttemptVersion int64 `protobuf:"varint,1,opt,name=attempt_version,json=attemptVersion,proto3" json:"attempt_version,omitempty"`
RunVersion int64 `protobuf:"varint,2,opt,name=run_version,json=runVersion,proto3" json:"run_version,omitempty"`
TaskVersion int64 `protobuf:"varint,3,opt,name=task_version,json=taskVersion,proto3" json:"task_version,omitempty"`
ResultRef string `protobuf:"bytes,4,opt,name=result_ref,json=resultRef,proto3" json:"result_ref,omitempty"`
// contains filtered or unexported fields
}
func (*CompleteAttemptResponse) Descriptor
deprecated
func (*CompleteAttemptResponse) Descriptor() ([]byte, []int)
Deprecated: Use CompleteAttemptResponse.ProtoReflect.Descriptor instead.
func (*CompleteAttemptResponse) GetAttemptVersion ¶
func (x *CompleteAttemptResponse) GetAttemptVersion() int64
func (*CompleteAttemptResponse) GetResultRef ¶
func (x *CompleteAttemptResponse) GetResultRef() string
func (*CompleteAttemptResponse) GetRunVersion ¶
func (x *CompleteAttemptResponse) GetRunVersion() int64
func (*CompleteAttemptResponse) GetTaskVersion ¶
func (x *CompleteAttemptResponse) GetTaskVersion() int64
func (*CompleteAttemptResponse) ProtoMessage ¶
func (*CompleteAttemptResponse) ProtoMessage()
func (*CompleteAttemptResponse) ProtoReflect ¶
func (x *CompleteAttemptResponse) ProtoReflect() protoreflect.Message
func (*CompleteAttemptResponse) Reset ¶
func (x *CompleteAttemptResponse) Reset()
func (*CompleteAttemptResponse) String ¶
func (x *CompleteAttemptResponse) String() string
type GetAssignmentRequest ¶
type GetAssignmentRequest struct {
Identity *AttemptIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
// contains filtered or unexported fields
}
func (*GetAssignmentRequest) Descriptor
deprecated
func (*GetAssignmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAssignmentRequest.ProtoReflect.Descriptor instead.
func (*GetAssignmentRequest) GetIdentity ¶
func (x *GetAssignmentRequest) GetIdentity() *AttemptIdentity
func (*GetAssignmentRequest) ProtoMessage ¶
func (*GetAssignmentRequest) ProtoMessage()
func (*GetAssignmentRequest) ProtoReflect ¶
func (x *GetAssignmentRequest) ProtoReflect() protoreflect.Message
func (*GetAssignmentRequest) Reset ¶
func (x *GetAssignmentRequest) Reset()
func (*GetAssignmentRequest) String ¶
func (x *GetAssignmentRequest) String() string
type GetAssignmentResponse ¶
type GetAssignmentResponse struct {
Assignment *Assignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"`
// contains filtered or unexported fields
}
func (*GetAssignmentResponse) Descriptor
deprecated
func (*GetAssignmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAssignmentResponse.ProtoReflect.Descriptor instead.
func (*GetAssignmentResponse) GetAssignment ¶
func (x *GetAssignmentResponse) GetAssignment() *Assignment
func (*GetAssignmentResponse) ProtoMessage ¶
func (*GetAssignmentResponse) ProtoMessage()
func (*GetAssignmentResponse) ProtoReflect ¶
func (x *GetAssignmentResponse) ProtoReflect() protoreflect.Message
func (*GetAssignmentResponse) Reset ¶
func (x *GetAssignmentResponse) Reset()
func (*GetAssignmentResponse) String ¶
func (x *GetAssignmentResponse) String() string
type HeartbeatRequest ¶
type HeartbeatRequest struct {
Identity *AttemptIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
ExpectedLeaseVersion int64 `protobuf:"varint,2,opt,name=expected_lease_version,json=expectedLeaseVersion,proto3" json:"expected_lease_version,omitempty"`
IdempotencyKey string `protobuf:"bytes,3,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
RequestedTtlSeconds int64 `protobuf:"varint,4,opt,name=requested_ttl_seconds,json=requestedTtlSeconds,proto3" json:"requested_ttl_seconds,omitempty"`
// contains filtered or unexported fields
}
func (*HeartbeatRequest) Descriptor
deprecated
func (*HeartbeatRequest) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatRequest.ProtoReflect.Descriptor instead.
func (*HeartbeatRequest) GetExpectedLeaseVersion ¶
func (x *HeartbeatRequest) GetExpectedLeaseVersion() int64
func (*HeartbeatRequest) GetIdempotencyKey ¶
func (x *HeartbeatRequest) GetIdempotencyKey() string
func (*HeartbeatRequest) GetIdentity ¶
func (x *HeartbeatRequest) GetIdentity() *AttemptIdentity
func (*HeartbeatRequest) GetRequestedTtlSeconds ¶
func (x *HeartbeatRequest) GetRequestedTtlSeconds() int64
func (*HeartbeatRequest) ProtoMessage ¶
func (*HeartbeatRequest) ProtoMessage()
func (*HeartbeatRequest) ProtoReflect ¶
func (x *HeartbeatRequest) ProtoReflect() protoreflect.Message
func (*HeartbeatRequest) Reset ¶
func (x *HeartbeatRequest) Reset()
func (*HeartbeatRequest) String ¶
func (x *HeartbeatRequest) String() string
type HeartbeatResponse ¶
type HeartbeatResponse struct {
LeaseVersion int64 `protobuf:"varint,1,opt,name=lease_version,json=leaseVersion,proto3" json:"lease_version,omitempty"`
ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
CancelRequested bool `protobuf:"varint,3,opt,name=cancel_requested,json=cancelRequested,proto3" json:"cancel_requested,omitempty"`
AttemptVersion int64 `protobuf:"varint,4,opt,name=attempt_version,json=attemptVersion,proto3" json:"attempt_version,omitempty"`
// contains filtered or unexported fields
}
func (*HeartbeatResponse) Descriptor
deprecated
func (*HeartbeatResponse) Descriptor() ([]byte, []int)
Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
func (*HeartbeatResponse) GetAttemptVersion ¶
func (x *HeartbeatResponse) GetAttemptVersion() int64
func (*HeartbeatResponse) GetCancelRequested ¶
func (x *HeartbeatResponse) GetCancelRequested() bool
func (*HeartbeatResponse) GetExpiresAt ¶
func (x *HeartbeatResponse) GetExpiresAt() *timestamppb.Timestamp
func (*HeartbeatResponse) GetLeaseVersion ¶
func (x *HeartbeatResponse) GetLeaseVersion() int64
func (*HeartbeatResponse) ProtoMessage ¶
func (*HeartbeatResponse) ProtoMessage()
func (*HeartbeatResponse) ProtoReflect ¶
func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message
func (*HeartbeatResponse) Reset ¶
func (x *HeartbeatResponse) Reset()
func (*HeartbeatResponse) String ¶
func (x *HeartbeatResponse) String() string
type PollAssignmentRequest ¶
type PollAssignmentRequest struct {
TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
RuntimeInstanceId string `protobuf:"bytes,2,opt,name=runtime_instance_id,json=runtimeInstanceId,proto3" json:"runtime_instance_id,omitempty"`
// contains filtered or unexported fields
}
func (*PollAssignmentRequest) Descriptor
deprecated
func (*PollAssignmentRequest) Descriptor() ([]byte, []int)
Deprecated: Use PollAssignmentRequest.ProtoReflect.Descriptor instead.
func (*PollAssignmentRequest) GetRuntimeInstanceId ¶
func (x *PollAssignmentRequest) GetRuntimeInstanceId() string
func (*PollAssignmentRequest) GetTenantId ¶
func (x *PollAssignmentRequest) GetTenantId() string
func (*PollAssignmentRequest) ProtoMessage ¶
func (*PollAssignmentRequest) ProtoMessage()
func (*PollAssignmentRequest) ProtoReflect ¶
func (x *PollAssignmentRequest) ProtoReflect() protoreflect.Message
func (*PollAssignmentRequest) Reset ¶
func (x *PollAssignmentRequest) Reset()
func (*PollAssignmentRequest) String ¶
func (x *PollAssignmentRequest) String() string
type PollAssignmentResponse ¶
type PollAssignmentResponse struct {
Assignment *Assignment `protobuf:"bytes,1,opt,name=assignment,proto3" json:"assignment,omitempty"`
// contains filtered or unexported fields
}
func (*PollAssignmentResponse) Descriptor
deprecated
func (*PollAssignmentResponse) Descriptor() ([]byte, []int)
Deprecated: Use PollAssignmentResponse.ProtoReflect.Descriptor instead.
func (*PollAssignmentResponse) GetAssignment ¶
func (x *PollAssignmentResponse) GetAssignment() *Assignment
func (*PollAssignmentResponse) ProtoMessage ¶
func (*PollAssignmentResponse) ProtoMessage()
func (*PollAssignmentResponse) ProtoReflect ¶
func (x *PollAssignmentResponse) ProtoReflect() protoreflect.Message
func (*PollAssignmentResponse) Reset ¶
func (x *PollAssignmentResponse) Reset()
func (*PollAssignmentResponse) String ¶
func (x *PollAssignmentResponse) String() string
type RuntimeControlServiceClient ¶
type RuntimeControlServiceClient interface {
PollAssignment(ctx context.Context, in *PollAssignmentRequest, opts ...grpc.CallOption) (*PollAssignmentResponse, error)
GetAssignment(ctx context.Context, in *GetAssignmentRequest, opts ...grpc.CallOption) (*GetAssignmentResponse, error)
TransitionAttempt(ctx context.Context, in *TransitionAttemptRequest, opts ...grpc.CallOption) (*TransitionAttemptResponse, error)
Heartbeat(ctx context.Context, in *HeartbeatRequest, opts ...grpc.CallOption) (*HeartbeatResponse, error)
CommitCheckpoint(ctx context.Context, in *CommitCheckpointRequest, opts ...grpc.CallOption) (*CommitCheckpointResponse, error)
CompleteAttempt(ctx context.Context, in *CompleteAttemptRequest, opts ...grpc.CallOption) (*CompleteAttemptResponse, error)
AcknowledgeCancellation(ctx context.Context, in *AcknowledgeCancellationRequest, opts ...grpc.CallOption) (*AcknowledgeCancellationResponse, error)
}
RuntimeControlServiceClient is the client API for RuntimeControlService 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.
RuntimeControlService is the stable, fenced worker control boundary. v1 freezes every field number and RPC name; future v1 changes are additive.
func NewRuntimeControlServiceClient ¶
func NewRuntimeControlServiceClient(cc grpc.ClientConnInterface) RuntimeControlServiceClient
type RuntimeControlServiceServer ¶
type RuntimeControlServiceServer interface {
PollAssignment(context.Context, *PollAssignmentRequest) (*PollAssignmentResponse, error)
GetAssignment(context.Context, *GetAssignmentRequest) (*GetAssignmentResponse, error)
TransitionAttempt(context.Context, *TransitionAttemptRequest) (*TransitionAttemptResponse, error)
Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
CommitCheckpoint(context.Context, *CommitCheckpointRequest) (*CommitCheckpointResponse, error)
CompleteAttempt(context.Context, *CompleteAttemptRequest) (*CompleteAttemptResponse, error)
AcknowledgeCancellation(context.Context, *AcknowledgeCancellationRequest) (*AcknowledgeCancellationResponse, error)
// contains filtered or unexported methods
}
RuntimeControlServiceServer is the server API for RuntimeControlService service. All implementations must embed UnimplementedRuntimeControlServiceServer for forward compatibility.
RuntimeControlService is the stable, fenced worker control boundary. v1 freezes every field number and RPC name; future v1 changes are additive.
type SpawnStepRequest ¶
type SpawnStepRequest struct {
// Identity is injected by the runtime worker and validated against the
// current assignment before any workflow mutation is attempted.
Identity *AttemptIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
WorkflowId string `protobuf:"bytes,2,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
// parent_step names the step whose task is spawning; its depth bounds the
// recursion guard.
ParentStep string `protobuf:"bytes,3,opt,name=parent_step,json=parentStep,proto3" json:"parent_step,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Goal string `protobuf:"bytes,5,opt,name=goal,proto3" json:"goal,omitempty"`
AgentVersionRef string `protobuf:"bytes,6,opt,name=agent_version_ref,json=agentVersionRef,proto3" json:"agent_version_ref,omitempty"`
// spec_json is the merged task spec of the spawned step.
SpecJson string `protobuf:"bytes,7,opt,name=spec_json,json=specJson,proto3" json:"spec_json,omitempty"`
MaxAttempts int32 `protobuf:"varint,8,opt,name=max_attempts,json=maxAttempts,proto3" json:"max_attempts,omitempty"`
// idempotency_key fingerprints the spawning tool call; arguments_json
// completes the spawn key (same call replays the same step).
IdempotencyKey string `protobuf:"bytes,9,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
ArgumentsJson string `protobuf:"bytes,10,opt,name=arguments_json,json=argumentsJson,proto3" json:"arguments_json,omitempty"`
// contains filtered or unexported fields
}
func (*SpawnStepRequest) Descriptor
deprecated
func (*SpawnStepRequest) Descriptor() ([]byte, []int)
Deprecated: Use SpawnStepRequest.ProtoReflect.Descriptor instead.
func (*SpawnStepRequest) GetAgentVersionRef ¶
func (x *SpawnStepRequest) GetAgentVersionRef() string
func (*SpawnStepRequest) GetArgumentsJson ¶
func (x *SpawnStepRequest) GetArgumentsJson() string
func (*SpawnStepRequest) GetGoal ¶
func (x *SpawnStepRequest) GetGoal() string
func (*SpawnStepRequest) GetIdempotencyKey ¶
func (x *SpawnStepRequest) GetIdempotencyKey() string
func (*SpawnStepRequest) GetIdentity ¶
func (x *SpawnStepRequest) GetIdentity() *AttemptIdentity
func (*SpawnStepRequest) GetMaxAttempts ¶
func (x *SpawnStepRequest) GetMaxAttempts() int32
func (*SpawnStepRequest) GetName ¶
func (x *SpawnStepRequest) GetName() string
func (*SpawnStepRequest) GetParentStep ¶
func (x *SpawnStepRequest) GetParentStep() string
func (*SpawnStepRequest) GetSpecJson ¶
func (x *SpawnStepRequest) GetSpecJson() string
func (*SpawnStepRequest) GetWorkflowId ¶
func (x *SpawnStepRequest) GetWorkflowId() string
func (*SpawnStepRequest) ProtoMessage ¶
func (*SpawnStepRequest) ProtoMessage()
func (*SpawnStepRequest) ProtoReflect ¶
func (x *SpawnStepRequest) ProtoReflect() protoreflect.Message
func (*SpawnStepRequest) Reset ¶
func (x *SpawnStepRequest) Reset()
func (*SpawnStepRequest) String ¶
func (x *SpawnStepRequest) String() string
type SpawnStepResponse ¶
type SpawnStepResponse struct {
// outcome: "created", "replayed", or a guard denial code
// (SPAWN_DEPTH_EXCEEDED, SPAWN_DYNAMIC_LIMIT_EXCEEDED, ...).
Outcome string `protobuf:"bytes,1,opt,name=outcome,proto3" json:"outcome,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
StepName string `protobuf:"bytes,3,opt,name=step_name,json=stepName,proto3" json:"step_name,omitempty"`
SpawnDepth int32 `protobuf:"varint,4,opt,name=spawn_depth,json=spawnDepth,proto3" json:"spawn_depth,omitempty"`
// contains filtered or unexported fields
}
func (*SpawnStepResponse) Descriptor
deprecated
func (*SpawnStepResponse) Descriptor() ([]byte, []int)
Deprecated: Use SpawnStepResponse.ProtoReflect.Descriptor instead.
func (*SpawnStepResponse) GetMessage ¶
func (x *SpawnStepResponse) GetMessage() string
func (*SpawnStepResponse) GetOutcome ¶
func (x *SpawnStepResponse) GetOutcome() string
func (*SpawnStepResponse) GetSpawnDepth ¶
func (x *SpawnStepResponse) GetSpawnDepth() int32
func (*SpawnStepResponse) GetStepName ¶
func (x *SpawnStepResponse) GetStepName() string
func (*SpawnStepResponse) ProtoMessage ¶
func (*SpawnStepResponse) ProtoMessage()
func (*SpawnStepResponse) ProtoReflect ¶
func (x *SpawnStepResponse) ProtoReflect() protoreflect.Message
func (*SpawnStepResponse) Reset ¶
func (x *SpawnStepResponse) Reset()
func (*SpawnStepResponse) String ¶
func (x *SpawnStepResponse) String() string
type TransitionAttemptRequest ¶
type TransitionAttemptRequest struct {
Identity *AttemptIdentity `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"`
ExpectedAttemptVersion int64 `` /* 130-byte string literal not displayed */
IdempotencyKey string `protobuf:"bytes,3,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
TargetPhase AttemptPhase `` /* 131-byte string literal not displayed */
FailureCode string `protobuf:"bytes,5,opt,name=failure_code,json=failureCode,proto3" json:"failure_code,omitempty"`
FailureMessage string `protobuf:"bytes,6,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
// contains filtered or unexported fields
}
func (*TransitionAttemptRequest) Descriptor
deprecated
func (*TransitionAttemptRequest) Descriptor() ([]byte, []int)
Deprecated: Use TransitionAttemptRequest.ProtoReflect.Descriptor instead.
func (*TransitionAttemptRequest) GetExpectedAttemptVersion ¶
func (x *TransitionAttemptRequest) GetExpectedAttemptVersion() int64
func (*TransitionAttemptRequest) GetFailureCode ¶
func (x *TransitionAttemptRequest) GetFailureCode() string
func (*TransitionAttemptRequest) GetFailureMessage ¶
func (x *TransitionAttemptRequest) GetFailureMessage() string
func (*TransitionAttemptRequest) GetIdempotencyKey ¶
func (x *TransitionAttemptRequest) GetIdempotencyKey() string
func (*TransitionAttemptRequest) GetIdentity ¶
func (x *TransitionAttemptRequest) GetIdentity() *AttemptIdentity
func (*TransitionAttemptRequest) GetTargetPhase ¶
func (x *TransitionAttemptRequest) GetTargetPhase() AttemptPhase
func (*TransitionAttemptRequest) ProtoMessage ¶
func (*TransitionAttemptRequest) ProtoMessage()
func (*TransitionAttemptRequest) ProtoReflect ¶
func (x *TransitionAttemptRequest) ProtoReflect() protoreflect.Message
func (*TransitionAttemptRequest) Reset ¶
func (x *TransitionAttemptRequest) Reset()
func (*TransitionAttemptRequest) String ¶
func (x *TransitionAttemptRequest) String() string
type TransitionAttemptResponse ¶
type TransitionAttemptResponse struct {
Phase AttemptPhase `protobuf:"varint,1,opt,name=phase,proto3,enum=fenced.runtime.v1.AttemptPhase" json:"phase,omitempty"`
AttemptVersion int64 `protobuf:"varint,2,opt,name=attempt_version,json=attemptVersion,proto3" json:"attempt_version,omitempty"`
// contains filtered or unexported fields
}
func (*TransitionAttemptResponse) Descriptor
deprecated
func (*TransitionAttemptResponse) Descriptor() ([]byte, []int)
Deprecated: Use TransitionAttemptResponse.ProtoReflect.Descriptor instead.
func (*TransitionAttemptResponse) GetAttemptVersion ¶
func (x *TransitionAttemptResponse) GetAttemptVersion() int64
func (*TransitionAttemptResponse) GetPhase ¶
func (x *TransitionAttemptResponse) GetPhase() AttemptPhase
func (*TransitionAttemptResponse) ProtoMessage ¶
func (*TransitionAttemptResponse) ProtoMessage()
func (*TransitionAttemptResponse) ProtoReflect ¶
func (x *TransitionAttemptResponse) ProtoReflect() protoreflect.Message
func (*TransitionAttemptResponse) Reset ¶
func (x *TransitionAttemptResponse) Reset()
func (*TransitionAttemptResponse) String ¶
func (x *TransitionAttemptResponse) String() string
type UnimplementedRuntimeControlServiceServer ¶
type UnimplementedRuntimeControlServiceServer struct{}
UnimplementedRuntimeControlServiceServer 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 (UnimplementedRuntimeControlServiceServer) AcknowledgeCancellation ¶
func (UnimplementedRuntimeControlServiceServer) AcknowledgeCancellation(context.Context, *AcknowledgeCancellationRequest) (*AcknowledgeCancellationResponse, error)
func (UnimplementedRuntimeControlServiceServer) CommitCheckpoint ¶
func (UnimplementedRuntimeControlServiceServer) CommitCheckpoint(context.Context, *CommitCheckpointRequest) (*CommitCheckpointResponse, error)
func (UnimplementedRuntimeControlServiceServer) CompleteAttempt ¶
func (UnimplementedRuntimeControlServiceServer) CompleteAttempt(context.Context, *CompleteAttemptRequest) (*CompleteAttemptResponse, error)
func (UnimplementedRuntimeControlServiceServer) GetAssignment ¶
func (UnimplementedRuntimeControlServiceServer) GetAssignment(context.Context, *GetAssignmentRequest) (*GetAssignmentResponse, error)
func (UnimplementedRuntimeControlServiceServer) Heartbeat ¶
func (UnimplementedRuntimeControlServiceServer) Heartbeat(context.Context, *HeartbeatRequest) (*HeartbeatResponse, error)
func (UnimplementedRuntimeControlServiceServer) PollAssignment ¶
func (UnimplementedRuntimeControlServiceServer) PollAssignment(context.Context, *PollAssignmentRequest) (*PollAssignmentResponse, error)
func (UnimplementedRuntimeControlServiceServer) TransitionAttempt ¶
func (UnimplementedRuntimeControlServiceServer) TransitionAttempt(context.Context, *TransitionAttemptRequest) (*TransitionAttemptResponse, error)
type UnimplementedWorkflowSpawnServiceServer ¶
type UnimplementedWorkflowSpawnServiceServer struct{}
UnimplementedWorkflowSpawnServiceServer 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 (UnimplementedWorkflowSpawnServiceServer) SpawnStep ¶
func (UnimplementedWorkflowSpawnServiceServer) SpawnStep(context.Context, *SpawnStepRequest) (*SpawnStepResponse, error)
type UnsafeRuntimeControlServiceServer ¶
type UnsafeRuntimeControlServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRuntimeControlServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RuntimeControlServiceServer will result in compilation errors.
type UnsafeWorkflowSpawnServiceServer ¶
type UnsafeWorkflowSpawnServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWorkflowSpawnServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkflowSpawnServiceServer will result in compilation errors.
type WorkflowSpawnServiceClient ¶
type WorkflowSpawnServiceClient interface {
// SpawnStep creates one dynamic workflow step (or replays the step an
// identical spawn already created).
SpawnStep(ctx context.Context, in *SpawnStepRequest, opts ...grpc.CallOption) (*SpawnStepResponse, error)
}
WorkflowSpawnServiceClient is the client API for WorkflowSpawnService 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.
Dynamic step spawning behind the workflow guards (v1.3). The runtime adapter calls this when a sandboxed agent invokes the brokered fenced.task.spawn system tool; every recursion, fan-out and budget guard runs inside the kernel transaction, so the response is authoritative.
func NewWorkflowSpawnServiceClient ¶
func NewWorkflowSpawnServiceClient(cc grpc.ClientConnInterface) WorkflowSpawnServiceClient
type WorkflowSpawnServiceServer ¶
type WorkflowSpawnServiceServer interface {
// SpawnStep creates one dynamic workflow step (or replays the step an
// identical spawn already created).
SpawnStep(context.Context, *SpawnStepRequest) (*SpawnStepResponse, error)
// contains filtered or unexported methods
}
WorkflowSpawnServiceServer is the server API for WorkflowSpawnService service. All implementations must embed UnimplementedWorkflowSpawnServiceServer for forward compatibility.
Dynamic step spawning behind the workflow guards (v1.3). The runtime adapter calls this when a sandboxed agent invokes the brokered fenced.task.spawn system tool; every recursion, fan-out and budget guard runs inside the kernel transaction, so the response is authoritative.