Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterControlServer(s grpc.ServiceRegistrar, srv ControlServer)
- func RegisterWorkerServiceServer(s grpc.ServiceRegistrar, srv WorkerServiceServer)
- type AccessPolicy
- func (*AccessPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *AccessPolicy) GetBindings() []*Binding
- func (x *AccessPolicy) GetMetadata() *ResourceMetadata
- func (*AccessPolicy) ProtoMessage()
- func (x *AccessPolicy) ProtoReflect() protoreflect.Message
- func (x *AccessPolicy) Reset()
- func (x *AccessPolicy) String() string
- type AcquireWorkerEpochRequest
- func (*AcquireWorkerEpochRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcquireWorkerEpochRequest) GetWorker() *ObjectRef
- func (*AcquireWorkerEpochRequest) ProtoMessage()
- func (x *AcquireWorkerEpochRequest) ProtoReflect() protoreflect.Message
- func (x *AcquireWorkerEpochRequest) Reset()
- func (x *AcquireWorkerEpochRequest) String() string
- type AcquireWorkerEpochResponse
- func (*AcquireWorkerEpochResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AcquireWorkerEpochResponse) GetEpoch() int64
- func (*AcquireWorkerEpochResponse) ProtoMessage()
- func (x *AcquireWorkerEpochResponse) ProtoReflect() protoreflect.Message
- func (x *AcquireWorkerEpochResponse) Reset()
- func (x *AcquireWorkerEpochResponse) String() string
- type Actor
- func (*Actor) Descriptor() ([]byte, []int)deprecated
- func (x *Actor) GetActorTemplate() *ObjectRef
- func (x *Actor) GetMetadata() *ResourceMetadata
- func (x *Actor) GetSourceTag() *ObjectRef
- func (x *Actor) GetStatus() *ActorStatus
- func (x *Actor) GetWorkerSelector() *Selector
- func (*Actor) ProtoMessage()
- func (x *Actor) ProtoReflect() protoreflect.Message
- func (x *Actor) Reset()
- func (x *Actor) String() string
- type ActorAssignment
- func (*ActorAssignment) Descriptor() ([]byte, []int)deprecated
- func (x *ActorAssignment) GetActor() *ObjectRef
- func (x *ActorAssignment) GetActorUid() string
- func (x *ActorAssignment) GetMetadata() *ResourceMetadata
- func (x *ActorAssignment) GetResources() *Resources
- func (*ActorAssignment) ProtoMessage()
- func (x *ActorAssignment) ProtoReflect() protoreflect.Message
- func (x *ActorAssignment) Reset()
- func (x *ActorAssignment) String() string
- type ActorCrash
- func (*ActorCrash) Descriptor() ([]byte, []int)deprecated
- func (x *ActorCrash) GetCrashTime() *timestamppb.Timestamp
- func (x *ActorCrash) GetMessage() string
- func (*ActorCrash) ProtoMessage()
- func (x *ActorCrash) ProtoReflect() protoreflect.Message
- func (x *ActorCrash) Reset()
- func (x *ActorCrash) String() string
- type ActorJwtSource
- func (*ActorJwtSource) Descriptor() ([]byte, []int)deprecated
- func (x *ActorJwtSource) GetAudiences() []string
- func (x *ActorJwtSource) GetExpirationSeconds() int64
- func (*ActorJwtSource) ProtoMessage()
- func (x *ActorJwtSource) ProtoReflect() protoreflect.Message
- func (x *ActorJwtSource) Reset()
- func (x *ActorJwtSource) String() string
- type ActorMetadataDataSource
- func (*ActorMetadataDataSource) Descriptor() ([]byte, []int)deprecated
- func (x *ActorMetadataDataSource) GetItems() []*ActorMetadataItem
- func (*ActorMetadataDataSource) ProtoMessage()
- func (x *ActorMetadataDataSource) ProtoReflect() protoreflect.Message
- func (x *ActorMetadataDataSource) Reset()
- func (x *ActorMetadataDataSource) String() string
- type ActorMetadataField
- func (ActorMetadataField) Descriptor() protoreflect.EnumDescriptor
- func (x ActorMetadataField) Enum() *ActorMetadataField
- func (ActorMetadataField) EnumDescriptor() ([]byte, []int)deprecated
- func (x ActorMetadataField) Number() protoreflect.EnumNumber
- func (x ActorMetadataField) String() string
- func (ActorMetadataField) Type() protoreflect.EnumType
- type ActorMetadataItem
- func (*ActorMetadataItem) Descriptor() ([]byte, []int)deprecated
- func (x *ActorMetadataItem) GetField() ActorMetadataField
- func (x *ActorMetadataItem) GetPath() string
- func (*ActorMetadataItem) ProtoMessage()
- func (x *ActorMetadataItem) ProtoReflect() protoreflect.Message
- func (x *ActorMetadataItem) Reset()
- func (x *ActorMetadataItem) String() string
- type ActorSandboxRuntime
- func (*ActorSandboxRuntime) Descriptor() ([]byte, []int)deprecated
- func (x *ActorSandboxRuntime) GetSandboxClass() string
- func (x *ActorSandboxRuntime) GetVersion() *VersionedSandboxCompat
- func (*ActorSandboxRuntime) ProtoMessage()
- func (x *ActorSandboxRuntime) ProtoReflect() protoreflect.Message
- func (x *ActorSandboxRuntime) Reset()
- func (x *ActorSandboxRuntime) String() string
- type ActorSnapshotState
- func (*ActorSnapshotState) Descriptor() ([]byte, []int)deprecated
- func (x *ActorSnapshotState) GetLatestDurable() *SnapshotReport
- func (x *ActorSnapshotState) GetLatestLocal() *SnapshotReport
- func (x *ActorSnapshotState) GetUploadDueTime() *timestamppb.Timestamp
- func (x *ActorSnapshotState) GetUploading() *SnapshotReport
- func (*ActorSnapshotState) ProtoMessage()
- func (x *ActorSnapshotState) ProtoReflect() protoreflect.Message
- func (x *ActorSnapshotState) Reset()
- func (x *ActorSnapshotState) String() string
- type ActorState
- type ActorStatus
- func (*ActorStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ActorStatus) GetAssignedNode() string
- func (x *ActorStatus) GetCrash() *ActorCrash
- func (x *ActorStatus) GetExternalVolumes() *ExternalVolumes
- func (x *ActorStatus) GetLastAssignedGeneration() int32
- func (x *ActorStatus) GetSnapshots() []*Snapshot
- func (x *ActorStatus) GetState() ActorState
- func (x *ActorStatus) GetWorkerAssignment() *WorkerAssignment
- func (*ActorStatus) ProtoMessage()
- func (x *ActorStatus) ProtoReflect() protoreflect.Message
- func (x *ActorStatus) Reset()
- func (x *ActorStatus) String() string
- type ActorTemplate
- func (*ActorTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *ActorTemplate) GetContainers() []*Container
- func (x *ActorTemplate) GetGoldenEgressPolicy() *EgressPolicyTemplate
- func (x *ActorTemplate) GetMetadata() *ResourceMetadata
- func (x *ActorTemplate) GetResources() *ResourceRequirements
- func (x *ActorTemplate) GetSnapshotConfig() *SnapshotConfig
- func (x *ActorTemplate) GetStatus() *ActorTemplateStatus
- func (x *ActorTemplate) GetVolumes() []*Volume
- func (x *ActorTemplate) GetWorkerSelector() *Selector
- func (*ActorTemplate) ProtoMessage()
- func (x *ActorTemplate) ProtoReflect() protoreflect.Message
- func (x *ActorTemplate) Reset()
- func (x *ActorTemplate) String() string
- type ActorTemplateStatus
- func (*ActorTemplateStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ActorTemplateStatus) GetGoldenSnapshotStatus() *GoldenSnapshotStatus
- func (*ActorTemplateStatus) ProtoMessage()
- func (x *ActorTemplateStatus) ProtoReflect() protoreflect.Message
- func (x *ActorTemplateStatus) Reset()
- func (x *ActorTemplateStatus) String() string
- type AllPorts
- type Atespace
- type AttributeEntry
- func (*AttributeEntry) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeEntry) GetKey() string
- func (x *AttributeEntry) GetValue() string
- func (*AttributeEntry) ProtoMessage()
- func (x *AttributeEntry) ProtoReflect() protoreflect.Message
- func (x *AttributeEntry) Reset()
- func (x *AttributeEntry) String() string
- type Binding
- type Capabilities
- func (*Capabilities) Descriptor() ([]byte, []int)deprecated
- func (x *Capabilities) GetAdd() []string
- func (x *Capabilities) GetDrop() []string
- func (*Capabilities) ProtoMessage()
- func (x *Capabilities) ProtoReflect() protoreflect.Message
- func (x *Capabilities) Reset()
- func (x *Capabilities) String() string
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetArgs() []string
- func (x *Container) GetCommand() []string
- func (x *Container) GetEnv() []*EnvVar
- func (x *Container) GetImage() string
- func (x *Container) GetName() string
- func (x *Container) GetResources() *ResourceRequirements
- func (x *Container) GetSecurityContext() *SecurityContext
- func (x *Container) GetVolumeMounts() []*VolumeMount
- func (x *Container) GetWakeupProbe() *WakeupProbe
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type ControlClient
- type ControlServer
- type CreateActorEgressPolicyRequest
- func (*CreateActorEgressPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActorEgressPolicyRequest) GetActor() *ObjectRef
- func (x *CreateActorEgressPolicyRequest) GetEgressPolicy() *EgressPolicy
- func (*CreateActorEgressPolicyRequest) ProtoMessage()
- func (x *CreateActorEgressPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateActorEgressPolicyRequest) Reset()
- func (x *CreateActorEgressPolicyRequest) String() string
- type CreateActorRequest
- func (*CreateActorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActorRequest) GetActor() *Actor
- func (*CreateActorRequest) ProtoMessage()
- func (x *CreateActorRequest) ProtoReflect() protoreflect.Message
- func (x *CreateActorRequest) Reset()
- func (x *CreateActorRequest) String() string
- type CreateActorTemplateRequest
- func (*CreateActorTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateActorTemplateRequest) GetActorTemplate() *ActorTemplate
- func (*CreateActorTemplateRequest) ProtoMessage()
- func (x *CreateActorTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateActorTemplateRequest) Reset()
- func (x *CreateActorTemplateRequest) String() string
- type CreateAtespaceAccessPolicyRequest
- func (*CreateAtespaceAccessPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAtespaceAccessPolicyRequest) GetAccessPolicy() *AccessPolicy
- func (x *CreateAtespaceAccessPolicyRequest) GetAtespace() *ObjectRef
- func (*CreateAtespaceAccessPolicyRequest) ProtoMessage()
- func (x *CreateAtespaceAccessPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAtespaceAccessPolicyRequest) Reset()
- func (x *CreateAtespaceAccessPolicyRequest) String() string
- type CreateAtespaceRequest
- func (*CreateAtespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAtespaceRequest) GetAtespace() *Atespace
- func (*CreateAtespaceRequest) ProtoMessage()
- func (x *CreateAtespaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAtespaceRequest) Reset()
- func (x *CreateAtespaceRequest) String() string
- type CreateGlobalAccessPolicyRequest
- func (*CreateGlobalAccessPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGlobalAccessPolicyRequest) GetAccessPolicy() *AccessPolicy
- func (*CreateGlobalAccessPolicyRequest) ProtoMessage()
- func (x *CreateGlobalAccessPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGlobalAccessPolicyRequest) Reset()
- func (x *CreateGlobalAccessPolicyRequest) String() string
- type CreateTagRequest
- type CreateWorkerRequest
- func (*CreateWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWorkerRequest) GetWorker() *Worker
- func (*CreateWorkerRequest) ProtoMessage()
- func (x *CreateWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWorkerRequest) Reset()
- func (x *CreateWorkerRequest) String() string
- type CredentialHeader
- func (*CredentialHeader) Descriptor() ([]byte, []int)deprecated
- func (x *CredentialHeader) GetActorJwt() *ActorJwtSource
- func (x *CredentialHeader) GetCredentialUri() string
- func (x *CredentialHeader) GetHeader() string
- func (x *CredentialHeader) GetPrefix() string
- func (*CredentialHeader) ProtoMessage()
- func (x *CredentialHeader) ProtoReflect() protoreflect.Message
- func (x *CredentialHeader) Reset()
- func (x *CredentialHeader) String() string
- type DeleteActorEgressPolicyRequest
- func (*DeleteActorEgressPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteActorEgressPolicyRequest) GetActor() *ObjectRef
- func (x *DeleteActorEgressPolicyRequest) GetName() string
- func (x *DeleteActorEgressPolicyRequest) GetOptions() *DeleteOptions
- func (*DeleteActorEgressPolicyRequest) ProtoMessage()
- func (x *DeleteActorEgressPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteActorEgressPolicyRequest) Reset()
- func (x *DeleteActorEgressPolicyRequest) String() string
- type DeleteActorRequest
- func (*DeleteActorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteActorRequest) GetActor() *ObjectRef
- func (x *DeleteActorRequest) GetOptions() *DeleteOptions
- func (*DeleteActorRequest) ProtoMessage()
- func (x *DeleteActorRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteActorRequest) Reset()
- func (x *DeleteActorRequest) String() string
- type DeleteActorTemplateRequest
- func (*DeleteActorTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteActorTemplateRequest) GetActorTemplate() *ObjectRef
- func (x *DeleteActorTemplateRequest) GetOptions() *DeleteOptions
- func (*DeleteActorTemplateRequest) ProtoMessage()
- func (x *DeleteActorTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteActorTemplateRequest) Reset()
- func (x *DeleteActorTemplateRequest) String() string
- type DeleteAtespaceAccessPolicyRequest
- func (*DeleteAtespaceAccessPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAtespaceAccessPolicyRequest) GetAtespace() *ObjectRef
- func (x *DeleteAtespaceAccessPolicyRequest) GetName() string
- func (x *DeleteAtespaceAccessPolicyRequest) GetOptions() *DeleteOptions
- func (*DeleteAtespaceAccessPolicyRequest) ProtoMessage()
- func (x *DeleteAtespaceAccessPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAtespaceAccessPolicyRequest) Reset()
- func (x *DeleteAtespaceAccessPolicyRequest) String() string
- type DeleteAtespaceRequest
- func (*DeleteAtespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAtespaceRequest) GetAtespace() *ObjectRef
- func (x *DeleteAtespaceRequest) GetOptions() *DeleteOptions
- func (*DeleteAtespaceRequest) ProtoMessage()
- func (x *DeleteAtespaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteAtespaceRequest) Reset()
- func (x *DeleteAtespaceRequest) String() string
- type DeleteOptions
- func (*DeleteOptions) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteOptions) GetUid() string
- func (x *DeleteOptions) GetVersion() int64
- func (*DeleteOptions) ProtoMessage()
- func (x *DeleteOptions) ProtoReflect() protoreflect.Message
- func (x *DeleteOptions) Reset()
- func (x *DeleteOptions) String() string
- type DeleteTagRequest
- func (*DeleteTagRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTagRequest) GetOptions() *DeleteOptions
- func (x *DeleteTagRequest) GetTag() *ObjectRef
- func (*DeleteTagRequest) ProtoMessage()
- func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteTagRequest) Reset()
- func (x *DeleteTagRequest) String() string
- type DeleteWorkerRequest
- func (*DeleteWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteWorkerRequest) GetOptions() *DeleteOptions
- func (x *DeleteWorkerRequest) GetWorker() *ObjectRef
- func (*DeleteWorkerRequest) ProtoMessage()
- func (x *DeleteWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteWorkerRequest) Reset()
- func (x *DeleteWorkerRequest) String() string
- type DrainWorkerRequest
- func (*DrainWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DrainWorkerRequest) GetWorker() *ObjectRef
- func (*DrainWorkerRequest) ProtoMessage()
- func (x *DrainWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *DrainWorkerRequest) Reset()
- func (x *DrainWorkerRequest) String() string
- type DrainWorkerResponse
- func (*DrainWorkerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DrainWorkerResponse) GetWorker() *Worker
- func (*DrainWorkerResponse) ProtoMessage()
- func (x *DrainWorkerResponse) ProtoReflect() protoreflect.Message
- func (x *DrainWorkerResponse) Reset()
- func (x *DrainWorkerResponse) String() string
- type DurabilityMode
- func (DurabilityMode) Descriptor() protoreflect.EnumDescriptor
- func (x DurabilityMode) Enum() *DurabilityMode
- func (DurabilityMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x DurabilityMode) Number() protoreflect.EnumNumber
- func (x DurabilityMode) String() string
- func (DurabilityMode) Type() protoreflect.EnumType
- type DurableDirVolumeSource
- type EgressPolicy
- func (*EgressPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *EgressPolicy) GetMetadata() *ResourceMetadata
- func (x *EgressPolicy) GetRules() []*EgressRule
- func (*EgressPolicy) ProtoMessage()
- func (x *EgressPolicy) ProtoReflect() protoreflect.Message
- func (x *EgressPolicy) Reset()
- func (x *EgressPolicy) String() string
- type EgressPolicyTemplate
- func (*EgressPolicyTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *EgressPolicyTemplate) GetRules() []*EgressRule
- func (*EgressPolicyTemplate) ProtoMessage()
- func (x *EgressPolicyTemplate) ProtoReflect() protoreflect.Message
- func (x *EgressPolicyTemplate) Reset()
- func (x *EgressPolicyTemplate) String() string
- type EgressRule
- func (*EgressRule) Descriptor() ([]byte, []int)deprecated
- func (x *EgressRule) GetHttp() *HttpRule
- func (x *EgressRule) GetHttps() *HttpsRule
- func (x *EgressRule) GetTlsPassthrough() *TlsPassthroughRule
- func (*EgressRule) ProtoMessage()
- func (x *EgressRule) ProtoReflect() protoreflect.Message
- func (x *EgressRule) Reset()
- func (x *EgressRule) String() string
- type EnvVar
- type ExternalVolumeSource
- func (*ExternalVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalVolumeSource) GetTemplate() *ExternalVolumeTemplate
- func (*ExternalVolumeSource) ProtoMessage()
- func (x *ExternalVolumeSource) ProtoReflect() protoreflect.Message
- func (x *ExternalVolumeSource) Reset()
- func (x *ExternalVolumeSource) String() string
- type ExternalVolumeStatus
- func (*ExternalVolumeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalVolumeStatus) GetName() string
- func (x *ExternalVolumeStatus) GetStorageVolumeId() string
- func (x *ExternalVolumeStatus) GetVolumeContext() map[string]string
- func (x *ExternalVolumeStatus) GetVolumeType() string
- func (*ExternalVolumeStatus) ProtoMessage()
- func (x *ExternalVolumeStatus) ProtoReflect() protoreflect.Message
- func (x *ExternalVolumeStatus) Reset()
- func (x *ExternalVolumeStatus) String() string
- type ExternalVolumeTemplate
- func (*ExternalVolumeTemplate) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalVolumeTemplate) GetCapacityBytes() int64
- func (x *ExternalVolumeTemplate) GetStorageClassName() string
- func (*ExternalVolumeTemplate) ProtoMessage()
- func (x *ExternalVolumeTemplate) ProtoReflect() protoreflect.Message
- func (x *ExternalVolumeTemplate) Reset()
- func (x *ExternalVolumeTemplate) String() string
- type ExternalVolumes
- func (*ExternalVolumes) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalVolumes) GetVolumes() []*ExternalVolumeStatus
- func (*ExternalVolumes) ProtoMessage()
- func (x *ExternalVolumes) ProtoReflect() protoreflect.Message
- func (x *ExternalVolumes) Reset()
- func (x *ExternalVolumes) String() string
- type GetActorEgressPolicyRequest
- func (*GetActorEgressPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActorEgressPolicyRequest) GetActor() *ObjectRef
- func (x *GetActorEgressPolicyRequest) GetName() string
- func (*GetActorEgressPolicyRequest) ProtoMessage()
- func (x *GetActorEgressPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetActorEgressPolicyRequest) Reset()
- func (x *GetActorEgressPolicyRequest) String() string
- type GetActorRequest
- type GetActorTemplateRequest
- func (*GetActorTemplateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActorTemplateRequest) GetActorTemplate() *ObjectRef
- func (*GetActorTemplateRequest) ProtoMessage()
- func (x *GetActorTemplateRequest) ProtoReflect() protoreflect.Message
- func (x *GetActorTemplateRequest) Reset()
- func (x *GetActorTemplateRequest) String() string
- type GetAtespaceAccessPolicyRequest
- func (*GetAtespaceAccessPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAtespaceAccessPolicyRequest) GetAtespace() *ObjectRef
- func (x *GetAtespaceAccessPolicyRequest) GetName() string
- func (*GetAtespaceAccessPolicyRequest) ProtoMessage()
- func (x *GetAtespaceAccessPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetAtespaceAccessPolicyRequest) Reset()
- func (x *GetAtespaceAccessPolicyRequest) String() string
- type GetAtespaceRequest
- func (*GetAtespaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAtespaceRequest) GetAtespace() *ObjectRef
- func (*GetAtespaceRequest) ProtoMessage()
- func (x *GetAtespaceRequest) ProtoReflect() protoreflect.Message
- func (x *GetAtespaceRequest) Reset()
- func (x *GetAtespaceRequest) String() string
- type GetGlobalAccessPolicyRequest
- func (*GetGlobalAccessPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetGlobalAccessPolicyRequest) GetName() string
- func (*GetGlobalAccessPolicyRequest) ProtoMessage()
- func (x *GetGlobalAccessPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *GetGlobalAccessPolicyRequest) Reset()
- func (x *GetGlobalAccessPolicyRequest) String() string
- type GetTagRequest
- type GetWorkerRequest
- type GoldenSnapshotConfig
- func (*GoldenSnapshotConfig) Descriptor() ([]byte, []int)deprecated
- func (x *GoldenSnapshotConfig) GetMode() GoldenSnapshotMode
- func (*GoldenSnapshotConfig) ProtoMessage()
- func (x *GoldenSnapshotConfig) ProtoReflect() protoreflect.Message
- func (x *GoldenSnapshotConfig) Reset()
- func (x *GoldenSnapshotConfig) String() string
- type GoldenSnapshotMode
- func (GoldenSnapshotMode) Descriptor() protoreflect.EnumDescriptor
- func (x GoldenSnapshotMode) Enum() *GoldenSnapshotMode
- func (GoldenSnapshotMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x GoldenSnapshotMode) Number() protoreflect.EnumNumber
- func (x GoldenSnapshotMode) String() string
- func (GoldenSnapshotMode) Type() protoreflect.EnumType
- type GoldenSnapshotStatus
- func (*GoldenSnapshotStatus) Descriptor() ([]byte, []int)deprecated
- func (x *GoldenSnapshotStatus) GetErrorMessage() string
- func (x *GoldenSnapshotStatus) GetGoldenTag() *ObjectRef
- func (x *GoldenSnapshotStatus) GetSnapshotTime() *timestamppb.Timestamp
- func (*GoldenSnapshotStatus) ProtoMessage()
- func (x *GoldenSnapshotStatus) ProtoReflect() protoreflect.Message
- func (x *GoldenSnapshotStatus) Reset()
- func (x *GoldenSnapshotStatus) String() string
- type HttpGetAction
- func (*HttpGetAction) Descriptor() ([]byte, []int)deprecated
- func (x *HttpGetAction) GetPath() string
- func (x *HttpGetAction) GetPort() int32
- func (*HttpGetAction) ProtoMessage()
- func (x *HttpGetAction) ProtoReflect() protoreflect.Message
- func (x *HttpGetAction) Reset()
- func (x *HttpGetAction) String() string
- type HttpRule
- func (*HttpRule) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRule) GetEffects() *HttpRuleEffects
- func (x *HttpRule) GetHostnames() []string
- func (x *HttpRule) GetPorts() *Ports
- func (*HttpRule) ProtoMessage()
- func (x *HttpRule) ProtoReflect() protoreflect.Message
- func (x *HttpRule) Reset()
- func (x *HttpRule) String() string
- type HttpRuleEffects
- func (*HttpRuleEffects) Descriptor() ([]byte, []int)deprecated
- func (x *HttpRuleEffects) GetReplaceHeaders() []*CredentialHeader
- func (*HttpRuleEffects) ProtoMessage()
- func (x *HttpRuleEffects) ProtoReflect() protoreflect.Message
- func (x *HttpRuleEffects) Reset()
- func (x *HttpRuleEffects) String() string
- type HttpsRule
- func (*HttpsRule) Descriptor() ([]byte, []int)deprecated
- func (x *HttpsRule) GetEffects() *HttpRuleEffects
- func (x *HttpsRule) GetHostnames() []string
- func (x *HttpsRule) GetPorts() *Ports
- func (*HttpsRule) ProtoMessage()
- func (x *HttpsRule) ProtoReflect() protoreflect.Message
- func (x *HttpsRule) Reset()
- func (x *HttpsRule) String() string
- type ImageVolumeSource
- type ListActorTemplatesRequest
- func (*ListActorTemplatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListActorTemplatesRequest) GetAtespace() string
- func (x *ListActorTemplatesRequest) GetOptions() *ListOptions
- func (*ListActorTemplatesRequest) ProtoMessage()
- func (x *ListActorTemplatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListActorTemplatesRequest) Reset()
- func (x *ListActorTemplatesRequest) String() string
- type ListActorTemplatesResponse
- func (*ListActorTemplatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListActorTemplatesResponse) GetActorTemplates() []*ActorTemplate
- func (x *ListActorTemplatesResponse) GetNextPageToken() string
- func (*ListActorTemplatesResponse) ProtoMessage()
- func (x *ListActorTemplatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListActorTemplatesResponse) Reset()
- func (x *ListActorTemplatesResponse) String() string
- type ListActorsRequest
- func (*ListActorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListActorsRequest) GetAtespace() string
- func (x *ListActorsRequest) GetOptions() *ListOptions
- func (*ListActorsRequest) ProtoMessage()
- func (x *ListActorsRequest) ProtoReflect() protoreflect.Message
- func (x *ListActorsRequest) Reset()
- func (x *ListActorsRequest) String() string
- type ListActorsResponse
- func (*ListActorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListActorsResponse) GetActors() []*Actor
- func (x *ListActorsResponse) GetNextPageToken() string
- func (*ListActorsResponse) ProtoMessage()
- func (x *ListActorsResponse) ProtoReflect() protoreflect.Message
- func (x *ListActorsResponse) Reset()
- func (x *ListActorsResponse) String() string
- type ListAtespacesRequest
- func (*ListAtespacesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAtespacesRequest) GetOptions() *ListOptions
- func (*ListAtespacesRequest) ProtoMessage()
- func (x *ListAtespacesRequest) ProtoReflect() protoreflect.Message
- func (x *ListAtespacesRequest) Reset()
- func (x *ListAtespacesRequest) String() string
- type ListAtespacesResponse
- func (*ListAtespacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAtespacesResponse) GetAtespaces() []*Atespace
- func (x *ListAtespacesResponse) GetNextPageToken() string
- func (*ListAtespacesResponse) ProtoMessage()
- func (x *ListAtespacesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAtespacesResponse) Reset()
- func (x *ListAtespacesResponse) String() string
- type ListOptions
- func (*ListOptions) Descriptor() ([]byte, []int)deprecated
- func (x *ListOptions) GetPageSize() int32
- func (x *ListOptions) GetPageToken() string
- func (*ListOptions) ProtoMessage()
- func (x *ListOptions) ProtoReflect() protoreflect.Message
- func (x *ListOptions) Reset()
- func (x *ListOptions) String() string
- type ListTagsRequest
- func (*ListTagsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagsRequest) GetAtespace() string
- func (x *ListTagsRequest) GetOptions() *ListOptions
- func (*ListTagsRequest) ProtoMessage()
- func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTagsRequest) Reset()
- func (x *ListTagsRequest) String() string
- type ListTagsResponse
- func (*ListTagsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTagsResponse) GetNextPageToken() string
- func (x *ListTagsResponse) GetTags() []*Tag
- func (*ListTagsResponse) ProtoMessage()
- func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTagsResponse) Reset()
- func (x *ListTagsResponse) String() string
- type ListWorkerActorAssignmentsRequest
- func (*ListWorkerActorAssignmentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerActorAssignmentsRequest) GetOptions() *ListOptions
- func (x *ListWorkerActorAssignmentsRequest) GetWorker() *ObjectRef
- func (*ListWorkerActorAssignmentsRequest) ProtoMessage()
- func (x *ListWorkerActorAssignmentsRequest) ProtoReflect() protoreflect.Message
- func (x *ListWorkerActorAssignmentsRequest) Reset()
- func (x *ListWorkerActorAssignmentsRequest) String() string
- type ListWorkerActorAssignmentsResponse
- func (*ListWorkerActorAssignmentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkerActorAssignmentsResponse) GetActorAssignments() []*ActorAssignment
- func (x *ListWorkerActorAssignmentsResponse) GetNextPageToken() string
- func (*ListWorkerActorAssignmentsResponse) ProtoMessage()
- func (x *ListWorkerActorAssignmentsResponse) ProtoReflect() protoreflect.Message
- func (x *ListWorkerActorAssignmentsResponse) Reset()
- func (x *ListWorkerActorAssignmentsResponse) String() string
- type ListWorkersRequest
- func (*ListWorkersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkersRequest) GetOptions() *ListOptions
- func (*ListWorkersRequest) ProtoMessage()
- func (x *ListWorkersRequest) ProtoReflect() protoreflect.Message
- func (x *ListWorkersRequest) Reset()
- func (x *ListWorkersRequest) String() string
- type ListWorkersResponse
- func (*ListWorkersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListWorkersResponse) GetNextPageToken() string
- func (x *ListWorkersResponse) GetWorkers() []*Worker
- func (*ListWorkersResponse) ProtoMessage()
- func (x *ListWorkersResponse) ProtoReflect() protoreflect.Message
- func (x *ListWorkersResponse) Reset()
- func (x *ListWorkersResponse) String() string
- type MarkWorkerAvailableRequest
- func (*MarkWorkerAvailableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarkWorkerAvailableRequest) GetWorker() *ObjectRef
- func (*MarkWorkerAvailableRequest) ProtoMessage()
- func (x *MarkWorkerAvailableRequest) ProtoReflect() protoreflect.Message
- func (x *MarkWorkerAvailableRequest) Reset()
- func (x *MarkWorkerAvailableRequest) String() string
- type MarkWorkerAvailableResponse
- func (*MarkWorkerAvailableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MarkWorkerAvailableResponse) GetWorker() *Worker
- func (*MarkWorkerAvailableResponse) ProtoMessage()
- func (x *MarkWorkerAvailableResponse) ProtoReflect() protoreflect.Message
- func (x *MarkWorkerAvailableResponse) Reset()
- func (x *MarkWorkerAvailableResponse) String() string
- type MarkWorkerUnavailableRequest
- func (*MarkWorkerUnavailableRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MarkWorkerUnavailableRequest) GetWorker() *ObjectRef
- func (*MarkWorkerUnavailableRequest) ProtoMessage()
- func (x *MarkWorkerUnavailableRequest) ProtoReflect() protoreflect.Message
- func (x *MarkWorkerUnavailableRequest) Reset()
- func (x *MarkWorkerUnavailableRequest) String() string
- type MarkWorkerUnavailableResponse
- func (*MarkWorkerUnavailableResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MarkWorkerUnavailableResponse) GetWorker() *Worker
- func (*MarkWorkerUnavailableResponse) ProtoMessage()
- func (x *MarkWorkerUnavailableResponse) ProtoReflect() protoreflect.Message
- func (x *MarkWorkerUnavailableResponse) Reset()
- func (x *MarkWorkerUnavailableResponse) String() string
- type MethodAnnotation
- type MintActorJwtRequest
- func (*MintActorJwtRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MintActorJwtRequest) GetActor() *ObjectRef
- func (x *MintActorJwtRequest) GetAudiences() []string
- func (x *MintActorJwtRequest) GetExpirationSeconds() int64
- func (*MintActorJwtRequest) ProtoMessage()
- func (x *MintActorJwtRequest) ProtoReflect() protoreflect.Message
- func (x *MintActorJwtRequest) Reset()
- func (x *MintActorJwtRequest) String() string
- type MintActorJwtResponse
- func (*MintActorJwtResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MintActorJwtResponse) GetActorJwt() string
- func (x *MintActorJwtResponse) GetExpireTime() *timestamppb.Timestamp
- func (*MintActorJwtResponse) ProtoMessage()
- func (x *MintActorJwtResponse) ProtoReflect() protoreflect.Message
- func (x *MintActorJwtResponse) Reset()
- func (x *MintActorJwtResponse) String() string
- type MintWorkerActorCertificateRequest
- func (*MintWorkerActorCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MintWorkerActorCertificateRequest) GetActor() *ObjectRef
- func (x *MintWorkerActorCertificateRequest) GetActorUid() string
- func (x *MintWorkerActorCertificateRequest) GetCertificateSigningRequest() []byte
- func (x *MintWorkerActorCertificateRequest) GetWorker() *ObjectRef
- func (*MintWorkerActorCertificateRequest) ProtoMessage()
- func (x *MintWorkerActorCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *MintWorkerActorCertificateRequest) Reset()
- func (x *MintWorkerActorCertificateRequest) String() string
- type MintWorkerActorCertificateResponse
- func (*MintWorkerActorCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MintWorkerActorCertificateResponse) GetActorCertificates() [][]byte
- func (*MintWorkerActorCertificateResponse) ProtoMessage()
- func (x *MintWorkerActorCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *MintWorkerActorCertificateResponse) Reset()
- func (x *MintWorkerActorCertificateResponse) String() string
- type MintWorkerActorJwtRequest
- func (*MintWorkerActorJwtRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MintWorkerActorJwtRequest) GetActor() *ObjectRef
- func (x *MintWorkerActorJwtRequest) GetActorUid() string
- func (x *MintWorkerActorJwtRequest) GetAudiences() []string
- func (*MintWorkerActorJwtRequest) ProtoMessage()
- func (x *MintWorkerActorJwtRequest) ProtoReflect() protoreflect.Message
- func (x *MintWorkerActorJwtRequest) Reset()
- func (x *MintWorkerActorJwtRequest) String() string
- type MintWorkerActorJwtResponse
- func (*MintWorkerActorJwtResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MintWorkerActorJwtResponse) GetActorJwt() string
- func (x *MintWorkerActorJwtResponse) GetExpireTime() *timestamppb.Timestamp
- func (*MintWorkerActorJwtResponse) ProtoMessage()
- func (x *MintWorkerActorJwtResponse) ProtoReflect() protoreflect.Message
- func (x *MintWorkerActorJwtResponse) Reset()
- func (x *MintWorkerActorJwtResponse) String() string
- type ObjectRef
- type ObjectSnapshot
- type Ports
- type RegisterWorkerRequest
- func (*RegisterWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterWorkerRequest) GetCapacity() *WorkerResources
- func (x *RegisterWorkerRequest) GetEpoch() int64
- func (x *RegisterWorkerRequest) GetIps() []string
- func (x *RegisterWorkerRequest) GetWorker() *ObjectRef
- func (*RegisterWorkerRequest) ProtoMessage()
- func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterWorkerRequest) Reset()
- func (x *RegisterWorkerRequest) String() string
- type RegisterWorkerResponse
- func (*RegisterWorkerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterWorkerResponse) GetWorker() *Worker
- func (*RegisterWorkerResponse) ProtoMessage()
- func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterWorkerResponse) Reset()
- func (x *RegisterWorkerResponse) String() string
- type ReportActorCrashedRequest
- func (*ReportActorCrashedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportActorCrashedRequest) GetActor() *ObjectRef
- func (x *ReportActorCrashedRequest) GetActorUid() string
- func (x *ReportActorCrashedRequest) GetMessage() string
- func (x *ReportActorCrashedRequest) GetWorker() *ObjectRef
- func (*ReportActorCrashedRequest) ProtoMessage()
- func (x *ReportActorCrashedRequest) ProtoReflect() protoreflect.Message
- func (x *ReportActorCrashedRequest) Reset()
- func (x *ReportActorCrashedRequest) String() string
- type ReportActorCrashedResponse
- func (*ReportActorCrashedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReportActorCrashedResponse) GetActor() *Actor
- func (*ReportActorCrashedResponse) ProtoMessage()
- func (x *ReportActorCrashedResponse) ProtoReflect() protoreflect.Message
- func (x *ReportActorCrashedResponse) Reset()
- func (x *ReportActorCrashedResponse) String() string
- type ReportActorSnapshotStateRequest
- func (*ReportActorSnapshotStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReportActorSnapshotStateRequest) GetActor() *ObjectRef
- func (x *ReportActorSnapshotStateRequest) GetActorUid() string
- func (x *ReportActorSnapshotStateRequest) GetState() *ActorSnapshotState
- func (*ReportActorSnapshotStateRequest) ProtoMessage()
- func (x *ReportActorSnapshotStateRequest) ProtoReflect() protoreflect.Message
- func (x *ReportActorSnapshotStateRequest) Reset()
- func (x *ReportActorSnapshotStateRequest) String() string
- type ReportActorSnapshotStateResponse
- func (*ReportActorSnapshotStateResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReportActorSnapshotStateResponse) ProtoMessage()
- func (x *ReportActorSnapshotStateResponse) ProtoReflect() protoreflect.Message
- func (x *ReportActorSnapshotStateResponse) Reset()
- func (x *ReportActorSnapshotStateResponse) String() string
- type RequestActorSuspendRequest
- func (*RequestActorSuspendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RequestActorSuspendRequest) GetActor() *ObjectRef
- func (x *RequestActorSuspendRequest) GetActorUid() string
- func (x *RequestActorSuspendRequest) GetWorker() *ObjectRef
- func (*RequestActorSuspendRequest) ProtoMessage()
- func (x *RequestActorSuspendRequest) ProtoReflect() protoreflect.Message
- func (x *RequestActorSuspendRequest) Reset()
- func (x *RequestActorSuspendRequest) String() string
- type RequestActorSuspendResponse
- func (*RequestActorSuspendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RequestActorSuspendResponse) GetActor() *Actor
- func (*RequestActorSuspendResponse) ProtoMessage()
- func (x *RequestActorSuspendResponse) ProtoReflect() protoreflect.Message
- func (x *RequestActorSuspendResponse) Reset()
- func (x *RequestActorSuspendResponse) String() string
- type ResourceAnnotation
- func (*ResourceAnnotation) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceAnnotation) GetParents() []string
- func (x *ResourceAnnotation) GetPlural() string
- func (x *ResourceAnnotation) GetScope() Scope
- func (x *ResourceAnnotation) GetSingleton() bool
- func (*ResourceAnnotation) ProtoMessage()
- func (x *ResourceAnnotation) ProtoReflect() protoreflect.Message
- func (x *ResourceAnnotation) Reset()
- func (x *ResourceAnnotation) String() string
- type ResourceMetadata
- func (*ResourceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceMetadata) GetAtespace() string
- func (x *ResourceMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *ResourceMetadata) GetDeleteTime() *timestamppb.Timestamp
- func (x *ResourceMetadata) GetName() string
- func (x *ResourceMetadata) GetUid() string
- func (x *ResourceMetadata) GetUpdateTime() *timestamppb.Timestamp
- func (x *ResourceMetadata) GetVersion() int64
- func (*ResourceMetadata) ProtoMessage()
- func (x *ResourceMetadata) ProtoReflect() protoreflect.Message
- func (x *ResourceMetadata) Reset()
- func (x *ResourceMetadata) String() string
- type ResourceRequirements
- func (*ResourceRequirements) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceRequirements) GetLimits() *Resources
- func (*ResourceRequirements) ProtoMessage()
- func (x *ResourceRequirements) ProtoReflect() protoreflect.Message
- func (x *ResourceRequirements) Reset()
- func (x *ResourceRequirements) String() string
- type Resources
- type ResumeActorRequest
- func (*ResumeActorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeActorRequest) GetActor() *ObjectRef
- func (*ResumeActorRequest) ProtoMessage()
- func (x *ResumeActorRequest) ProtoReflect() protoreflect.Message
- func (x *ResumeActorRequest) Reset()
- func (x *ResumeActorRequest) String() string
- type ResumeActorResponse
- func (*ResumeActorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ResumeActorResponse) GetActor() *Actor
- func (x *ResumeActorResponse) GetResumed() bool
- func (*ResumeActorResponse) ProtoMessage()
- func (x *ResumeActorResponse) ProtoReflect() protoreflect.Message
- func (x *ResumeActorResponse) Reset()
- func (x *ResumeActorResponse) String() string
- type RevertActorRequest
- func (*RevertActorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevertActorRequest) GetActor() *ObjectRef
- func (*RevertActorRequest) ProtoMessage()
- func (x *RevertActorRequest) ProtoReflect() protoreflect.Message
- func (x *RevertActorRequest) Reset()
- func (x *RevertActorRequest) String() string
- type RevertActorResponse
- func (*RevertActorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RevertActorResponse) GetActor() *Actor
- func (*RevertActorResponse) ProtoMessage()
- func (x *RevertActorResponse) ProtoReflect() protoreflect.Message
- func (x *RevertActorResponse) Reset()
- func (x *RevertActorResponse) String() string
- type RuntimeOverhead
- func (*RuntimeOverhead) Descriptor() ([]byte, []int)deprecated
- func (x *RuntimeOverhead) GetMemoryBytes() int64
- func (x *RuntimeOverhead) GetMemoryBytesPerGib() int64
- func (*RuntimeOverhead) ProtoMessage()
- func (x *RuntimeOverhead) ProtoReflect() protoreflect.Message
- func (x *RuntimeOverhead) Reset()
- func (x *RuntimeOverhead) String() string
- type Scope
- type SecurityContext
- type Selector
- type SetWorkerSandboxRuntimesRequest
- func (*SetWorkerSandboxRuntimesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetWorkerSandboxRuntimesRequest) GetEpoch() int64
- func (x *SetWorkerSandboxRuntimesRequest) GetSandboxClasses() []*WorkerSandboxClass
- func (x *SetWorkerSandboxRuntimesRequest) GetWorker() *ObjectRef
- func (*SetWorkerSandboxRuntimesRequest) ProtoMessage()
- func (x *SetWorkerSandboxRuntimesRequest) ProtoReflect() protoreflect.Message
- func (x *SetWorkerSandboxRuntimesRequest) Reset()
- func (x *SetWorkerSandboxRuntimesRequest) String() string
- type SetWorkerSandboxRuntimesResponse
- func (*SetWorkerSandboxRuntimesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetWorkerSandboxRuntimesResponse) GetWorker() *Worker
- func (*SetWorkerSandboxRuntimesResponse) ProtoMessage()
- func (x *SetWorkerSandboxRuntimesResponse) ProtoReflect() protoreflect.Message
- func (x *SetWorkerSandboxRuntimesResponse) Reset()
- func (x *SetWorkerSandboxRuntimesResponse) String() string
- type Snapshot
- func (*Snapshot) Descriptor() ([]byte, []int)deprecated
- func (x *Snapshot) GetActorTemplateUid() string
- func (x *Snapshot) GetDurableSnapshot() *SnapshotStorage
- func (x *Snapshot) GetFidelity() SnapshotFidelity
- func (x *Snapshot) GetGeneration() int32
- func (x *Snapshot) GetLocality() string
- func (x *Snapshot) GetOwner() SnapshotOwner
- func (x *Snapshot) GetSandboxRuntime() *ActorSandboxRuntime
- func (x *Snapshot) GetUuid() string
- func (*Snapshot) ProtoMessage()
- func (x *Snapshot) ProtoReflect() protoreflect.Message
- func (x *Snapshot) Reset()
- func (x *Snapshot) String() string
- type SnapshotConfig
- func (*SnapshotConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotConfig) GetGoldenSnapshotConfig() *GoldenSnapshotConfig
- func (x *SnapshotConfig) GetPreferredFidelity() SnapshotFidelity
- func (x *SnapshotConfig) GetStorageLocation() string
- func (*SnapshotConfig) ProtoMessage()
- func (x *SnapshotConfig) ProtoReflect() protoreflect.Message
- func (x *SnapshotConfig) Reset()
- func (x *SnapshotConfig) String() string
- type SnapshotFidelity
- func (SnapshotFidelity) Descriptor() protoreflect.EnumDescriptor
- func (x SnapshotFidelity) Enum() *SnapshotFidelity
- func (SnapshotFidelity) EnumDescriptor() ([]byte, []int)deprecated
- func (x SnapshotFidelity) Number() protoreflect.EnumNumber
- func (x SnapshotFidelity) String() string
- func (SnapshotFidelity) Type() protoreflect.EnumType
- type SnapshotOwner
- func (SnapshotOwner) Descriptor() protoreflect.EnumDescriptor
- func (x SnapshotOwner) Enum() *SnapshotOwner
- func (SnapshotOwner) EnumDescriptor() ([]byte, []int)deprecated
- func (x SnapshotOwner) Number() protoreflect.EnumNumber
- func (x SnapshotOwner) String() string
- func (SnapshotOwner) Type() protoreflect.EnumType
- type SnapshotReport
- func (*SnapshotReport) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotReport) GetDurableCompleteTime() *timestamppb.Timestamp
- func (x *SnapshotReport) GetFidelity() SnapshotFidelity
- func (x *SnapshotReport) GetGeneration() int32
- func (x *SnapshotReport) GetLocalCommitTime() *timestamppb.Timestamp
- func (x *SnapshotReport) GetObject() *ObjectSnapshot
- func (x *SnapshotReport) GetUuid() string
- func (*SnapshotReport) ProtoMessage()
- func (x *SnapshotReport) ProtoReflect() protoreflect.Message
- func (x *SnapshotReport) Reset()
- func (x *SnapshotReport) String() string
- type SnapshotStorage
- func (*SnapshotStorage) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotStorage) GetObject() *ObjectSnapshot
- func (x *SnapshotStorage) GetState() SnapshotStorageState
- func (*SnapshotStorage) ProtoMessage()
- func (x *SnapshotStorage) ProtoReflect() protoreflect.Message
- func (x *SnapshotStorage) Reset()
- func (x *SnapshotStorage) String() string
- type SnapshotStorageState
- func (SnapshotStorageState) Descriptor() protoreflect.EnumDescriptor
- func (x SnapshotStorageState) Enum() *SnapshotStorageState
- func (SnapshotStorageState) EnumDescriptor() ([]byte, []int)deprecated
- func (x SnapshotStorageState) Number() protoreflect.EnumNumber
- func (x SnapshotStorageState) String() string
- func (SnapshotStorageState) Type() protoreflect.EnumType
- type SuspendActorRequest
- func (*SuspendActorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SuspendActorRequest) GetActor() *ObjectRef
- func (x *SuspendActorRequest) GetOptions() *SuspendOptions
- func (*SuspendActorRequest) ProtoMessage()
- func (x *SuspendActorRequest) ProtoReflect() protoreflect.Message
- func (x *SuspendActorRequest) Reset()
- func (x *SuspendActorRequest) String() string
- type SuspendActorResponse
- func (*SuspendActorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SuspendActorResponse) GetActor() *Actor
- func (*SuspendActorResponse) ProtoMessage()
- func (x *SuspendActorResponse) ProtoReflect() protoreflect.Message
- func (x *SuspendActorResponse) Reset()
- func (x *SuspendActorResponse) String() string
- type SuspendOptions
- type SystemInfoDataSource
- func (*SystemInfoDataSource) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfoDataSource) GetActorMetadata() *ActorMetadataDataSource
- func (x *SystemInfoDataSource) GetTrustBundle() *TrustBundleDataSource
- func (*SystemInfoDataSource) ProtoMessage()
- func (x *SystemInfoDataSource) ProtoReflect() protoreflect.Message
- func (x *SystemInfoDataSource) Reset()
- func (x *SystemInfoDataSource) String() string
- type SystemInfoVolumeSource
- func (*SystemInfoVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfoVolumeSource) GetDataSources() []*SystemInfoDataSource
- func (*SystemInfoVolumeSource) ProtoMessage()
- func (x *SystemInfoVolumeSource) ProtoReflect() protoreflect.Message
- func (x *SystemInfoVolumeSource) Reset()
- func (x *SystemInfoVolumeSource) String() string
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)deprecated
- func (x *Tag) GetMetadata() *ResourceMetadata
- func (x *Tag) GetScope() TagScope
- func (x *Tag) GetSourceActor() *ObjectRef
- func (x *Tag) GetStatus() *TagStatus
- func (*Tag) ProtoMessage()
- func (x *Tag) ProtoReflect() protoreflect.Message
- func (x *Tag) Reset()
- func (x *Tag) String() string
- type TagScope
- type TagStatus
- func (*TagStatus) Descriptor() ([]byte, []int)deprecated
- func (x *TagStatus) GetActorTemplateUid() string
- func (x *TagStatus) GetSnapshot() *Snapshot
- func (*TagStatus) ProtoMessage()
- func (x *TagStatus) ProtoReflect() protoreflect.Message
- func (x *TagStatus) Reset()
- func (x *TagStatus) String() string
- type TlsPassthroughRule
- func (*TlsPassthroughRule) Descriptor() ([]byte, []int)deprecated
- func (x *TlsPassthroughRule) GetHostnames() []string
- func (x *TlsPassthroughRule) GetPorts() *Ports
- func (*TlsPassthroughRule) ProtoMessage()
- func (x *TlsPassthroughRule) ProtoReflect() protoreflect.Message
- func (x *TlsPassthroughRule) Reset()
- func (x *TlsPassthroughRule) String() string
- type TrustBundleDataSource
- func (*TrustBundleDataSource) Descriptor() ([]byte, []int)deprecated
- func (x *TrustBundleDataSource) GetNames() []string
- func (x *TrustBundleDataSource) GetPath() string
- func (*TrustBundleDataSource) ProtoMessage()
- func (x *TrustBundleDataSource) ProtoReflect() protoreflect.Message
- func (x *TrustBundleDataSource) Reset()
- func (x *TrustBundleDataSource) String() string
- type UnimplementedControlServer
- func (UnimplementedControlServer) CreateActor(context.Context, *CreateActorRequest) (*Actor, error)
- func (UnimplementedControlServer) CreateActorEgressPolicy(context.Context, *CreateActorEgressPolicyRequest) (*EgressPolicy, error)
- func (UnimplementedControlServer) CreateActorTemplate(context.Context, *CreateActorTemplateRequest) (*ActorTemplate, error)
- func (UnimplementedControlServer) CreateAtespace(context.Context, *CreateAtespaceRequest) (*Atespace, error)
- func (UnimplementedControlServer) CreateAtespaceAccessPolicy(context.Context, *CreateAtespaceAccessPolicyRequest) (*AccessPolicy, error)
- func (UnimplementedControlServer) CreateGlobalAccessPolicy(context.Context, *CreateGlobalAccessPolicyRequest) (*AccessPolicy, error)
- func (UnimplementedControlServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
- func (UnimplementedControlServer) CreateWorker(context.Context, *CreateWorkerRequest) (*Worker, error)
- func (UnimplementedControlServer) DeleteActor(context.Context, *DeleteActorRequest) (*Actor, error)
- func (UnimplementedControlServer) DeleteActorEgressPolicy(context.Context, *DeleteActorEgressPolicyRequest) (*EgressPolicy, error)
- func (UnimplementedControlServer) DeleteActorTemplate(context.Context, *DeleteActorTemplateRequest) (*ActorTemplate, error)
- func (UnimplementedControlServer) DeleteAtespace(context.Context, *DeleteAtespaceRequest) (*Atespace, error)
- func (UnimplementedControlServer) DeleteAtespaceAccessPolicy(context.Context, *DeleteAtespaceAccessPolicyRequest) (*AccessPolicy, error)
- func (UnimplementedControlServer) DeleteTag(context.Context, *DeleteTagRequest) (*Tag, error)
- func (UnimplementedControlServer) DeleteWorker(context.Context, *DeleteWorkerRequest) (*Worker, error)
- func (UnimplementedControlServer) DrainWorker(context.Context, *DrainWorkerRequest) (*DrainWorkerResponse, error)
- func (UnimplementedControlServer) GetActor(context.Context, *GetActorRequest) (*Actor, error)
- func (UnimplementedControlServer) GetActorEgressPolicy(context.Context, *GetActorEgressPolicyRequest) (*EgressPolicy, error)
- func (UnimplementedControlServer) GetActorTemplate(context.Context, *GetActorTemplateRequest) (*ActorTemplate, error)
- func (UnimplementedControlServer) GetAtespace(context.Context, *GetAtespaceRequest) (*Atespace, error)
- func (UnimplementedControlServer) GetAtespaceAccessPolicy(context.Context, *GetAtespaceAccessPolicyRequest) (*AccessPolicy, error)
- func (UnimplementedControlServer) GetGlobalAccessPolicy(context.Context, *GetGlobalAccessPolicyRequest) (*AccessPolicy, error)
- func (UnimplementedControlServer) GetTag(context.Context, *GetTagRequest) (*Tag, error)
- func (UnimplementedControlServer) GetWorker(context.Context, *GetWorkerRequest) (*Worker, error)
- func (UnimplementedControlServer) ListActorTemplates(context.Context, *ListActorTemplatesRequest) (*ListActorTemplatesResponse, error)
- func (UnimplementedControlServer) ListActors(context.Context, *ListActorsRequest) (*ListActorsResponse, error)
- func (UnimplementedControlServer) ListAtespaces(context.Context, *ListAtespacesRequest) (*ListAtespacesResponse, error)
- func (UnimplementedControlServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
- func (UnimplementedControlServer) ListWorkerActorAssignments(context.Context, *ListWorkerActorAssignmentsRequest) (*ListWorkerActorAssignmentsResponse, error)
- func (UnimplementedControlServer) ListWorkers(context.Context, *ListWorkersRequest) (*ListWorkersResponse, error)
- func (UnimplementedControlServer) MarkWorkerAvailable(context.Context, *MarkWorkerAvailableRequest) (*MarkWorkerAvailableResponse, error)
- func (UnimplementedControlServer) MarkWorkerUnavailable(context.Context, *MarkWorkerUnavailableRequest) (*MarkWorkerUnavailableResponse, error)
- func (UnimplementedControlServer) MintActorJwt(context.Context, *MintActorJwtRequest) (*MintActorJwtResponse, error)
- func (UnimplementedControlServer) ResumeActor(context.Context, *ResumeActorRequest) (*ResumeActorResponse, error)
- func (UnimplementedControlServer) RevertActor(context.Context, *RevertActorRequest) (*RevertActorResponse, error)
- func (UnimplementedControlServer) SuspendActor(context.Context, *SuspendActorRequest) (*SuspendActorResponse, error)
- func (UnimplementedControlServer) UpdateActor(context.Context, *UpdateActorRequest) (*Actor, error)
- func (UnimplementedControlServer) UpdateActorEgressPolicy(context.Context, *UpdateActorEgressPolicyRequest) (*EgressPolicy, error)
- func (UnimplementedControlServer) UpdateAtespaceAccessPolicy(context.Context, *UpdateAtespaceAccessPolicyRequest) (*AccessPolicy, error)
- func (UnimplementedControlServer) UpdateGlobalAccessPolicy(context.Context, *UpdateGlobalAccessPolicyRequest) (*AccessPolicy, error)
- func (UnimplementedControlServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)
- func (UnimplementedControlServer) UpdateWorker(context.Context, *UpdateWorkerRequest) (*Worker, error)
- type UnimplementedWorkerServiceServer
- func (UnimplementedWorkerServiceServer) AcquireWorkerEpoch(context.Context, *AcquireWorkerEpochRequest) (*AcquireWorkerEpochResponse, error)
- func (UnimplementedWorkerServiceServer) MintWorkerActorCertificate(context.Context, *MintWorkerActorCertificateRequest) (*MintWorkerActorCertificateResponse, error)
- func (UnimplementedWorkerServiceServer) MintWorkerActorJwt(context.Context, *MintWorkerActorJwtRequest) (*MintWorkerActorJwtResponse, error)
- func (UnimplementedWorkerServiceServer) RegisterWorker(context.Context, *RegisterWorkerRequest) (*RegisterWorkerResponse, error)
- func (UnimplementedWorkerServiceServer) ReportActorCrashed(context.Context, *ReportActorCrashedRequest) (*ReportActorCrashedResponse, error)
- func (UnimplementedWorkerServiceServer) ReportActorSnapshotState(context.Context, *ReportActorSnapshotStateRequest) (*ReportActorSnapshotStateResponse, error)
- func (UnimplementedWorkerServiceServer) RequestActorSuspend(context.Context, *RequestActorSuspendRequest) (*RequestActorSuspendResponse, error)
- func (UnimplementedWorkerServiceServer) SetWorkerSandboxRuntimes(context.Context, *SetWorkerSandboxRuntimesRequest) (*SetWorkerSandboxRuntimesResponse, error)
- type UnsafeControlServer
- type UnsafeWorkerServiceServer
- type UpdateActorEgressPolicyRequest
- func (*UpdateActorEgressPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateActorEgressPolicyRequest) GetActor() *ObjectRef
- func (x *UpdateActorEgressPolicyRequest) GetEgressPolicy() *EgressPolicy
- func (*UpdateActorEgressPolicyRequest) ProtoMessage()
- func (x *UpdateActorEgressPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateActorEgressPolicyRequest) Reset()
- func (x *UpdateActorEgressPolicyRequest) String() string
- type UpdateActorRequest
- func (*UpdateActorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateActorRequest) GetActor() *Actor
- func (*UpdateActorRequest) ProtoMessage()
- func (x *UpdateActorRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateActorRequest) Reset()
- func (x *UpdateActorRequest) String() string
- type UpdateAtespaceAccessPolicyRequest
- func (*UpdateAtespaceAccessPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAtespaceAccessPolicyRequest) GetAccessPolicy() *AccessPolicy
- func (x *UpdateAtespaceAccessPolicyRequest) GetAtespace() *ObjectRef
- func (*UpdateAtespaceAccessPolicyRequest) ProtoMessage()
- func (x *UpdateAtespaceAccessPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAtespaceAccessPolicyRequest) Reset()
- func (x *UpdateAtespaceAccessPolicyRequest) String() string
- type UpdateGlobalAccessPolicyRequest
- func (*UpdateGlobalAccessPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGlobalAccessPolicyRequest) GetAccessPolicy() *AccessPolicy
- func (*UpdateGlobalAccessPolicyRequest) ProtoMessage()
- func (x *UpdateGlobalAccessPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGlobalAccessPolicyRequest) Reset()
- func (x *UpdateGlobalAccessPolicyRequest) String() string
- type UpdateTagRequest
- type UpdateWorkerRequest
- func (*UpdateWorkerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateWorkerRequest) GetWorker() *Worker
- func (*UpdateWorkerRequest) ProtoMessage()
- func (x *UpdateWorkerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateWorkerRequest) Reset()
- func (x *UpdateWorkerRequest) String() string
- type VersionedSandboxCompat
- func (*VersionedSandboxCompat) Descriptor() ([]byte, []int)deprecated
- func (x *VersionedSandboxCompat) GetAttributes() []*AttributeEntry
- func (x *VersionedSandboxCompat) GetSchemaVersion() string
- func (*VersionedSandboxCompat) ProtoMessage()
- func (x *VersionedSandboxCompat) ProtoReflect() protoreflect.Message
- func (x *VersionedSandboxCompat) Reset()
- func (x *VersionedSandboxCompat) String() string
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetDurableDir() *DurableDirVolumeSource
- func (x *Volume) GetExternal() *ExternalVolumeSource
- func (x *Volume) GetImage() *ImageVolumeSource
- func (x *Volume) GetName() string
- func (x *Volume) GetSystemInfo() *SystemInfoVolumeSource
- func (*Volume) ProtoMessage()
- func (x *Volume) ProtoReflect() protoreflect.Message
- func (x *Volume) Reset()
- func (x *Volume) String() string
- type VolumeMount
- func (*VolumeMount) Descriptor() ([]byte, []int)deprecated
- func (x *VolumeMount) GetMountPath() string
- func (x *VolumeMount) GetName() string
- func (*VolumeMount) ProtoMessage()
- func (x *VolumeMount) ProtoReflect() protoreflect.Message
- func (x *VolumeMount) Reset()
- func (x *VolumeMount) String() string
- type WakeupProbe
- func (*WakeupProbe) Descriptor() ([]byte, []int)deprecated
- func (x *WakeupProbe) GetHttpGet() *HttpGetAction
- func (x *WakeupProbe) GetTimeoutSeconds() int32
- func (*WakeupProbe) ProtoMessage()
- func (x *WakeupProbe) ProtoReflect() protoreflect.Message
- func (x *WakeupProbe) Reset()
- func (x *WakeupProbe) String() string
- type Worker
- func (*Worker) Descriptor() ([]byte, []int)deprecated
- func (x *Worker) GetLabels() map[string]string
- func (x *Worker) GetMetadata() *ResourceMetadata
- func (x *Worker) GetNodeName() string
- func (x *Worker) GetStatus() *WorkerStatus
- func (x *Worker) GetWorkerNamespace() string
- func (x *Worker) GetWorkerPod() string
- func (x *Worker) GetWorkerPodUid() string
- func (x *Worker) GetWorkerPool() string
- func (x *Worker) GetWorkerSpiffeId() string
- func (*Worker) ProtoMessage()
- func (x *Worker) ProtoReflect() protoreflect.Message
- func (x *Worker) Reset()
- func (x *Worker) String() string
- type WorkerAssignment
- func (*WorkerAssignment) Descriptor() ([]byte, []int)deprecated
- func (x *WorkerAssignment) GetNodeName() string
- func (x *WorkerAssignment) GetSandboxRuntime() *ActorSandboxRuntime
- func (x *WorkerAssignment) GetWorker() *ObjectRef
- func (x *WorkerAssignment) GetWorkerEpoch() int64
- func (x *WorkerAssignment) GetWorkerNamespace() string
- func (x *WorkerAssignment) GetWorkerPod() string
- func (x *WorkerAssignment) GetWorkerPodIps() []string
- func (x *WorkerAssignment) GetWorkerPodUid() string
- func (x *WorkerAssignment) GetWorkerPool() string
- func (x *WorkerAssignment) GetWorkerSpiffeId() string
- func (*WorkerAssignment) ProtoMessage()
- func (x *WorkerAssignment) ProtoReflect() protoreflect.Message
- func (x *WorkerAssignment) Reset()
- func (x *WorkerAssignment) String() string
- type WorkerResources
- func (*WorkerResources) Descriptor() ([]byte, []int)deprecated
- func (x *WorkerResources) GetActors() int32
- func (x *WorkerResources) GetCpuMillicores() int64
- func (x *WorkerResources) GetMemoryBytes() int64
- func (*WorkerResources) ProtoMessage()
- func (x *WorkerResources) ProtoReflect() protoreflect.Message
- func (x *WorkerResources) Reset()
- func (x *WorkerResources) String() string
- type WorkerSandboxClass
- func (*WorkerSandboxClass) Descriptor() ([]byte, []int)deprecated
- func (x *WorkerSandboxClass) GetDefaultRuntime() *WorkerSandboxRuntime
- func (x *WorkerSandboxClass) GetRestorableRuntimes() []*WorkerSandboxRuntime
- func (x *WorkerSandboxClass) GetSandboxClass() string
- func (*WorkerSandboxClass) ProtoMessage()
- func (x *WorkerSandboxClass) ProtoReflect() protoreflect.Message
- func (x *WorkerSandboxClass) Reset()
- func (x *WorkerSandboxClass) String() string
- type WorkerSandboxRuntime
- func (*WorkerSandboxRuntime) Descriptor() ([]byte, []int)deprecated
- func (x *WorkerSandboxRuntime) GetActorOverhead() *RuntimeOverhead
- func (x *WorkerSandboxRuntime) GetVersion() *VersionedSandboxCompat
- func (*WorkerSandboxRuntime) ProtoMessage()
- func (x *WorkerSandboxRuntime) ProtoReflect() protoreflect.Message
- func (x *WorkerSandboxRuntime) Reset()
- func (x *WorkerSandboxRuntime) String() string
- type WorkerServiceClient
- type WorkerServiceServer
- type WorkerState
- func (WorkerState) Descriptor() protoreflect.EnumDescriptor
- func (x WorkerState) Enum() *WorkerState
- func (WorkerState) EnumDescriptor() ([]byte, []int)deprecated
- func (x WorkerState) Number() protoreflect.EnumNumber
- func (x WorkerState) String() string
- func (WorkerState) Type() protoreflect.EnumType
- type WorkerStatus
- func (*WorkerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *WorkerStatus) GetAllocated() *WorkerResources
- func (x *WorkerStatus) GetCapacity() *WorkerResources
- func (x *WorkerStatus) GetIps() []string
- func (x *WorkerStatus) GetIssuedEpoch() int64
- func (x *WorkerStatus) GetObservedEpoch() int64
- func (x *WorkerStatus) GetRegisteredEpoch() int64
- func (x *WorkerStatus) GetSandboxClasses() []*WorkerSandboxClass
- func (x *WorkerStatus) GetState() WorkerState
- func (*WorkerStatus) ProtoMessage()
- func (x *WorkerStatus) ProtoReflect() protoreflect.Message
- func (x *WorkerStatus) Reset()
- func (x *WorkerStatus) String() string
Constants ¶
const ( Control_GetActor_FullMethodName = "/substrate.ateapi.v1.Control/GetActor" Control_CreateActor_FullMethodName = "/substrate.ateapi.v1.Control/CreateActor" Control_UpdateActor_FullMethodName = "/substrate.ateapi.v1.Control/UpdateActor" Control_SuspendActor_FullMethodName = "/substrate.ateapi.v1.Control/SuspendActor" Control_ResumeActor_FullMethodName = "/substrate.ateapi.v1.Control/ResumeActor" Control_RevertActor_FullMethodName = "/substrate.ateapi.v1.Control/RevertActor" Control_DeleteActor_FullMethodName = "/substrate.ateapi.v1.Control/DeleteActor" Control_GetActorEgressPolicy_FullMethodName = "/substrate.ateapi.v1.Control/GetActorEgressPolicy" Control_CreateActorEgressPolicy_FullMethodName = "/substrate.ateapi.v1.Control/CreateActorEgressPolicy" Control_UpdateActorEgressPolicy_FullMethodName = "/substrate.ateapi.v1.Control/UpdateActorEgressPolicy" Control_DeleteActorEgressPolicy_FullMethodName = "/substrate.ateapi.v1.Control/DeleteActorEgressPolicy" Control_MintActorJwt_FullMethodName = "/substrate.ateapi.v1.Control/MintActorJwt" Control_CreateTag_FullMethodName = "/substrate.ateapi.v1.Control/CreateTag" Control_GetTag_FullMethodName = "/substrate.ateapi.v1.Control/GetTag" Control_ListTags_FullMethodName = "/substrate.ateapi.v1.Control/ListTags" Control_UpdateTag_FullMethodName = "/substrate.ateapi.v1.Control/UpdateTag" Control_DeleteTag_FullMethodName = "/substrate.ateapi.v1.Control/DeleteTag" Control_ListWorkers_FullMethodName = "/substrate.ateapi.v1.Control/ListWorkers" Control_GetWorker_FullMethodName = "/substrate.ateapi.v1.Control/GetWorker" Control_CreateWorker_FullMethodName = "/substrate.ateapi.v1.Control/CreateWorker" Control_UpdateWorker_FullMethodName = "/substrate.ateapi.v1.Control/UpdateWorker" Control_DeleteWorker_FullMethodName = "/substrate.ateapi.v1.Control/DeleteWorker" Control_DrainWorker_FullMethodName = "/substrate.ateapi.v1.Control/DrainWorker" Control_MarkWorkerAvailable_FullMethodName = "/substrate.ateapi.v1.Control/MarkWorkerAvailable" Control_ListWorkerActorAssignments_FullMethodName = "/substrate.ateapi.v1.Control/ListWorkerActorAssignments" Control_ListActors_FullMethodName = "/substrate.ateapi.v1.Control/ListActors" Control_CreateAtespace_FullMethodName = "/substrate.ateapi.v1.Control/CreateAtespace" Control_GetAtespace_FullMethodName = "/substrate.ateapi.v1.Control/GetAtespace" Control_ListAtespaces_FullMethodName = "/substrate.ateapi.v1.Control/ListAtespaces" Control_DeleteAtespace_FullMethodName = "/substrate.ateapi.v1.Control/DeleteAtespace" Control_CreateActorTemplate_FullMethodName = "/substrate.ateapi.v1.Control/CreateActorTemplate" Control_GetActorTemplate_FullMethodName = "/substrate.ateapi.v1.Control/GetActorTemplate" Control_ListActorTemplates_FullMethodName = "/substrate.ateapi.v1.Control/ListActorTemplates" Control_DeleteActorTemplate_FullMethodName = "/substrate.ateapi.v1.Control/DeleteActorTemplate" Control_GetGlobalAccessPolicy_FullMethodName = "/substrate.ateapi.v1.Control/GetGlobalAccessPolicy" Control_CreateGlobalAccessPolicy_FullMethodName = "/substrate.ateapi.v1.Control/CreateGlobalAccessPolicy" Control_UpdateGlobalAccessPolicy_FullMethodName = "/substrate.ateapi.v1.Control/UpdateGlobalAccessPolicy" Control_GetAtespaceAccessPolicy_FullMethodName = "/substrate.ateapi.v1.Control/GetAtespaceAccessPolicy" Control_CreateAtespaceAccessPolicy_FullMethodName = "/substrate.ateapi.v1.Control/CreateAtespaceAccessPolicy" Control_UpdateAtespaceAccessPolicy_FullMethodName = "/substrate.ateapi.v1.Control/UpdateAtespaceAccessPolicy" Control_DeleteAtespaceAccessPolicy_FullMethodName = "/substrate.ateapi.v1.Control/DeleteAtespaceAccessPolicy" )
const ( WorkerService_AcquireWorkerEpoch_FullMethodName = "/substrate.ateapi.v1.WorkerService/AcquireWorkerEpoch" WorkerService_RegisterWorker_FullMethodName = "/substrate.ateapi.v1.WorkerService/RegisterWorker" WorkerService_SetWorkerSandboxRuntimes_FullMethodName = "/substrate.ateapi.v1.WorkerService/SetWorkerSandboxRuntimes" WorkerService_MintWorkerActorCertificate_FullMethodName = "/substrate.ateapi.v1.WorkerService/MintWorkerActorCertificate" WorkerService_MintWorkerActorJwt_FullMethodName = "/substrate.ateapi.v1.WorkerService/MintWorkerActorJwt" WorkerService_RequestActorSuspend_FullMethodName = "/substrate.ateapi.v1.WorkerService/RequestActorSuspend" WorkerService_ReportActorSnapshotState_FullMethodName = "/substrate.ateapi.v1.WorkerService/ReportActorSnapshotState" WorkerService_ReportActorCrashed_FullMethodName = "/substrate.ateapi.v1.WorkerService/ReportActorCrashed" )
Variables ¶
var ( SnapshotOwner_name = map[int32]string{ 0: "SNAPSHOT_OWNER_UNSPECIFIED", 1: "SNAPSHOT_OWNER_ACTOR", 2: "SNAPSHOT_OWNER_TAG", } SnapshotOwner_value = map[string]int32{ "SNAPSHOT_OWNER_UNSPECIFIED": 0, "SNAPSHOT_OWNER_ACTOR": 1, "SNAPSHOT_OWNER_TAG": 2, } )
Enum value maps for SnapshotOwner.
var ( SnapshotStorageState_name = map[int32]string{ 0: "SNAPSHOT_STORAGE_STATE_UNSPECIFIED", 1: "SNAPSHOT_STORAGE_STATE_PENDING", 2: "SNAPSHOT_STORAGE_STATE_COMPLETED", } SnapshotStorageState_value = map[string]int32{ "SNAPSHOT_STORAGE_STATE_UNSPECIFIED": 0, "SNAPSHOT_STORAGE_STATE_PENDING": 1, "SNAPSHOT_STORAGE_STATE_COMPLETED": 2, } )
Enum value maps for SnapshotStorageState.
var ( SnapshotFidelity_name = map[int32]string{ 0: "SNAPSHOT_FIDELITY_UNSPECIFIED", 1: "SNAPSHOT_FIDELITY_VOLUMES", 2: "SNAPSHOT_FIDELITY_ROOTFS", 3: "SNAPSHOT_FIDELITY_MEMORY", } SnapshotFidelity_value = map[string]int32{ "SNAPSHOT_FIDELITY_UNSPECIFIED": 0, "SNAPSHOT_FIDELITY_VOLUMES": 1, "SNAPSHOT_FIDELITY_ROOTFS": 2, "SNAPSHOT_FIDELITY_MEMORY": 3, } )
Enum value maps for SnapshotFidelity.
var ( TagScope_name = map[int32]string{ 0: "TAG_SCOPE_UNSPECIFIED", 1: "TAG_SCOPE_ATESPACE", 2: "TAG_SCOPE_PUBLISHED", } TagScope_value = map[string]int32{ "TAG_SCOPE_UNSPECIFIED": 0, "TAG_SCOPE_ATESPACE": 1, "TAG_SCOPE_PUBLISHED": 2, } )
Enum value maps for TagScope.
var ( ActorState_name = map[int32]string{ 0: "ACTOR_STATE_UNSPECIFIED", 1: "ACTOR_STATE_RESUMING", 2: "ACTOR_STATE_RUNNING", 3: "ACTOR_STATE_SUSPENDING", 4: "ACTOR_STATE_SUSPENDED", 5: "ACTOR_STATE_CRASHED", 6: "ACTOR_STATE_DELETING", 7: "ACTOR_STATE_REVERTING", } ActorState_value = map[string]int32{ "ACTOR_STATE_UNSPECIFIED": 0, "ACTOR_STATE_RESUMING": 1, "ACTOR_STATE_RUNNING": 2, "ACTOR_STATE_SUSPENDING": 3, "ACTOR_STATE_SUSPENDED": 4, "ACTOR_STATE_CRASHED": 5, "ACTOR_STATE_DELETING": 6, "ACTOR_STATE_REVERTING": 7, } )
Enum value maps for ActorState.
var ( GoldenSnapshotMode_name = map[int32]string{ 0: "GOLDEN_SNAPSHOT_MODE_UNSPECIFIED", 1: "GOLDEN_SNAPSHOT_MODE_ENABLED", 2: "GOLDEN_SNAPSHOT_MODE_DISABLED", } GoldenSnapshotMode_value = map[string]int32{ "GOLDEN_SNAPSHOT_MODE_UNSPECIFIED": 0, "GOLDEN_SNAPSHOT_MODE_ENABLED": 1, "GOLDEN_SNAPSHOT_MODE_DISABLED": 2, } )
Enum value maps for GoldenSnapshotMode.
var ( ActorMetadataField_name = map[int32]string{ 0: "ACTOR_METADATA_FIELD_UNSPECIFIED", 1: "ACTOR_METADATA_FIELD_NAME", 2: "ACTOR_METADATA_FIELD_ATESPACE", 3: "ACTOR_METADATA_FIELD_UID", } ActorMetadataField_value = map[string]int32{ "ACTOR_METADATA_FIELD_UNSPECIFIED": 0, "ACTOR_METADATA_FIELD_NAME": 1, "ACTOR_METADATA_FIELD_ATESPACE": 2, "ACTOR_METADATA_FIELD_UID": 3, } )
Enum value maps for ActorMetadataField.
var ( DurabilityMode_name = map[int32]string{ 0: "DURABILITY_MODE_UNSPECIFIED", 1: "DURABILITY_MODE_SYNCHRONOUS", 2: "DURABILITY_MODE_ASYNCHRONOUS", } DurabilityMode_value = map[string]int32{ "DURABILITY_MODE_UNSPECIFIED": 0, "DURABILITY_MODE_SYNCHRONOUS": 1, "DURABILITY_MODE_ASYNCHRONOUS": 2, } )
Enum value maps for DurabilityMode.
var ( WorkerState_name = map[int32]string{ 0: "WORKER_STATE_UNSPECIFIED", 1: "WORKER_STATE_ACTIVE", 2: "WORKER_STATE_DRAINING", 3: "WORKER_STATE_UNAVAILABLE", } WorkerState_value = map[string]int32{ "WORKER_STATE_UNSPECIFIED": 0, "WORKER_STATE_ACTIVE": 1, "WORKER_STATE_DRAINING": 2, "WORKER_STATE_UNAVAILABLE": 3, } )
Enum value maps for WorkerState.
var ( Scope_name = map[int32]string{ 0: "SCOPE_UNSPECIFIED", 1: "SCOPE_ATESPACE", 2: "SCOPE_GLOBAL", } Scope_value = map[string]int32{ "SCOPE_UNSPECIFIED": 0, "SCOPE_ATESPACE": 1, "SCOPE_GLOBAL": 2, } )
Enum value maps for Scope.
var Control_ServiceDesc = grpc.ServiceDesc{ ServiceName: "substrate.ateapi.v1.Control", HandlerType: (*ControlServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetActor", Handler: _Control_GetActor_Handler, }, { MethodName: "CreateActor", Handler: _Control_CreateActor_Handler, }, { MethodName: "UpdateActor", Handler: _Control_UpdateActor_Handler, }, { MethodName: "SuspendActor", Handler: _Control_SuspendActor_Handler, }, { MethodName: "ResumeActor", Handler: _Control_ResumeActor_Handler, }, { MethodName: "RevertActor", Handler: _Control_RevertActor_Handler, }, { MethodName: "DeleteActor", Handler: _Control_DeleteActor_Handler, }, { MethodName: "GetActorEgressPolicy", Handler: _Control_GetActorEgressPolicy_Handler, }, { MethodName: "CreateActorEgressPolicy", Handler: _Control_CreateActorEgressPolicy_Handler, }, { MethodName: "UpdateActorEgressPolicy", Handler: _Control_UpdateActorEgressPolicy_Handler, }, { MethodName: "DeleteActorEgressPolicy", Handler: _Control_DeleteActorEgressPolicy_Handler, }, { MethodName: "MintActorJwt", Handler: _Control_MintActorJwt_Handler, }, { MethodName: "CreateTag", Handler: _Control_CreateTag_Handler, }, { MethodName: "GetTag", Handler: _Control_GetTag_Handler, }, { MethodName: "ListTags", Handler: _Control_ListTags_Handler, }, { MethodName: "UpdateTag", Handler: _Control_UpdateTag_Handler, }, { MethodName: "DeleteTag", Handler: _Control_DeleteTag_Handler, }, { MethodName: "ListWorkers", Handler: _Control_ListWorkers_Handler, }, { MethodName: "GetWorker", Handler: _Control_GetWorker_Handler, }, { MethodName: "CreateWorker", Handler: _Control_CreateWorker_Handler, }, { MethodName: "UpdateWorker", Handler: _Control_UpdateWorker_Handler, }, { MethodName: "DeleteWorker", Handler: _Control_DeleteWorker_Handler, }, { MethodName: "DrainWorker", Handler: _Control_DrainWorker_Handler, }, { MethodName: "MarkWorkerAvailable", Handler: _Control_MarkWorkerAvailable_Handler, }, { MethodName: "MarkWorkerUnavailable", Handler: _Control_MarkWorkerUnavailable_Handler, }, { MethodName: "ListWorkerActorAssignments", Handler: _Control_ListWorkerActorAssignments_Handler, }, { MethodName: "ListActors", Handler: _Control_ListActors_Handler, }, { MethodName: "CreateAtespace", Handler: _Control_CreateAtespace_Handler, }, { MethodName: "GetAtespace", Handler: _Control_GetAtespace_Handler, }, { MethodName: "ListAtespaces", Handler: _Control_ListAtespaces_Handler, }, { MethodName: "DeleteAtespace", Handler: _Control_DeleteAtespace_Handler, }, { MethodName: "CreateActorTemplate", Handler: _Control_CreateActorTemplate_Handler, }, { MethodName: "GetActorTemplate", Handler: _Control_GetActorTemplate_Handler, }, { MethodName: "ListActorTemplates", Handler: _Control_ListActorTemplates_Handler, }, { MethodName: "DeleteActorTemplate", Handler: _Control_DeleteActorTemplate_Handler, }, { MethodName: "GetGlobalAccessPolicy", Handler: _Control_GetGlobalAccessPolicy_Handler, }, { MethodName: "CreateGlobalAccessPolicy", Handler: _Control_CreateGlobalAccessPolicy_Handler, }, { MethodName: "UpdateGlobalAccessPolicy", Handler: _Control_UpdateGlobalAccessPolicy_Handler, }, { MethodName: "GetAtespaceAccessPolicy", Handler: _Control_GetAtespaceAccessPolicy_Handler, }, { MethodName: "CreateAtespaceAccessPolicy", Handler: _Control_CreateAtespaceAccessPolicy_Handler, }, { MethodName: "UpdateAtespaceAccessPolicy", Handler: _Control_UpdateAtespaceAccessPolicy_Handler, }, { MethodName: "DeleteAtespaceAccessPolicy", Handler: _Control_DeleteAtespaceAccessPolicy_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "substrate/ateapi/ateapi.proto", }
Control_ServiceDesc is the grpc.ServiceDesc for Control service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var (
// optional substrate.ateapi.v1.MethodAnnotation method = 50000;
E_Method = &file_substrate_ateapi_ateapi_proto_extTypes[1]
)
Extension fields to descriptorpb.MethodOptions.
var (
// optional substrate.ateapi.v1.ResourceAnnotation resource = 50000;
E_Resource = &file_substrate_ateapi_ateapi_proto_extTypes[0]
)
Extension fields to descriptorpb.MessageOptions.
var File_substrate_ateapi_ateapi_proto protoreflect.FileDescriptor
var WorkerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "substrate.ateapi.v1.WorkerService", HandlerType: (*WorkerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AcquireWorkerEpoch", Handler: _WorkerService_AcquireWorkerEpoch_Handler, }, { MethodName: "RegisterWorker", Handler: _WorkerService_RegisterWorker_Handler, }, { MethodName: "SetWorkerSandboxRuntimes", Handler: _WorkerService_SetWorkerSandboxRuntimes_Handler, }, { MethodName: "MintWorkerActorCertificate", Handler: _WorkerService_MintWorkerActorCertificate_Handler, }, { MethodName: "MintWorkerActorJwt", Handler: _WorkerService_MintWorkerActorJwt_Handler, }, { MethodName: "RequestActorSuspend", Handler: _WorkerService_RequestActorSuspend_Handler, }, { MethodName: "ReportActorSnapshotState", Handler: _WorkerService_ReportActorSnapshotState_Handler, }, { MethodName: "ReportActorCrashed", Handler: _WorkerService_ReportActorCrashed_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "substrate/ateapi/ateapi.proto", }
WorkerService_ServiceDesc is the grpc.ServiceDesc for WorkerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterControlServer ¶
func RegisterControlServer(s grpc.ServiceRegistrar, srv ControlServer)
func RegisterWorkerServiceServer ¶
func RegisterWorkerServiceServer(s grpc.ServiceRegistrar, srv WorkerServiceServer)
Types ¶
type AccessPolicy ¶
type AccessPolicy struct {
// Standard resource metadata. Atespace must match the parent resource (empty
// for global-scoped parents like Global and Atespace) and name must be
// "default". Both are caller-specified on create and immutable. UID, version,
// create_time, and update_time are server-managed.
//
// +k8s:required
// +k8s:customValidation # name must be "default"
Metadata *ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Role bindings granting permissions on the parent resource.
//
// +k8s:optional
// +k8s:listType=atomic
// +k8s:maxItems=100
Bindings []*Binding `protobuf:"bytes,2,rep,name=bindings,proto3" json:"bindings,omitempty"`
// contains filtered or unexported fields
}
AccessPolicy is an access policy resource nested under a parent resource (or the global singleton installation). Every parent resource has at most one access policy resource, named "default".
func (*AccessPolicy) Descriptor
deprecated
func (*AccessPolicy) Descriptor() ([]byte, []int)
Deprecated: Use AccessPolicy.ProtoReflect.Descriptor instead.
func (*AccessPolicy) GetBindings ¶
func (x *AccessPolicy) GetBindings() []*Binding
func (*AccessPolicy) GetMetadata ¶
func (x *AccessPolicy) GetMetadata() *ResourceMetadata
func (*AccessPolicy) ProtoMessage ¶
func (*AccessPolicy) ProtoMessage()
func (*AccessPolicy) ProtoReflect ¶
func (x *AccessPolicy) ProtoReflect() protoreflect.Message
func (*AccessPolicy) Reset ¶
func (x *AccessPolicy) Reset()
func (*AccessPolicy) String ¶
func (x *AccessPolicy) String() string
type AcquireWorkerEpochRequest ¶
type AcquireWorkerEpochRequest struct {
// The Worker whose worker process is starting. atespace is always empty;
// Workers are global-scoped.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
func (*AcquireWorkerEpochRequest) Descriptor
deprecated
func (*AcquireWorkerEpochRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcquireWorkerEpochRequest.ProtoReflect.Descriptor instead.
func (*AcquireWorkerEpochRequest) GetWorker ¶
func (x *AcquireWorkerEpochRequest) GetWorker() *ObjectRef
func (*AcquireWorkerEpochRequest) ProtoMessage ¶
func (*AcquireWorkerEpochRequest) ProtoMessage()
func (*AcquireWorkerEpochRequest) ProtoReflect ¶
func (x *AcquireWorkerEpochRequest) ProtoReflect() protoreflect.Message
func (*AcquireWorkerEpochRequest) Reset ¶
func (x *AcquireWorkerEpochRequest) Reset()
func (*AcquireWorkerEpochRequest) String ¶
func (x *AcquireWorkerEpochRequest) String() string
type AcquireWorkerEpochResponse ¶
type AcquireWorkerEpochResponse struct {
// The epoch handed out, for the worker process to register with.
Epoch int64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
// contains filtered or unexported fields
}
func (*AcquireWorkerEpochResponse) Descriptor
deprecated
func (*AcquireWorkerEpochResponse) Descriptor() ([]byte, []int)
Deprecated: Use AcquireWorkerEpochResponse.ProtoReflect.Descriptor instead.
func (*AcquireWorkerEpochResponse) GetEpoch ¶
func (x *AcquireWorkerEpochResponse) GetEpoch() int64
func (*AcquireWorkerEpochResponse) ProtoMessage ¶
func (*AcquireWorkerEpochResponse) ProtoMessage()
func (*AcquireWorkerEpochResponse) ProtoReflect ¶
func (x *AcquireWorkerEpochResponse) ProtoReflect() protoreflect.Message
func (*AcquireWorkerEpochResponse) Reset ¶
func (x *AcquireWorkerEpochResponse) Reset()
func (*AcquireWorkerEpochResponse) String ¶
func (x *AcquireWorkerEpochResponse) String() string
type Actor ¶
type Actor struct {
// Common resource metadata: atespace, name, uid, version, timestamps.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Metadata *ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// actor_template references the ActorTemplate this Actor is based on.
//
// (-- TODO: replace with full actor_template spec if we decide to make each
// Actor self-contained. --)
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
// +k8s:mutable
ActorTemplate *ObjectRef `protobuf:"bytes,2,opt,name=actor_template,json=actorTemplate,proto3" json:"actor_template,omitempty"`
// worker_selector is the per-actor placement constraint. The scheduler
// evaluates the AND of this selector and the template's workerSelector to
// find eligible pools. It narrows the template's selection; pinning a
// sandbox class belongs on the template's worker_selector.
// Changes take effect on the next ResumeActor call.
//
// +k8s:optional
WorkerSelector *Selector `protobuf:"bytes,3,opt,name=worker_selector,json=workerSelector,proto3" json:"worker_selector,omitempty"`
// The tag specified by the caller at CreateActor to seed this Actor from an
// ActorSnapshot. Unset if the Actor was not created from a snapshot. Set
// once at creation and immutable afterward.
//
// +k8s:optional
// +k8s:subfield(atespace)=+k8s:required
// +k8s:immutable
SourceTag *ObjectRef `protobuf:"bytes,4,opt,name=source_tag,json=sourceTag,proto3" json:"source_tag,omitempty"`
// status is the system-managed state of the Actor. It is updated by the
// server and ignored on input. It is always present in output.
//
// +k8s:optional
Status *ActorStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*Actor) Descriptor
deprecated
func (*Actor) GetActorTemplate ¶
func (*Actor) GetMetadata ¶
func (x *Actor) GetMetadata() *ResourceMetadata
func (*Actor) GetSourceTag ¶
func (*Actor) GetStatus ¶
func (x *Actor) GetStatus() *ActorStatus
func (*Actor) GetWorkerSelector ¶
func (*Actor) ProtoMessage ¶
func (*Actor) ProtoMessage()
func (*Actor) ProtoReflect ¶
func (x *Actor) ProtoReflect() protoreflect.Message
type ActorAssignment ¶
type ActorAssignment struct {
// Metadata about the assignment.
//
// The atespace field is always empty, since it corresponds to a Worker, and
// Workers are not atespaced. The name field is the Actor's UID, so the Actor
// that caused an assignment is what addresses it.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Metadata *ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// actor is the Actor that is assigned to the Worker.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"`
// +k8s:required
// +k8s:format=k8s-uuid
ActorUid string `protobuf:"bytes,3,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
// The resources allocated to the Actor when it was assigned: its limits,
// plus the actor_overhead of the runtime it runs under on the Worker.
//
// +k8s:optional
Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
ActorAssignment binds an Actor to a Worker. This is a subresource of the Worker.
func (*ActorAssignment) Descriptor
deprecated
func (*ActorAssignment) Descriptor() ([]byte, []int)
Deprecated: Use ActorAssignment.ProtoReflect.Descriptor instead.
func (*ActorAssignment) GetActor ¶
func (x *ActorAssignment) GetActor() *ObjectRef
func (*ActorAssignment) GetActorUid ¶
func (x *ActorAssignment) GetActorUid() string
func (*ActorAssignment) GetMetadata ¶
func (x *ActorAssignment) GetMetadata() *ResourceMetadata
func (*ActorAssignment) GetResources ¶
func (x *ActorAssignment) GetResources() *Resources
func (*ActorAssignment) ProtoMessage ¶
func (*ActorAssignment) ProtoMessage()
func (*ActorAssignment) ProtoReflect ¶
func (x *ActorAssignment) ProtoReflect() protoreflect.Message
func (*ActorAssignment) Reset ¶
func (x *ActorAssignment) Reset()
func (*ActorAssignment) String ¶
func (x *ActorAssignment) String() string
type ActorCrash ¶
type ActorCrash struct {
// message is a human-readable description of the failure.
//
// +k8s:optional
// +k8s:maxLength=4096
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// crash_time is when the Actor entered CRASHED.
//
// +k8s:optional
CrashTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=crash_time,json=crashTime,proto3" json:"crash_time,omitempty"`
// contains filtered or unexported fields
}
ActorCrash describes the failure that moved an Actor to CRASHED.
func (*ActorCrash) Descriptor
deprecated
func (*ActorCrash) Descriptor() ([]byte, []int)
Deprecated: Use ActorCrash.ProtoReflect.Descriptor instead.
func (*ActorCrash) GetCrashTime ¶
func (x *ActorCrash) GetCrashTime() *timestamppb.Timestamp
func (*ActorCrash) GetMessage ¶
func (x *ActorCrash) GetMessage() string
func (*ActorCrash) ProtoMessage ¶
func (*ActorCrash) ProtoMessage()
func (*ActorCrash) ProtoReflect ¶
func (x *ActorCrash) ProtoReflect() protoreflect.Message
func (*ActorCrash) Reset ¶
func (x *ActorCrash) Reset()
func (*ActorCrash) String ¶
func (x *ActorCrash) String() string
type ActorJwtSource ¶
type ActorJwtSource struct {
// The audiences the JWT is bound to, which become its aud claim.
//
// +k8s:required
// +k8s:maxItems=16
// +k8s:listType=set
// +k8s:eachVal=+k8s:minLength=1
// +k8s:eachVal=+k8s:maxLength=512
Audiences []string `protobuf:"bytes,1,rep,name=audiences,proto3" json:"audiences,omitempty"`
// Lifetime of each JWT, in seconds.
//
// +k8s:required
// +k8s:minimum=300
// +k8s:maximum=3600
ExpirationSeconds int64 `protobuf:"varint,2,opt,name=expiration_seconds,json=expirationSeconds,proto3" json:"expiration_seconds,omitempty"`
// contains filtered or unexported fields
}
ActorJwtSource has the gateway mint a JWT for the Actor that sent the request. Relying parties verify it with OpenID Connect Discovery against its issuer. The gateway reuses a JWT across requests while enough of its lifetime remains, so its jti does not identify a single request.
func (*ActorJwtSource) Descriptor
deprecated
func (*ActorJwtSource) Descriptor() ([]byte, []int)
Deprecated: Use ActorJwtSource.ProtoReflect.Descriptor instead.
func (*ActorJwtSource) GetAudiences ¶
func (x *ActorJwtSource) GetAudiences() []string
func (*ActorJwtSource) GetExpirationSeconds ¶
func (x *ActorJwtSource) GetExpirationSeconds() int64
func (*ActorJwtSource) ProtoMessage ¶
func (*ActorJwtSource) ProtoMessage()
func (*ActorJwtSource) ProtoReflect ¶
func (x *ActorJwtSource) ProtoReflect() protoreflect.Message
func (*ActorJwtSource) Reset ¶
func (x *ActorJwtSource) Reset()
func (*ActorJwtSource) String ¶
func (x *ActorJwtSource) String() string
type ActorMetadataDataSource ¶
type ActorMetadataDataSource struct {
// items must not project the same field twice, and item paths must be
// unique.
//
// +k8s:required
// +k8s:minItems=1
// +k8s:maxItems=8
// +k8s:listType=atomic
// +k8s:unique=map
// +k8s:listMapKey=field
Items []*ActorMetadataItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
// contains filtered or unexported fields
}
ActorMetadataDataSource projects the actor's identity fields to files, one per item.
func (*ActorMetadataDataSource) Descriptor
deprecated
func (*ActorMetadataDataSource) Descriptor() ([]byte, []int)
Deprecated: Use ActorMetadataDataSource.ProtoReflect.Descriptor instead.
func (*ActorMetadataDataSource) GetItems ¶
func (x *ActorMetadataDataSource) GetItems() []*ActorMetadataItem
func (*ActorMetadataDataSource) ProtoMessage ¶
func (*ActorMetadataDataSource) ProtoMessage()
func (*ActorMetadataDataSource) ProtoReflect ¶
func (x *ActorMetadataDataSource) ProtoReflect() protoreflect.Message
func (*ActorMetadataDataSource) Reset ¶
func (x *ActorMetadataDataSource) Reset()
func (*ActorMetadataDataSource) String ¶
func (x *ActorMetadataDataSource) String() string
type ActorMetadataField ¶
type ActorMetadataField int32
ActorMetadataField selects one identity field of the actor.
const ( ActorMetadataField_ACTOR_METADATA_FIELD_UNSPECIFIED ActorMetadataField = 0 ActorMetadataField_ACTOR_METADATA_FIELD_NAME ActorMetadataField = 1 ActorMetadataField_ACTOR_METADATA_FIELD_ATESPACE ActorMetadataField = 2 ActorMetadataField_ACTOR_METADATA_FIELD_UID ActorMetadataField = 3 // Keep this in sync with ActorMetadataItem.field's maximum. )
func (ActorMetadataField) Descriptor ¶
func (ActorMetadataField) Descriptor() protoreflect.EnumDescriptor
func (ActorMetadataField) Enum ¶
func (x ActorMetadataField) Enum() *ActorMetadataField
func (ActorMetadataField) EnumDescriptor
deprecated
func (ActorMetadataField) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActorMetadataField.Descriptor instead.
func (ActorMetadataField) Number ¶
func (x ActorMetadataField) Number() protoreflect.EnumNumber
func (ActorMetadataField) String ¶
func (x ActorMetadataField) String() string
func (ActorMetadataField) Type ¶
func (ActorMetadataField) Type() protoreflect.EnumType
type ActorMetadataItem ¶
type ActorMetadataItem struct {
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=3 # keep this in sync with the ActorMetadataField enum
Field ActorMetadataField `protobuf:"varint,1,opt,name=field,proto3,enum=substrate.ateapi.v1.ActorMetadataField" json:"field,omitempty"`
// path must be a clean relative Unix path: at most 16 '/'-separated
// segments, none of them empty, '.' or '..', and no NUL byte.
//
// +k8s:required
// +k8s:minLength=1
// +k8s:maxLength=255
// +k8s:customValidation # projected-path rule shared with atelet, see internal/volumepath
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
ActorMetadataItem projects one actor identity field to a file at path, a clean relative Unix path from the root of the volume.
func (*ActorMetadataItem) Descriptor
deprecated
func (*ActorMetadataItem) Descriptor() ([]byte, []int)
Deprecated: Use ActorMetadataItem.ProtoReflect.Descriptor instead.
func (*ActorMetadataItem) GetField ¶
func (x *ActorMetadataItem) GetField() ActorMetadataField
func (*ActorMetadataItem) GetPath ¶
func (x *ActorMetadataItem) GetPath() string
func (*ActorMetadataItem) ProtoMessage ¶
func (*ActorMetadataItem) ProtoMessage()
func (*ActorMetadataItem) ProtoReflect ¶
func (x *ActorMetadataItem) ProtoReflect() protoreflect.Message
func (*ActorMetadataItem) Reset ¶
func (x *ActorMetadataItem) Reset()
func (*ActorMetadataItem) String ¶
func (x *ActorMetadataItem) String() string
type ActorSandboxRuntime ¶
type ActorSandboxRuntime struct {
// e.g. "gvisor", "microvm"
//
// +k8s:required
// +k8s:maxLength=63
// +k8s:customValidation # gvisor or microvm
SandboxClass string `protobuf:"bytes,1,opt,name=sandbox_class,json=sandboxClass,proto3" json:"sandbox_class,omitempty"`
// Compatibility version of the runtime. A snapshot stamped with it can
// warm-boot on a worker whose runtime of this class matches it.
//
// +k8s:required
Version *VersionedSandboxCompat `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
// contains filtered or unexported fields
}
ActorSandboxRuntime is the runtime an actor runs under, as recorded on its assignment and on the snapshots taken from it: one class and one of the compatibility versions a Worker reports for it.
func (*ActorSandboxRuntime) Descriptor
deprecated
func (*ActorSandboxRuntime) Descriptor() ([]byte, []int)
Deprecated: Use ActorSandboxRuntime.ProtoReflect.Descriptor instead.
func (*ActorSandboxRuntime) GetSandboxClass ¶
func (x *ActorSandboxRuntime) GetSandboxClass() string
func (*ActorSandboxRuntime) GetVersion ¶
func (x *ActorSandboxRuntime) GetVersion() *VersionedSandboxCompat
func (*ActorSandboxRuntime) ProtoMessage ¶
func (*ActorSandboxRuntime) ProtoMessage()
func (*ActorSandboxRuntime) ProtoReflect ¶
func (x *ActorSandboxRuntime) ProtoReflect() protoreflect.Message
func (*ActorSandboxRuntime) Reset ¶
func (x *ActorSandboxRuntime) Reset()
func (*ActorSandboxRuntime) String ¶
func (x *ActorSandboxRuntime) String() string
type ActorSnapshotState ¶
type ActorSnapshotState struct {
// The snapshot atelet restores the Actor from locally. Unset once a detach
// has made the snapshot durable and begun deleting it; latest_durable is
// then the Actor's latest snapshot.
//
// +k8s:optional
LatestLocal *SnapshotReport `protobuf:"bytes,1,opt,name=latest_local,json=latestLocal,proto3" json:"latest_local,omitempty"`
// The snapshot an in-flight upload is reading, if any.
//
// +k8s:optional
Uploading *SnapshotReport `protobuf:"bytes,2,opt,name=uploading,proto3" json:"uploading,omitempty"`
// The newest snapshot atelet knows is durable, whether or not the control
// plane has recorded it. Unset says nothing about older durable snapshots.
//
// +k8s:optional
LatestDurable *SnapshotReport `protobuf:"bytes,3,opt,name=latest_durable,json=latestDurable,proto3" json:"latest_durable,omitempty"`
// When atelet next plans to upload latest_local. Advisory: a promote or
// detach can upload it sooner.
//
// +k8s:optional
UploadDueTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=upload_due_time,json=uploadDueTime,proto3" json:"upload_due_time,omitempty"`
// contains filtered or unexported fields
}
ActorSnapshotState is what atelet holds for one Actor on its node. It mirrors atelet's ActorSnapshotState, flattened: atelet's SnapshotReport nests its own Snapshot message, which this API's Snapshot is not.
func (*ActorSnapshotState) Descriptor
deprecated
func (*ActorSnapshotState) Descriptor() ([]byte, []int)
Deprecated: Use ActorSnapshotState.ProtoReflect.Descriptor instead.
func (*ActorSnapshotState) GetLatestDurable ¶
func (x *ActorSnapshotState) GetLatestDurable() *SnapshotReport
func (*ActorSnapshotState) GetLatestLocal ¶
func (x *ActorSnapshotState) GetLatestLocal() *SnapshotReport
func (*ActorSnapshotState) GetUploadDueTime ¶
func (x *ActorSnapshotState) GetUploadDueTime() *timestamppb.Timestamp
func (*ActorSnapshotState) GetUploading ¶
func (x *ActorSnapshotState) GetUploading() *SnapshotReport
func (*ActorSnapshotState) ProtoMessage ¶
func (*ActorSnapshotState) ProtoMessage()
func (*ActorSnapshotState) ProtoReflect ¶
func (x *ActorSnapshotState) ProtoReflect() protoreflect.Message
func (*ActorSnapshotState) Reset ¶
func (x *ActorSnapshotState) Reset()
func (*ActorSnapshotState) String ¶
func (x *ActorSnapshotState) String() string
type ActorState ¶
type ActorState int32
const ( ActorState_ACTOR_STATE_UNSPECIFIED ActorState = 0 ActorState_ACTOR_STATE_RESUMING ActorState = 1 ActorState_ACTOR_STATE_RUNNING ActorState = 2 ActorState_ACTOR_STATE_SUSPENDING ActorState = 3 ActorState_ACTOR_STATE_SUSPENDED ActorState = 4 ActorState_ACTOR_STATE_CRASHED ActorState = 5 ActorState_ACTOR_STATE_DELETING ActorState = 6 ActorState_ACTOR_STATE_REVERTING ActorState = 7 // Keep this in sync with ActorStatus.state's maximum. )
func (ActorState) Descriptor ¶
func (ActorState) Descriptor() protoreflect.EnumDescriptor
func (ActorState) Enum ¶
func (x ActorState) Enum() *ActorState
func (ActorState) EnumDescriptor
deprecated
func (ActorState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ActorState.Descriptor instead.
func (ActorState) Number ¶
func (x ActorState) Number() protoreflect.EnumNumber
func (ActorState) String ¶
func (x ActorState) String() string
func (ActorState) Type ¶
func (ActorState) Type() protoreflect.EnumType
type ActorStatus ¶
type ActorStatus struct {
// state is the Actor's current lifecycle state.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=7 # keep this in sync with the ActorState enum
State ActorState `protobuf:"varint,1,opt,name=state,proto3,enum=substrate.ateapi.v1.ActorState" json:"state,omitempty"`
// worker_assignment points at the worker currently hosting this Actor.
// Unset whenever the Actor has no worker (SUSPENDED, CRASHED).
//
// It can be set and cleared, but not pointed at another Worker in place:
// the fields that identify the Worker cannot change while it is set.
//
// +k8s:optional
WorkerAssignment *WorkerAssignment `protobuf:"bytes,2,opt,name=worker_assignment,json=workerAssignment,proto3" json:"worker_assignment,omitempty"`
// external_volumes is the state of the external volumes attached to the
// actor. These volumes only live as long as the actor and are deleted with
// it.
//
// +ate:preview=ExternalVolumes
// +k8s:optional
ExternalVolumes *ExternalVolumes `protobuf:"bytes,3,opt,name=external_volumes,json=externalVolumes,proto3" json:"external_volumes,omitempty"`
// crash records why and when the Actor entered CRASHED. It is set with the
// CRASHED state and cleared when a revert returns the Actor to SUSPENDED.
//
// +k8s:optional
Crash *ActorCrash `protobuf:"bytes,4,opt,name=crash,proto3" json:"crash,omitempty"`
// assigned_node is the node hosting the Actor's worker or local snapshot.
// A suspended Actor remains attached while its local snapshot is kept.
// Detach or revert clears the binding.
//
// +k8s:optional
// +k8s:format=k8s-long-name
AssignedNode string `protobuf:"bytes,5,opt,name=assigned_node,json=assignedNode,proto3" json:"assigned_node,omitempty"`
// snapshots holds the Actor's active and in-progress snapshot generations.
//
// +k8s:optional
// +k8s:maxItems=16
// +k8s:listType=atomic
// +k8s:unique=map
// +k8s:listMapKey=generation
Snapshots []*Snapshot `protobuf:"bytes,6,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
// last_assigned_generation tracks the last snapshot generation assigned for
// this Actor during a Suspend request.
// Even during Revert, the generation is not decreased to keep track of snapshots
// that have become stale and need to be cleaned up.
//
// +k8s:optional
// +k8s:alpha(since: "0.0")=+k8s:monotonic # TODO: get rid of alpha prefix
// +k8s:minimum=0
// +k8s:update=NoUnset
LastAssignedGeneration int32 `` /* 130-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ActorStatus) Descriptor
deprecated
func (*ActorStatus) Descriptor() ([]byte, []int)
Deprecated: Use ActorStatus.ProtoReflect.Descriptor instead.
func (*ActorStatus) GetAssignedNode ¶
func (x *ActorStatus) GetAssignedNode() string
func (*ActorStatus) GetCrash ¶
func (x *ActorStatus) GetCrash() *ActorCrash
func (*ActorStatus) GetExternalVolumes ¶
func (x *ActorStatus) GetExternalVolumes() *ExternalVolumes
func (*ActorStatus) GetLastAssignedGeneration ¶
func (x *ActorStatus) GetLastAssignedGeneration() int32
func (*ActorStatus) GetSnapshots ¶
func (x *ActorStatus) GetSnapshots() []*Snapshot
func (*ActorStatus) GetState ¶
func (x *ActorStatus) GetState() ActorState
func (*ActorStatus) GetWorkerAssignment ¶
func (x *ActorStatus) GetWorkerAssignment() *WorkerAssignment
func (*ActorStatus) ProtoMessage ¶
func (*ActorStatus) ProtoMessage()
func (*ActorStatus) ProtoReflect ¶
func (x *ActorStatus) ProtoReflect() protoreflect.Message
func (*ActorStatus) Reset ¶
func (x *ActorStatus) Reset()
func (*ActorStatus) String ¶
func (x *ActorStatus) String() string
type ActorTemplate ¶
type ActorTemplate struct {
// Common resource metadata: atespace, name, uid, version, timestamps.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Metadata *ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// worker_selector restricts which worker pools actors from this template
// may use, by matching the pools' labels. Unset, every pool is eligible.
//
// The pool decides the sandbox class an actor runs in, so this selector is
// also how a template pins one: if the cluster runs pools of more than one
// sandbox class and the workload needs a particular one, select only pools
// of that class. An actor booting with no snapshot and no selector may land
// on a pool of any class, and keeps that class from its first checkpoint on.
//
// +k8s:optional
WorkerSelector *Selector `protobuf:"bytes,2,opt,name=worker_selector,json=workerSelector,proto3" json:"worker_selector,omitempty"`
// +k8s:required # at least one container
// +k8s:maxItems=10
// +k8s:listType=map
// +k8s:listMapKey=name
Containers []*Container `protobuf:"bytes,3,rep,name=containers,proto3" json:"containers,omitempty"`
// +k8s:optional
// +k8s:maxItems=32
// +k8s:listType=map
// +k8s:listMapKey=name
Volumes []*Volume `protobuf:"bytes,4,rep,name=volumes,proto3" json:"volumes,omitempty"`
// snapshot_config selects what actor snapshots capture and where they are
// stored. Optional: when omitted, every field takes its default.
//
// +k8s:optional
SnapshotConfig *SnapshotConfig `protobuf:"bytes,5,opt,name=snapshot_config,json=snapshotConfig,proto3" json:"snapshot_config,omitempty"`
// resources is the actor's compute size. Both cpu and memory limits are
// required: the scheduler books them against worker capacity, and a
// micro-VM is booted at that size.
//
// +k8s:required
// +k8s:customValidation # cpu and memory limits are both set
Resources *ResourceRequirements `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"`
// Egress policy for the golden Actor during initialization. The template
// controller creates a policy with these rules through CreateActorEgressPolicy
// before it resumes the golden Actor. Other Actors created from this template
// do not inherit this policy, including when using the golden snapshot.
// If absent, no policy is created. When set, at least one rule is required.
// May not be set when snapshot_config.golden_snapshot_config.mode is DISABLED.
//
// +ate:preview=GoldenEgressPolicy
// +k8s:ifDisabled(GoldenEgressPolicy)=+k8s:forbidden
// +k8s:optional
GoldenEgressPolicy *EgressPolicyTemplate `protobuf:"bytes,9,opt,name=golden_egress_policy,json=goldenEgressPolicy,proto3" json:"golden_egress_policy,omitempty"`
// +k8s:optional
Status *ActorTemplateStatus `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
func (*ActorTemplate) Descriptor
deprecated
func (*ActorTemplate) Descriptor() ([]byte, []int)
Deprecated: Use ActorTemplate.ProtoReflect.Descriptor instead.
func (*ActorTemplate) GetContainers ¶
func (x *ActorTemplate) GetContainers() []*Container
func (*ActorTemplate) GetGoldenEgressPolicy ¶
func (x *ActorTemplate) GetGoldenEgressPolicy() *EgressPolicyTemplate
func (*ActorTemplate) GetMetadata ¶
func (x *ActorTemplate) GetMetadata() *ResourceMetadata
func (*ActorTemplate) GetResources ¶
func (x *ActorTemplate) GetResources() *ResourceRequirements
func (*ActorTemplate) GetSnapshotConfig ¶
func (x *ActorTemplate) GetSnapshotConfig() *SnapshotConfig
func (*ActorTemplate) GetStatus ¶
func (x *ActorTemplate) GetStatus() *ActorTemplateStatus
func (*ActorTemplate) GetVolumes ¶
func (x *ActorTemplate) GetVolumes() []*Volume
func (*ActorTemplate) GetWorkerSelector ¶
func (x *ActorTemplate) GetWorkerSelector() *Selector
func (*ActorTemplate) ProtoMessage ¶
func (*ActorTemplate) ProtoMessage()
func (*ActorTemplate) ProtoReflect ¶
func (x *ActorTemplate) ProtoReflect() protoreflect.Message
func (*ActorTemplate) Reset ¶
func (x *ActorTemplate) Reset()
func (*ActorTemplate) String ¶
func (x *ActorTemplate) String() string
type ActorTemplateStatus ¶
type ActorTemplateStatus struct {
// +k8s:optional
GoldenSnapshotStatus *GoldenSnapshotStatus `protobuf:"bytes,1,opt,name=golden_snapshot_status,json=goldenSnapshotStatus,proto3" json:"golden_snapshot_status,omitempty"`
// contains filtered or unexported fields
}
func (*ActorTemplateStatus) Descriptor
deprecated
func (*ActorTemplateStatus) Descriptor() ([]byte, []int)
Deprecated: Use ActorTemplateStatus.ProtoReflect.Descriptor instead.
func (*ActorTemplateStatus) GetGoldenSnapshotStatus ¶
func (x *ActorTemplateStatus) GetGoldenSnapshotStatus() *GoldenSnapshotStatus
func (*ActorTemplateStatus) ProtoMessage ¶
func (*ActorTemplateStatus) ProtoMessage()
func (*ActorTemplateStatus) ProtoReflect ¶
func (x *ActorTemplateStatus) ProtoReflect() protoreflect.Message
func (*ActorTemplateStatus) Reset ¶
func (x *ActorTemplateStatus) Reset()
func (*ActorTemplateStatus) String ¶
func (x *ActorTemplateStatus) String() string
type AllPorts ¶
type AllPorts struct {
// contains filtered or unexported fields
}
AllPorts selects every port. It has no fields.
func (*AllPorts) Descriptor
deprecated
func (*AllPorts) ProtoMessage ¶
func (*AllPorts) ProtoMessage()
func (*AllPorts) ProtoReflect ¶
func (x *AllPorts) ProtoReflect() protoreflect.Message
type Atespace ¶
type Atespace struct {
// Common resource metadata: name, uid, version, timestamps.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Metadata *ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}
Atespace is the isolation boundary an Actor is created into. Global-scoped: metadata.atespace is always empty; the atespace's identity is metadata.name.
func (*Atespace) Descriptor
deprecated
func (*Atespace) GetMetadata ¶
func (x *Atespace) GetMetadata() *ResourceMetadata
func (*Atespace) ProtoMessage ¶
func (*Atespace) ProtoMessage()
func (*Atespace) ProtoReflect ¶
func (x *Atespace) ProtoReflect() protoreflect.Message
type AttributeEntry ¶
type AttributeEntry struct {
// Attribute name (e.g. "architecture", "cpu_features", "sandbox_bundle_hash").
//
// +k8s:required
// +k8s:maxLength=128
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Attribute value corresponding to key.
//
// +k8s:required
// +k8s:maxLength=256
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
AttributeEntry is a single key-value compatibility attribute.
func (*AttributeEntry) Descriptor
deprecated
func (*AttributeEntry) Descriptor() ([]byte, []int)
Deprecated: Use AttributeEntry.ProtoReflect.Descriptor instead.
func (*AttributeEntry) GetKey ¶
func (x *AttributeEntry) GetKey() string
func (*AttributeEntry) GetValue ¶
func (x *AttributeEntry) GetValue() string
func (*AttributeEntry) ProtoMessage ¶
func (*AttributeEntry) ProtoMessage()
func (*AttributeEntry) ProtoReflect ¶
func (x *AttributeEntry) ProtoReflect() protoreflect.Message
func (*AttributeEntry) Reset ¶
func (x *AttributeEntry) Reset()
func (*AttributeEntry) String ¶
func (x *AttributeEntry) String() string
type Binding ¶
type Binding struct {
// The role name for the parent resource type (e.g., "owner", "editor",
// "viewer").
//
// +k8s:required
// +k8s:maxLength=64
Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
// Principal identities granted this role.
// Examples:
// - "user:alice@example.com"
// - "user:sa-ci-runner"
//
// +k8s:required
// +k8s:listType=set
// +k8s:maxItems=1500
// +k8s:eachVal=+k8s:maxLength=512
Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
// contains filtered or unexported fields
}
Binding associates a list of principals (members) with a single role.
func (*Binding) Descriptor
deprecated
func (*Binding) GetMembers ¶
func (*Binding) ProtoMessage ¶
func (*Binding) ProtoMessage()
func (*Binding) ProtoReflect ¶
func (x *Binding) ProtoReflect() protoreflect.Message
type Capabilities ¶
type Capabilities struct {
// add lists capabilities to grant on top of the default set. Only
// AUDIT_WRITE, CHOWN, DAC_OVERRIDE, FOWNER, FSETID, KILL, NET_BIND_SERVICE,
// SETFCAP, SETGID, SETPCAP, SETUID and SYS_CHROOT are accepted.
//
// +k8s:optional
// +k8s:maxItems=64
// +k8s:listType=set
// +k8s:customValidation # one of resources.AllowedAddCapabilities
Add []string `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"`
// drop lists capabilities to remove from the default set. "ALL" drops the
// whole set, so drop+add expresses an exact set rather than a relative one.
//
// +k8s:optional
// +k8s:maxItems=64
// +k8s:listType=set
// +k8s:customValidation # a Linux capability name or "ALL"
Drop []string `protobuf:"bytes,2,rep,name=drop,proto3" json:"drop,omitempty"`
// contains filtered or unexported fields
}
Capabilities adjusts a container's Linux capabilities relative to the default set. Drop applies first, then add, so a capability in both is granted. Capabilities are named without the "CAP_" prefix; "ALL" in drop removes the whole default set.
func (*Capabilities) Descriptor
deprecated
func (*Capabilities) Descriptor() ([]byte, []int)
Deprecated: Use Capabilities.ProtoReflect.Descriptor instead.
func (*Capabilities) GetAdd ¶
func (x *Capabilities) GetAdd() []string
func (*Capabilities) GetDrop ¶
func (x *Capabilities) GetDrop() []string
func (*Capabilities) ProtoMessage ¶
func (*Capabilities) ProtoMessage()
func (*Capabilities) ProtoReflect ¶
func (x *Capabilities) ProtoReflect() protoreflect.Message
func (*Capabilities) Reset ¶
func (x *Capabilities) Reset()
func (*Capabilities) String ¶
func (x *Capabilities) String() string
type Container ¶
type Container struct {
// +k8s:required
// +k8s:format=k8s-short-name
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// image is the OCI image reference the container runs:
// [registry/]repository[:tag]@digest. Must be pinned by digest
// (e.g. "name@sha256:...").
//
// +k8s:required
// +k8s:maxLength=512 # matches ImageVolumeSource.reference's bound
// +k8s:customValidation # must be a well-formed image reference, pinned by digest
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
// Entrypoint array; when set, the image's ENTRYPOINT and CMD are both
// ignored and the process argv is command + args. Unlike Kubernetes,
// $(VAR_NAME) references are NOT expanded.
//
// +k8s:optional
// +k8s:maxItems=64
// +k8s:listType=atomic
// +k8s:eachVal=+k8s:maxLength=4096 # argv strings; guardrail, not a contract
Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`
// Arguments to the entrypoint; the image's CMD is used if unset (unless
// command is set, which discards the image's CMD).
//
// +k8s:optional
// +k8s:maxItems=64
// +k8s:listType=atomic
// +k8s:eachVal=+k8s:maxLength=4096 # argv strings; guardrail, not a contract
Args []string `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"`
// Env variables to set in the container's process environment. Unlike
// Kubernetes, $(VAR_NAME) references are NOT expanded in this field.
//
// +k8s:optional
// +k8s:maxItems=32
// +k8s:listType=map # each variable is set at most once
// +k8s:listMapKey=name
Env []*EnvVar `protobuf:"bytes,5,rep,name=env,proto3" json:"env,omitempty"`
// wakeup_probe gates each wakeup on this container: ResumeActor returns
// only after the probe answers HTTP 200. Without it, ResumeActor returns
// as soon as the container has started, which may be before it listens.
//
// +k8s:optional
WakeupProbe *WakeupProbe `protobuf:"bytes,6,opt,name=wakeup_probe,json=wakeupProbe,proto3" json:"wakeup_probe,omitempty"`
// Keyed by mount_path: each path hosts exactly one mount, while a volume
// may be mounted at multiple paths.
//
// +k8s:optional
// +k8s:maxItems=32
// +k8s:listType=map
// +k8s:listMapKey=mount_path
// +k8s:customValidation # mounts must not nest
VolumeMounts []*VolumeMount `protobuf:"bytes,7,rep,name=volume_mounts,json=volumeMounts,proto3" json:"volume_mounts,omitempty"`
// security_context adjusts the container's security settings. Unset leaves
// the default capability set.
//
// +k8s:optional
SecurityContext *SecurityContext `protobuf:"bytes,8,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
// resources carries this container's compute limits, enforced inside the
// actor's sandbox. A limit of 0 leaves that resource unlimited.
//
// +k8s:optional
Resources *ResourceRequirements `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
Container is a single application container of an ActorTemplate.
func (*Container) Descriptor
deprecated
func (*Container) GetCommand ¶
func (*Container) GetResources ¶
func (x *Container) GetResources() *ResourceRequirements
func (*Container) GetSecurityContext ¶
func (x *Container) GetSecurityContext() *SecurityContext
func (*Container) GetVolumeMounts ¶
func (x *Container) GetVolumeMounts() []*VolumeMount
func (*Container) GetWakeupProbe ¶
func (x *Container) GetWakeupProbe() *WakeupProbe
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type ControlClient ¶
type ControlClient interface {
// Get an Actor.
GetActor(ctx context.Context, in *GetActorRequest, opts ...grpc.CallOption) (*Actor, error)
// Create a new Actor deriving from a given ActorTemplate.
CreateActor(ctx context.Context, in *CreateActorRequest, opts ...grpc.CallOption) (*Actor, error)
// Update mutable fields on an existing Actor.
UpdateActor(ctx context.Context, in *UpdateActorRequest, opts ...grpc.CallOption) (*Actor, error)
// Suspend a given actor to a new snapshot. A running actor is checkpointed
// on its worker. A SUSPENDED actor is returned as it is.
SuspendActor(ctx context.Context, in *SuspendActorRequest, opts ...grpc.CallOption) (*SuspendActorResponse, error)
// Resume an actor from its latest snapshot.
ResumeActor(ctx context.Context, in *ResumeActorRequest, opts ...grpc.CallOption) (*ResumeActorResponse, error)
// Revert an actor to SUSPENDED state at its durable snapshot.
// Only crashed or running actors, or suspended actors with a node-local
// snapshot, can be reverted. A suspended actor without a node-local snapshot
// is already at its durable snapshot, so there is nothing to revert.
RevertActor(ctx context.Context, in *RevertActorRequest, opts ...grpc.CallOption) (*RevertActorResponse, error)
// Delete an actor. A running actor's workload is terminated, its volumes
// detached, and its worker released before the record is removed.
DeleteActor(ctx context.Context, in *DeleteActorRequest, opts ...grpc.CallOption) (*Actor, error)
// Get the egress policy resource nested under an Actor.
GetActorEgressPolicy(ctx context.Context, in *GetActorEgressPolicyRequest, opts ...grpc.CallOption) (*EgressPolicy, error)
// Create the egress policy resource nested under an Actor.
CreateActorEgressPolicy(ctx context.Context, in *CreateActorEgressPolicyRequest, opts ...grpc.CallOption) (*EgressPolicy, error)
// Replace the egress policy resource nested under an Actor.
UpdateActorEgressPolicy(ctx context.Context, in *UpdateActorEgressPolicyRequest, opts ...grpc.CallOption) (*EgressPolicy, error)
// Delete the egress policy resource nested under an Actor.
DeleteActorEgressPolicy(ctx context.Context, in *DeleteActorEgressPolicyRequest, opts ...grpc.CallOption) (*EgressPolicy, error)
// Create a Substrate-issued JWT asserting the actor identity.
//
// * Called by the egress gateway when actor JWT injection is configured for outbound requests.
MintActorJwt(ctx context.Context, in *MintActorJwtRequest, opts ...grpc.CallOption) (*MintActorJwtResponse, error)
// Tag the external snapshot a suspended Actor holds. The tag gets its own
// copy of that snapshot, so suspending or deleting the Actor afterwards
// cannot collect it. When the Actor's latest snapshot is not uploaded yet,
// atelet uploads it first, so the call can take as long as that upload.
CreateTag(ctx context.Context, in *CreateTagRequest, opts ...grpc.CallOption) (*Tag, error)
// Get a Tag.
GetTag(ctx context.Context, in *GetTagRequest, opts ...grpc.CallOption) (*Tag, error)
// List Tags.
ListTags(ctx context.Context, in *ListTagsRequest, opts ...grpc.CallOption) (*ListTagsResponse, error)
// Publish or unpublish a Tag without changing its address.
UpdateTag(ctx context.Context, in *UpdateTagRequest, opts ...grpc.CallOption) (*Tag, error)
// Delete a Tag and the external snapshot it owns. Actors created from the
// tag that have not yet been suspended still point at that external snapshot
// and become unrecoverable, so do not delete a tag while such Actors exist.
DeleteTag(ctx context.Context, in *DeleteTagRequest, opts ...grpc.CallOption) (*Tag, error)
// List Workers.
ListWorkers(ctx context.Context, in *ListWorkersRequest, opts ...grpc.CallOption) (*ListWorkersResponse, error)
// Get a Worker.
GetWorker(ctx context.Context, in *GetWorkerRequest, opts ...grpc.CallOption) (*Worker, error)
// Register a Worker. Called once its Pod has an IP. A Worker is registered
// UNAVAILABLE and takes no Actors until MarkWorkerAvailable.
CreateWorker(ctx context.Context, in *CreateWorkerRequest, opts ...grpc.CallOption) (*Worker, error)
// Update observed pool state on a Worker.
UpdateWorker(ctx context.Context, in *UpdateWorkerRequest, opts ...grpc.CallOption) (*Worker, error)
// Deregister a Worker. Does not cascade: the caller is responsible for
// cleaning up related resources first.
DeleteWorker(ctx context.Context, in *DeleteWorkerRequest, opts ...grpc.CallOption) (*Worker, error)
// Mark a Worker as terminating so the scheduler stops routing new Actors to
// it. Idempotent; one-way. Deliberately leaves any bound Actor alone.
// Returns ABORTED if another write lands on the Worker first; retry.
DrainWorker(ctx context.Context, in *DrainWorkerRequest, opts ...grpc.CallOption) (*DrainWorkerResponse, error)
// Mark an UNAVAILABLE Worker ACTIVE so the scheduler places Actors on it.
// Idempotent. Returns FAILED_PRECONDITION for a DRAINING Worker, and ABORTED
// if another write lands on the Worker first; retry.
//
// Every Actor placed after this call is stamped with the Worker's epoch as
// it stands then, so a caller raises epoch for a restarted the worker first.
MarkWorkerAvailable(ctx context.Context, in *MarkWorkerAvailableRequest, opts ...grpc.CallOption) (*MarkWorkerAvailableResponse, error)
// it, as while its Pod is not Ready. Idempotent. Leaves any bound Actor
// alone. Returns FAILED_PRECONDITION for a DRAINING Worker, and ABORTED if
// another write lands on the Worker first; retry.
MarkWorkerUnavailable(ctx context.Context, in *MarkWorkerUnavailableRequest, opts ...grpc.CallOption) (*MarkWorkerUnavailableResponse, error)
// List the Actors hosted by a given Worker.
ListWorkerActorAssignments(ctx context.Context, in *ListWorkerActorAssignmentsRequest, opts ...grpc.CallOption) (*ListWorkerActorAssignmentsResponse, error)
// List Actors.
ListActors(ctx context.Context, in *ListActorsRequest, opts ...grpc.CallOption) (*ListActorsResponse, error)
// Create a new Atespace. Substrate-native, stored in database.
CreateAtespace(ctx context.Context, in *CreateAtespaceRequest, opts ...grpc.CallOption) (*Atespace, error)
// Get an Atespace by name.
GetAtespace(ctx context.Context, in *GetAtespaceRequest, opts ...grpc.CallOption) (*Atespace, error)
// List Atespaces.
ListAtespaces(ctx context.Context, in *ListAtespacesRequest, opts ...grpc.CallOption) (*ListAtespacesResponse, error)
// Delete an empty Atespace. Rejects (FailedPrecondition) if any Actors or
// Tags remain.
DeleteAtespace(ctx context.Context, in *DeleteAtespaceRequest, opts ...grpc.CallOption) (*Atespace, error)
CreateActorTemplate(ctx context.Context, in *CreateActorTemplateRequest, opts ...grpc.CallOption) (*ActorTemplate, error)
GetActorTemplate(ctx context.Context, in *GetActorTemplateRequest, opts ...grpc.CallOption) (*ActorTemplate, error)
ListActorTemplates(ctx context.Context, in *ListActorTemplatesRequest, opts ...grpc.CallOption) (*ListActorTemplatesResponse, error)
// Delete an ActorTemplate together with its golden actor and golden
// tag in the template's atespace.
DeleteActorTemplate(ctx context.Context, in *DeleteActorTemplateRequest, opts ...grpc.CallOption) (*ActorTemplate, error)
// Get the deployment-wide global access policy singleton. Returns NotFound
// until the policy has been created.
GetGlobalAccessPolicy(ctx context.Context, in *GetGlobalAccessPolicyRequest, opts ...grpc.CallOption) (*AccessPolicy, error)
// Create the deployment-wide global access policy singleton. The server's
// configured bootstrap owners are global owners whether or not this policy
// exists, so they can create it.
CreateGlobalAccessPolicy(ctx context.Context, in *CreateGlobalAccessPolicyRequest, opts ...grpc.CallOption) (*AccessPolicy, error)
// Replace the deployment-wide global access policy singleton. Empty
// bindings revoke every grant held through the policy; bootstrap owners
// keep access.
UpdateGlobalAccessPolicy(ctx context.Context, in *UpdateGlobalAccessPolicyRequest, opts ...grpc.CallOption) (*AccessPolicy, error)
// Get the access policy resource nested under an Atespace.
GetAtespaceAccessPolicy(ctx context.Context, in *GetAtespaceAccessPolicyRequest, opts ...grpc.CallOption) (*AccessPolicy, error)
// Create the access policy resource nested under an Atespace.
CreateAtespaceAccessPolicy(ctx context.Context, in *CreateAtespaceAccessPolicyRequest, opts ...grpc.CallOption) (*AccessPolicy, error)
// Replace the access policy resource nested under an Atespace.
UpdateAtespaceAccessPolicy(ctx context.Context, in *UpdateAtespaceAccessPolicyRequest, opts ...grpc.CallOption) (*AccessPolicy, error)
// Delete the access policy resource nested under an Atespace.
DeleteAtespaceAccessPolicy(ctx context.Context, in *DeleteAtespaceAccessPolicyRequest, opts ...grpc.CallOption) (*AccessPolicy, error)
}
ControlClient is the client API for Control 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.
Control is the primary RPC interface for Agentic Substrate.
func NewControlClient ¶
func NewControlClient(cc grpc.ClientConnInterface) ControlClient
type ControlServer ¶
type ControlServer interface {
// Get an Actor.
GetActor(context.Context, *GetActorRequest) (*Actor, error)
// Create a new Actor deriving from a given ActorTemplate.
CreateActor(context.Context, *CreateActorRequest) (*Actor, error)
// Update mutable fields on an existing Actor.
UpdateActor(context.Context, *UpdateActorRequest) (*Actor, error)
// Suspend a given actor to a new snapshot. A running actor is checkpointed
// on its worker. A SUSPENDED actor is returned as it is.
SuspendActor(context.Context, *SuspendActorRequest) (*SuspendActorResponse, error)
// Resume an actor from its latest snapshot.
ResumeActor(context.Context, *ResumeActorRequest) (*ResumeActorResponse, error)
// Revert an actor to SUSPENDED state at its durable snapshot.
// Only crashed or running actors, or suspended actors with a node-local
// snapshot, can be reverted. A suspended actor without a node-local snapshot
// is already at its durable snapshot, so there is nothing to revert.
RevertActor(context.Context, *RevertActorRequest) (*RevertActorResponse, error)
// Delete an actor. A running actor's workload is terminated, its volumes
// detached, and its worker released before the record is removed.
DeleteActor(context.Context, *DeleteActorRequest) (*Actor, error)
// Get the egress policy resource nested under an Actor.
GetActorEgressPolicy(context.Context, *GetActorEgressPolicyRequest) (*EgressPolicy, error)
// Create the egress policy resource nested under an Actor.
CreateActorEgressPolicy(context.Context, *CreateActorEgressPolicyRequest) (*EgressPolicy, error)
// Replace the egress policy resource nested under an Actor.
UpdateActorEgressPolicy(context.Context, *UpdateActorEgressPolicyRequest) (*EgressPolicy, error)
// Delete the egress policy resource nested under an Actor.
DeleteActorEgressPolicy(context.Context, *DeleteActorEgressPolicyRequest) (*EgressPolicy, error)
// Create a Substrate-issued JWT asserting the actor identity.
//
// * Called by the egress gateway when actor JWT injection is configured for outbound requests.
MintActorJwt(context.Context, *MintActorJwtRequest) (*MintActorJwtResponse, error)
// Tag the external snapshot a suspended Actor holds. The tag gets its own
// copy of that snapshot, so suspending or deleting the Actor afterwards
// cannot collect it. When the Actor's latest snapshot is not uploaded yet,
// atelet uploads it first, so the call can take as long as that upload.
CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
// Get a Tag.
GetTag(context.Context, *GetTagRequest) (*Tag, error)
// List Tags.
ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
// Publish or unpublish a Tag without changing its address.
UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)
// Delete a Tag and the external snapshot it owns. Actors created from the
// tag that have not yet been suspended still point at that external snapshot
// and become unrecoverable, so do not delete a tag while such Actors exist.
DeleteTag(context.Context, *DeleteTagRequest) (*Tag, error)
// List Workers.
ListWorkers(context.Context, *ListWorkersRequest) (*ListWorkersResponse, error)
// Get a Worker.
GetWorker(context.Context, *GetWorkerRequest) (*Worker, error)
// Register a Worker. Called once its Pod has an IP. A Worker is registered
// UNAVAILABLE and takes no Actors until MarkWorkerAvailable.
CreateWorker(context.Context, *CreateWorkerRequest) (*Worker, error)
// Update observed pool state on a Worker.
UpdateWorker(context.Context, *UpdateWorkerRequest) (*Worker, error)
// Deregister a Worker. Does not cascade: the caller is responsible for
// cleaning up related resources first.
DeleteWorker(context.Context, *DeleteWorkerRequest) (*Worker, error)
// Mark a Worker as terminating so the scheduler stops routing new Actors to
// it. Idempotent; one-way. Deliberately leaves any bound Actor alone.
// Returns ABORTED if another write lands on the Worker first; retry.
DrainWorker(context.Context, *DrainWorkerRequest) (*DrainWorkerResponse, error)
// Mark an UNAVAILABLE Worker ACTIVE so the scheduler places Actors on it.
// Idempotent. Returns FAILED_PRECONDITION for a DRAINING Worker, and ABORTED
// if another write lands on the Worker first; retry.
//
// Every Actor placed after this call is stamped with the Worker's epoch as
// it stands then, so a caller raises epoch for a restarted the worker first.
MarkWorkerAvailable(context.Context, *MarkWorkerAvailableRequest) (*MarkWorkerAvailableResponse, error)
// it, as while its Pod is not Ready. Idempotent. Leaves any bound Actor
// alone. Returns FAILED_PRECONDITION for a DRAINING Worker, and ABORTED if
// another write lands on the Worker first; retry.
MarkWorkerUnavailable(context.Context, *MarkWorkerUnavailableRequest) (*MarkWorkerUnavailableResponse, error)
// List the Actors hosted by a given Worker.
ListWorkerActorAssignments(context.Context, *ListWorkerActorAssignmentsRequest) (*ListWorkerActorAssignmentsResponse, error)
// List Actors.
ListActors(context.Context, *ListActorsRequest) (*ListActorsResponse, error)
// Create a new Atespace. Substrate-native, stored in database.
CreateAtespace(context.Context, *CreateAtespaceRequest) (*Atespace, error)
// Get an Atespace by name.
GetAtespace(context.Context, *GetAtespaceRequest) (*Atespace, error)
// List Atespaces.
ListAtespaces(context.Context, *ListAtespacesRequest) (*ListAtespacesResponse, error)
// Delete an empty Atespace. Rejects (FailedPrecondition) if any Actors or
// Tags remain.
DeleteAtespace(context.Context, *DeleteAtespaceRequest) (*Atespace, error)
CreateActorTemplate(context.Context, *CreateActorTemplateRequest) (*ActorTemplate, error)
GetActorTemplate(context.Context, *GetActorTemplateRequest) (*ActorTemplate, error)
ListActorTemplates(context.Context, *ListActorTemplatesRequest) (*ListActorTemplatesResponse, error)
// Delete an ActorTemplate together with its golden actor and golden
// tag in the template's atespace.
DeleteActorTemplate(context.Context, *DeleteActorTemplateRequest) (*ActorTemplate, error)
// Get the deployment-wide global access policy singleton. Returns NotFound
// until the policy has been created.
GetGlobalAccessPolicy(context.Context, *GetGlobalAccessPolicyRequest) (*AccessPolicy, error)
// Create the deployment-wide global access policy singleton. The server's
// configured bootstrap owners are global owners whether or not this policy
// exists, so they can create it.
CreateGlobalAccessPolicy(context.Context, *CreateGlobalAccessPolicyRequest) (*AccessPolicy, error)
// Replace the deployment-wide global access policy singleton. Empty
// bindings revoke every grant held through the policy; bootstrap owners
// keep access.
UpdateGlobalAccessPolicy(context.Context, *UpdateGlobalAccessPolicyRequest) (*AccessPolicy, error)
// Get the access policy resource nested under an Atespace.
GetAtespaceAccessPolicy(context.Context, *GetAtespaceAccessPolicyRequest) (*AccessPolicy, error)
// Create the access policy resource nested under an Atespace.
CreateAtespaceAccessPolicy(context.Context, *CreateAtespaceAccessPolicyRequest) (*AccessPolicy, error)
// Replace the access policy resource nested under an Atespace.
UpdateAtespaceAccessPolicy(context.Context, *UpdateAtespaceAccessPolicyRequest) (*AccessPolicy, error)
// Delete the access policy resource nested under an Atespace.
DeleteAtespaceAccessPolicy(context.Context, *DeleteAtespaceAccessPolicyRequest) (*AccessPolicy, error)
// contains filtered or unexported methods
}
ControlServer is the server API for Control service. All implementations must embed UnimplementedControlServer for forward compatibility.
Control is the primary RPC interface for Agentic Substrate.
type CreateActorEgressPolicyRequest ¶
type CreateActorEgressPolicyRequest struct {
// Parent Actor under which to create the policy resource.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// The policy to create. metadata.name must be "default" and
// metadata.atespace must match actor.atespace.
//
// +k8s:required
EgressPolicy *EgressPolicy `protobuf:"bytes,2,opt,name=egress_policy,json=egressPolicy,proto3" json:"egress_policy,omitempty"`
// contains filtered or unexported fields
}
CreateActorEgressPolicyRequest creates an egress policy for an Actor.
+k8s:customValidation # atespaces must match
func (*CreateActorEgressPolicyRequest) Descriptor
deprecated
func (*CreateActorEgressPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateActorEgressPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateActorEgressPolicyRequest) GetActor ¶
func (x *CreateActorEgressPolicyRequest) GetActor() *ObjectRef
func (*CreateActorEgressPolicyRequest) GetEgressPolicy ¶
func (x *CreateActorEgressPolicyRequest) GetEgressPolicy() *EgressPolicy
func (*CreateActorEgressPolicyRequest) ProtoMessage ¶
func (*CreateActorEgressPolicyRequest) ProtoMessage()
func (*CreateActorEgressPolicyRequest) ProtoReflect ¶
func (x *CreateActorEgressPolicyRequest) ProtoReflect() protoreflect.Message
func (*CreateActorEgressPolicyRequest) Reset ¶
func (x *CreateActorEgressPolicyRequest) Reset()
func (*CreateActorEgressPolicyRequest) String ¶
func (x *CreateActorEgressPolicyRequest) String() string
type CreateActorRequest ¶
type CreateActorRequest struct {
// The actor to create.
//
// +k8s:required
Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// contains filtered or unexported fields
}
Request to create a new Actor.
func (*CreateActorRequest) Descriptor
deprecated
func (*CreateActorRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateActorRequest.ProtoReflect.Descriptor instead.
func (*CreateActorRequest) GetActor ¶
func (x *CreateActorRequest) GetActor() *Actor
func (*CreateActorRequest) ProtoMessage ¶
func (*CreateActorRequest) ProtoMessage()
func (*CreateActorRequest) ProtoReflect ¶
func (x *CreateActorRequest) ProtoReflect() protoreflect.Message
func (*CreateActorRequest) Reset ¶
func (x *CreateActorRequest) Reset()
func (*CreateActorRequest) String ¶
func (x *CreateActorRequest) String() string
type CreateActorTemplateRequest ¶
type CreateActorTemplateRequest struct {
// The actor template version to create. Server-assigned metadata (uid,
// version, timestamps) is ignored, as are the status fields.
//
// +k8s:required
// +k8s:customValidation # volume_mounts must reference declared volumes; golden policy requires golden snapshots
ActorTemplate *ActorTemplate `protobuf:"bytes,1,opt,name=actor_template,json=actorTemplate,proto3" json:"actor_template,omitempty"`
// contains filtered or unexported fields
}
func (*CreateActorTemplateRequest) Descriptor
deprecated
func (*CreateActorTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateActorTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateActorTemplateRequest) GetActorTemplate ¶
func (x *CreateActorTemplateRequest) GetActorTemplate() *ActorTemplate
func (*CreateActorTemplateRequest) ProtoMessage ¶
func (*CreateActorTemplateRequest) ProtoMessage()
func (*CreateActorTemplateRequest) ProtoReflect ¶
func (x *CreateActorTemplateRequest) ProtoReflect() protoreflect.Message
func (*CreateActorTemplateRequest) Reset ¶
func (x *CreateActorTemplateRequest) Reset()
func (*CreateActorTemplateRequest) String ¶
func (x *CreateActorTemplateRequest) String() string
type CreateAtespaceAccessPolicyRequest ¶
type CreateAtespaceAccessPolicyRequest struct {
// Parent Atespace under which to create the policy resource.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Atespace *ObjectRef `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// The policy to create. metadata.name must be "default" and
// metadata.atespace must be empty.
//
// +k8s:required
AccessPolicy *AccessPolicy `protobuf:"bytes,2,opt,name=access_policy,json=accessPolicy,proto3" json:"access_policy,omitempty"`
// contains filtered or unexported fields
}
CreateAtespaceAccessPolicyRequest creates an access policy for an Atespace.
func (*CreateAtespaceAccessPolicyRequest) Descriptor
deprecated
func (*CreateAtespaceAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAtespaceAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateAtespaceAccessPolicyRequest) GetAccessPolicy ¶
func (x *CreateAtespaceAccessPolicyRequest) GetAccessPolicy() *AccessPolicy
func (*CreateAtespaceAccessPolicyRequest) GetAtespace ¶
func (x *CreateAtespaceAccessPolicyRequest) GetAtespace() *ObjectRef
func (*CreateAtespaceAccessPolicyRequest) ProtoMessage ¶
func (*CreateAtespaceAccessPolicyRequest) ProtoMessage()
func (*CreateAtespaceAccessPolicyRequest) ProtoReflect ¶
func (x *CreateAtespaceAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*CreateAtespaceAccessPolicyRequest) Reset ¶
func (x *CreateAtespaceAccessPolicyRequest) Reset()
func (*CreateAtespaceAccessPolicyRequest) String ¶
func (x *CreateAtespaceAccessPolicyRequest) String() string
type CreateAtespaceRequest ¶
type CreateAtespaceRequest struct {
// The atespace to create.
//
// +k8s:required
Atespace *Atespace `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// contains filtered or unexported fields
}
func (*CreateAtespaceRequest) Descriptor
deprecated
func (*CreateAtespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAtespaceRequest.ProtoReflect.Descriptor instead.
func (*CreateAtespaceRequest) GetAtespace ¶
func (x *CreateAtespaceRequest) GetAtespace() *Atespace
func (*CreateAtespaceRequest) ProtoMessage ¶
func (*CreateAtespaceRequest) ProtoMessage()
func (*CreateAtespaceRequest) ProtoReflect ¶
func (x *CreateAtespaceRequest) ProtoReflect() protoreflect.Message
func (*CreateAtespaceRequest) Reset ¶
func (x *CreateAtespaceRequest) Reset()
func (*CreateAtespaceRequest) String ¶
func (x *CreateAtespaceRequest) String() string
type CreateGlobalAccessPolicyRequest ¶
type CreateGlobalAccessPolicyRequest struct {
// The policy to create. metadata.name must be "default" and
// metadata.atespace must be empty.
//
// +k8s:required
AccessPolicy *AccessPolicy `protobuf:"bytes,1,opt,name=access_policy,json=accessPolicy,proto3" json:"access_policy,omitempty"`
// contains filtered or unexported fields
}
CreateGlobalAccessPolicyRequest creates the deployment-wide global access policy singleton.
func (*CreateGlobalAccessPolicyRequest) Descriptor
deprecated
func (*CreateGlobalAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGlobalAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*CreateGlobalAccessPolicyRequest) GetAccessPolicy ¶
func (x *CreateGlobalAccessPolicyRequest) GetAccessPolicy() *AccessPolicy
func (*CreateGlobalAccessPolicyRequest) ProtoMessage ¶
func (*CreateGlobalAccessPolicyRequest) ProtoMessage()
func (*CreateGlobalAccessPolicyRequest) ProtoReflect ¶
func (x *CreateGlobalAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*CreateGlobalAccessPolicyRequest) Reset ¶
func (x *CreateGlobalAccessPolicyRequest) Reset()
func (*CreateGlobalAccessPolicyRequest) String ¶
func (x *CreateGlobalAccessPolicyRequest) String() string
type CreateTagRequest ¶
type CreateTagRequest struct {
// The tag to create. metadata.atespace, metadata.name, scope and source_actor
// are honored; metadata.atespace must match source_actor's, and status is
// ignored on write.
//
// +k8s:required
Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
// contains filtered or unexported fields
}
Request to tag the external snapshot a suspended Actor holds.
The tag captures whichever snapshot the Actor holds when the call runs. An Actor keeps no snapshot history — each suspend replaces the last — so a suspend that lands between taking a snapshot and tagging it moves what gets tagged. That race is inherent and accepted: the tag means "the Actor as of this call", not "the snapshot some earlier suspend returned".
The tag is given its own copy of that snapshot, so it survives the Actor being suspended again or deleted. To retry a create that failed or timed out, delete the tag first, which collects whatever that attempt stranded, and create it again.
+k8s:customValidation # metadata.atespace must match source_actor.atespace
func (*CreateTagRequest) Descriptor
deprecated
func (*CreateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.
func (*CreateTagRequest) GetTag ¶
func (x *CreateTagRequest) GetTag() *Tag
func (*CreateTagRequest) ProtoMessage ¶
func (*CreateTagRequest) ProtoMessage()
func (*CreateTagRequest) ProtoReflect ¶
func (x *CreateTagRequest) ProtoReflect() protoreflect.Message
func (*CreateTagRequest) Reset ¶
func (x *CreateTagRequest) Reset()
func (*CreateTagRequest) String ¶
func (x *CreateTagRequest) String() string
type CreateWorkerRequest ¶
type CreateWorkerRequest struct {
// The Worker to register.
//
// +k8s:required
Worker *Worker `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
func (*CreateWorkerRequest) Descriptor
deprecated
func (*CreateWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWorkerRequest.ProtoReflect.Descriptor instead.
func (*CreateWorkerRequest) GetWorker ¶
func (x *CreateWorkerRequest) GetWorker() *Worker
func (*CreateWorkerRequest) ProtoMessage ¶
func (*CreateWorkerRequest) ProtoMessage()
func (*CreateWorkerRequest) ProtoReflect ¶
func (x *CreateWorkerRequest) ProtoReflect() protoreflect.Message
func (*CreateWorkerRequest) Reset ¶
func (x *CreateWorkerRequest) Reset()
func (*CreateWorkerRequest) String ¶
func (x *CreateWorkerRequest) String() string
type CredentialHeader ¶
type CredentialHeader struct {
// The case-insensitive HTTP request header to replace when present.
//
// +k8s:required
// +k8s:customValidation # format
Header string `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
// Prepended verbatim to the credential value. Include any desired separator;
// for example, use "Bearer " (including the space) for Authorization.
//
// +k8s:optional
// +k8s:customValidation # format
Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
// Source-agnostic reference interpreted by a registered credential provider:
// `ate-secret://<provider-class>/<provider-name>/<provider-specific-tail>`
//
// Exactly one of credential_uri and actor_jwt must be set.
//
// +k8s:optional
// +k8s:unionMember
// +k8s:customValidation # format
CredentialUri string `protobuf:"bytes,3,opt,name=credential_uri,json=credentialUri,proto3" json:"credential_uri,omitempty"`
// A Substrate-issued JWT asserting the identity of the Actor that sent the
// request.
//
// +k8s:optional
// +k8s:unionMember
ActorJwt *ActorJwtSource `protobuf:"bytes,4,opt,name=actor_jwt,json=actorJwt,proto3" json:"actor_jwt,omitempty"`
// contains filtered or unexported fields
}
CredentialHeader replaces the value of an HTTP request header with a credential. The Actor sends the header with a placeholder value, such as `Authorization: <something>`; the gateway discards that value and forwards the header with the credential instead. The placeholder itself is not inspected, so any value works. A request without the header is not modified.
func (*CredentialHeader) Descriptor
deprecated
func (*CredentialHeader) Descriptor() ([]byte, []int)
Deprecated: Use CredentialHeader.ProtoReflect.Descriptor instead.
func (*CredentialHeader) GetActorJwt ¶
func (x *CredentialHeader) GetActorJwt() *ActorJwtSource
func (*CredentialHeader) GetCredentialUri ¶
func (x *CredentialHeader) GetCredentialUri() string
func (*CredentialHeader) GetHeader ¶
func (x *CredentialHeader) GetHeader() string
func (*CredentialHeader) GetPrefix ¶
func (x *CredentialHeader) GetPrefix() string
func (*CredentialHeader) ProtoMessage ¶
func (*CredentialHeader) ProtoMessage()
func (*CredentialHeader) ProtoReflect ¶
func (x *CredentialHeader) ProtoReflect() protoreflect.Message
func (*CredentialHeader) Reset ¶
func (x *CredentialHeader) Reset()
func (*CredentialHeader) String ¶
func (x *CredentialHeader) String() string
type DeleteActorEgressPolicyRequest ¶
type DeleteActorEgressPolicyRequest struct {
// The parent Actor of the egress policy resource to delete.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// Name of the singleton egress policy. Must be "default".
//
// +k8s:required
// +k8s:format=k8s-short-name
// +k8s:customValidation # must be "default"
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Optional per-delete preconditions.
//
// +k8s:optional
Options *DeleteOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
DeleteActorEgressPolicyRequest identifies an Actor's egress policy.
func (*DeleteActorEgressPolicyRequest) Descriptor
deprecated
func (*DeleteActorEgressPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteActorEgressPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteActorEgressPolicyRequest) GetActor ¶
func (x *DeleteActorEgressPolicyRequest) GetActor() *ObjectRef
func (*DeleteActorEgressPolicyRequest) GetName ¶
func (x *DeleteActorEgressPolicyRequest) GetName() string
func (*DeleteActorEgressPolicyRequest) GetOptions ¶
func (x *DeleteActorEgressPolicyRequest) GetOptions() *DeleteOptions
func (*DeleteActorEgressPolicyRequest) ProtoMessage ¶
func (*DeleteActorEgressPolicyRequest) ProtoMessage()
func (*DeleteActorEgressPolicyRequest) ProtoReflect ¶
func (x *DeleteActorEgressPolicyRequest) ProtoReflect() protoreflect.Message
func (*DeleteActorEgressPolicyRequest) Reset ¶
func (x *DeleteActorEgressPolicyRequest) Reset()
func (*DeleteActorEgressPolicyRequest) String ¶
func (x *DeleteActorEgressPolicyRequest) String() string
type DeleteActorRequest ¶
type DeleteActorRequest struct {
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// Optional per-delete preconditions.
//
// +k8s:optional
Options *DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteActorRequest) Descriptor
deprecated
func (*DeleteActorRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteActorRequest.ProtoReflect.Descriptor instead.
func (*DeleteActorRequest) GetActor ¶
func (x *DeleteActorRequest) GetActor() *ObjectRef
func (*DeleteActorRequest) GetOptions ¶
func (x *DeleteActorRequest) GetOptions() *DeleteOptions
func (*DeleteActorRequest) ProtoMessage ¶
func (*DeleteActorRequest) ProtoMessage()
func (*DeleteActorRequest) ProtoReflect ¶
func (x *DeleteActorRequest) ProtoReflect() protoreflect.Message
func (*DeleteActorRequest) Reset ¶
func (x *DeleteActorRequest) Reset()
func (*DeleteActorRequest) String ¶
func (x *DeleteActorRequest) String() string
type DeleteActorTemplateRequest ¶
type DeleteActorTemplateRequest struct {
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
ActorTemplate *ObjectRef `protobuf:"bytes,1,opt,name=actor_template,json=actorTemplate,proto3" json:"actor_template,omitempty"`
// Optional per-delete preconditions.
//
// +k8s:optional
Options *DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteActorTemplateRequest) Descriptor
deprecated
func (*DeleteActorTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteActorTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteActorTemplateRequest) GetActorTemplate ¶
func (x *DeleteActorTemplateRequest) GetActorTemplate() *ObjectRef
func (*DeleteActorTemplateRequest) GetOptions ¶
func (x *DeleteActorTemplateRequest) GetOptions() *DeleteOptions
func (*DeleteActorTemplateRequest) ProtoMessage ¶
func (*DeleteActorTemplateRequest) ProtoMessage()
func (*DeleteActorTemplateRequest) ProtoReflect ¶
func (x *DeleteActorTemplateRequest) ProtoReflect() protoreflect.Message
func (*DeleteActorTemplateRequest) Reset ¶
func (x *DeleteActorTemplateRequest) Reset()
func (*DeleteActorTemplateRequest) String ¶
func (x *DeleteActorTemplateRequest) String() string
type DeleteAtespaceAccessPolicyRequest ¶
type DeleteAtespaceAccessPolicyRequest struct {
// The parent Atespace of the access policy resource to delete.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Atespace *ObjectRef `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// Name of the singleton access policy. Must be "default".
//
// +k8s:required
// +k8s:format=k8s-short-name
// +k8s:customValidation # must be "default"
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Optional per-delete preconditions.
//
// +k8s:optional
Options *DeleteOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
DeleteAtespaceAccessPolicyRequest identifies an Atespace's access policy.
func (*DeleteAtespaceAccessPolicyRequest) Descriptor
deprecated
func (*DeleteAtespaceAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAtespaceAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*DeleteAtespaceAccessPolicyRequest) GetAtespace ¶
func (x *DeleteAtespaceAccessPolicyRequest) GetAtespace() *ObjectRef
func (*DeleteAtespaceAccessPolicyRequest) GetName ¶
func (x *DeleteAtespaceAccessPolicyRequest) GetName() string
func (*DeleteAtespaceAccessPolicyRequest) GetOptions ¶
func (x *DeleteAtespaceAccessPolicyRequest) GetOptions() *DeleteOptions
func (*DeleteAtespaceAccessPolicyRequest) ProtoMessage ¶
func (*DeleteAtespaceAccessPolicyRequest) ProtoMessage()
func (*DeleteAtespaceAccessPolicyRequest) ProtoReflect ¶
func (x *DeleteAtespaceAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*DeleteAtespaceAccessPolicyRequest) Reset ¶
func (x *DeleteAtespaceAccessPolicyRequest) Reset()
func (*DeleteAtespaceAccessPolicyRequest) String ¶
func (x *DeleteAtespaceAccessPolicyRequest) String() string
type DeleteAtespaceRequest ¶
type DeleteAtespaceRequest struct {
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Atespace *ObjectRef `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// Optional per-delete preconditions.
//
// +k8s:optional
Options *DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteAtespaceRequest) Descriptor
deprecated
func (*DeleteAtespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAtespaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteAtespaceRequest) GetAtespace ¶
func (x *DeleteAtespaceRequest) GetAtespace() *ObjectRef
func (*DeleteAtespaceRequest) GetOptions ¶
func (x *DeleteAtespaceRequest) GetOptions() *DeleteOptions
func (*DeleteAtespaceRequest) ProtoMessage ¶
func (*DeleteAtespaceRequest) ProtoMessage()
func (*DeleteAtespaceRequest) ProtoReflect ¶
func (x *DeleteAtespaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteAtespaceRequest) Reset ¶
func (x *DeleteAtespaceRequest) Reset()
func (*DeleteAtespaceRequest) String ¶
func (x *DeleteAtespaceRequest) String() string
type DeleteOptions ¶
type DeleteOptions struct {
// Delete only if the resource is still at this version, that is, unchanged
// since the caller read it. Zero skips the check.
//
// +k8s:optional
// +k8s:minimum=1
Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
// Delete only if the resource still has this uid, that is, it is the one
// the caller read and not a later one created under the same name. Empty
// skips the check.
//
// +k8s:optional
// +k8s:format=k8s-uuid
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// contains filtered or unexported fields
}
DeleteOptions are the optional guards a Delete request may carry.
func (*DeleteOptions) Descriptor
deprecated
func (*DeleteOptions) Descriptor() ([]byte, []int)
Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead.
func (*DeleteOptions) GetUid ¶
func (x *DeleteOptions) GetUid() string
func (*DeleteOptions) GetVersion ¶
func (x *DeleteOptions) GetVersion() int64
func (*DeleteOptions) ProtoMessage ¶
func (*DeleteOptions) ProtoMessage()
func (*DeleteOptions) ProtoReflect ¶
func (x *DeleteOptions) ProtoReflect() protoreflect.Message
func (*DeleteOptions) Reset ¶
func (x *DeleteOptions) Reset()
func (*DeleteOptions) String ¶
func (x *DeleteOptions) String() string
type DeleteTagRequest ¶
type DeleteTagRequest struct {
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Tag *ObjectRef `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
// Optional per-delete preconditions.
//
// +k8s:optional
Options *DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteTagRequest) Descriptor
deprecated
func (*DeleteTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.
func (*DeleteTagRequest) GetOptions ¶
func (x *DeleteTagRequest) GetOptions() *DeleteOptions
func (*DeleteTagRequest) GetTag ¶
func (x *DeleteTagRequest) GetTag() *ObjectRef
func (*DeleteTagRequest) ProtoMessage ¶
func (*DeleteTagRequest) ProtoMessage()
func (*DeleteTagRequest) ProtoReflect ¶
func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message
func (*DeleteTagRequest) Reset ¶
func (x *DeleteTagRequest) Reset()
func (*DeleteTagRequest) String ¶
func (x *DeleteTagRequest) String() string
type DeleteWorkerRequest ¶
type DeleteWorkerRequest struct {
// The Worker to deregister.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// Optional per-delete preconditions.
//
// +k8s:optional
Options *DeleteOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteWorkerRequest) Descriptor
deprecated
func (*DeleteWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteWorkerRequest.ProtoReflect.Descriptor instead.
func (*DeleteWorkerRequest) GetOptions ¶
func (x *DeleteWorkerRequest) GetOptions() *DeleteOptions
func (*DeleteWorkerRequest) GetWorker ¶
func (x *DeleteWorkerRequest) GetWorker() *ObjectRef
func (*DeleteWorkerRequest) ProtoMessage ¶
func (*DeleteWorkerRequest) ProtoMessage()
func (*DeleteWorkerRequest) ProtoReflect ¶
func (x *DeleteWorkerRequest) ProtoReflect() protoreflect.Message
func (*DeleteWorkerRequest) Reset ¶
func (x *DeleteWorkerRequest) Reset()
func (*DeleteWorkerRequest) String ¶
func (x *DeleteWorkerRequest) String() string
type DrainWorkerRequest ¶
type DrainWorkerRequest struct {
// The Worker to mark as terminating.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
func (*DrainWorkerRequest) Descriptor
deprecated
func (*DrainWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DrainWorkerRequest.ProtoReflect.Descriptor instead.
func (*DrainWorkerRequest) GetWorker ¶
func (x *DrainWorkerRequest) GetWorker() *ObjectRef
func (*DrainWorkerRequest) ProtoMessage ¶
func (*DrainWorkerRequest) ProtoMessage()
func (*DrainWorkerRequest) ProtoReflect ¶
func (x *DrainWorkerRequest) ProtoReflect() protoreflect.Message
func (*DrainWorkerRequest) Reset ¶
func (x *DrainWorkerRequest) Reset()
func (*DrainWorkerRequest) String ¶
func (x *DrainWorkerRequest) String() string
type DrainWorkerResponse ¶
type DrainWorkerResponse struct {
// The worker being drained.
Worker *Worker `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
DrainWorkerResponse holds the drained Worker.
func (*DrainWorkerResponse) Descriptor
deprecated
func (*DrainWorkerResponse) Descriptor() ([]byte, []int)
Deprecated: Use DrainWorkerResponse.ProtoReflect.Descriptor instead.
func (*DrainWorkerResponse) GetWorker ¶
func (x *DrainWorkerResponse) GetWorker() *Worker
func (*DrainWorkerResponse) ProtoMessage ¶
func (*DrainWorkerResponse) ProtoMessage()
func (*DrainWorkerResponse) ProtoReflect ¶
func (x *DrainWorkerResponse) ProtoReflect() protoreflect.Message
func (*DrainWorkerResponse) Reset ¶
func (x *DrainWorkerResponse) Reset()
func (*DrainWorkerResponse) String ¶
func (x *DrainWorkerResponse) String() string
type DurabilityMode ¶
type DurabilityMode int32
DurabilityMode selects when a suspend is acknowledged relative to its snapshot being stored durably.
const ( DurabilityMode_DURABILITY_MODE_UNSPECIFIED DurabilityMode = 0 // Return only after the snapshot is complete in durable storage. Applies // only when the call checkpoints a running actor: an actor that is already // SUSPENDED is returned with the snapshot it holds, which may still be on // its node. DurabilityMode_DURABILITY_MODE_SYNCHRONOUS DurabilityMode = 1 // Return once the snapshot is captured on the node. The upload to durable // storage continues in the background. DurabilityMode_DURABILITY_MODE_ASYNCHRONOUS DurabilityMode = 2 // Keep this in sync with SuspendOptions.mode's maximum. )
func (DurabilityMode) Descriptor ¶
func (DurabilityMode) Descriptor() protoreflect.EnumDescriptor
func (DurabilityMode) Enum ¶
func (x DurabilityMode) Enum() *DurabilityMode
func (DurabilityMode) EnumDescriptor
deprecated
func (DurabilityMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use DurabilityMode.Descriptor instead.
func (DurabilityMode) Number ¶
func (x DurabilityMode) Number() protoreflect.EnumNumber
func (DurabilityMode) String ¶
func (x DurabilityMode) String() string
func (DurabilityMode) Type ¶
func (DurabilityMode) Type() protoreflect.EnumType
type DurableDirVolumeSource ¶
type DurableDirVolumeSource struct {
// contains filtered or unexported fields
}
DurableDirVolumeSource is a durable directory on rootfs that persists across resumes and participates in snapshots.
func (*DurableDirVolumeSource) Descriptor
deprecated
func (*DurableDirVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use DurableDirVolumeSource.ProtoReflect.Descriptor instead.
func (*DurableDirVolumeSource) ProtoMessage ¶
func (*DurableDirVolumeSource) ProtoMessage()
func (*DurableDirVolumeSource) ProtoReflect ¶
func (x *DurableDirVolumeSource) ProtoReflect() protoreflect.Message
func (*DurableDirVolumeSource) Reset ¶
func (x *DurableDirVolumeSource) Reset()
func (*DurableDirVolumeSource) String ¶
func (x *DurableDirVolumeSource) String() string
type EgressPolicy ¶
type EgressPolicy struct {
// Standard resource metadata. Atespace must match the parent Actor and name
// must be "default". Both are caller-specified on create and immutable.
// UID, version, create_time, and update_time are server-managed.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
// +k8s:customValidation # name must be "default"
Metadata *ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Rules are an unordered set of allows. Traffic is denied when no rule
// matches.
//
// For a given destination name and port, exactly one rule decides,
// whatever its protocol. When more than one rule matches, the winner is
// chosen by these criteria, in order, moving to the next one on a tie:
//
// * A matching hostname without a wildcard.
// * A matching port number rather than all ports.
//
// Two rules with the same pattern on the same port, or both on all ports,
// are rejected at admission.
//
// These criteria apply within a protocol and across protocols that decide
// on the same input, such as an https and a tls_passthrough rule that match
// the same pattern. Only the winning rule's effects are applied.
//
// +k8s:optional
// +k8s:maxItems=256
// +k8s:listType=atomic
// +k8s:customValidation # no two rules tie on a name and port
Rules []*EgressRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
EgressPolicy is an egress policy resource nested under an Actor. An Actor has at most one egress policy resource, named "default".
func (*EgressPolicy) Descriptor
deprecated
func (*EgressPolicy) Descriptor() ([]byte, []int)
Deprecated: Use EgressPolicy.ProtoReflect.Descriptor instead.
func (*EgressPolicy) GetMetadata ¶
func (x *EgressPolicy) GetMetadata() *ResourceMetadata
func (*EgressPolicy) GetRules ¶
func (x *EgressPolicy) GetRules() []*EgressRule
func (*EgressPolicy) ProtoMessage ¶
func (*EgressPolicy) ProtoMessage()
func (*EgressPolicy) ProtoReflect ¶
func (x *EgressPolicy) ProtoReflect() protoreflect.Message
func (*EgressPolicy) Reset ¶
func (x *EgressPolicy) Reset()
func (*EgressPolicy) String ¶
func (x *EgressPolicy) String() string
type EgressPolicyTemplate ¶
type EgressPolicyTemplate struct {
// Rules are an unordered set of allows, with the same precedence and effects
// as EgressPolicy.rules. At least one rule is required. Traffic is denied
// when no rule matches.
//
// +k8s:required
// +k8s:maxItems=256
// +k8s:listType=atomic
// +k8s:customValidation # no two rules tie on a name and port
Rules []*EgressRule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
// contains filtered or unexported fields
}
EgressPolicyTemplate defines an initial Actor egress policy without resource metadata. Each rule has the same defaults, validation, and semantics as EgressPolicy.rules.
func (*EgressPolicyTemplate) Descriptor
deprecated
func (*EgressPolicyTemplate) Descriptor() ([]byte, []int)
Deprecated: Use EgressPolicyTemplate.ProtoReflect.Descriptor instead.
func (*EgressPolicyTemplate) GetRules ¶
func (x *EgressPolicyTemplate) GetRules() []*EgressRule
func (*EgressPolicyTemplate) ProtoMessage ¶
func (*EgressPolicyTemplate) ProtoMessage()
func (*EgressPolicyTemplate) ProtoReflect ¶
func (x *EgressPolicyTemplate) ProtoReflect() protoreflect.Message
func (*EgressPolicyTemplate) Reset ¶
func (x *EgressPolicyTemplate) Reset()
func (*EgressPolicyTemplate) String ¶
func (x *EgressPolicyTemplate) String() string
type EgressRule ¶
type EgressRule struct {
// Cleartext HTTP to the named hosts: HTTP/1.1, and h2c as used by gRPC.
// TLS to these names is not allowed by this rule.
//
// +k8s:optional
// +k8s:unionMember
Http *HttpRule `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"`
// HTTPS to the named hosts, intercepted (man-in-the-middle) so the gateway
// can authorize and modify each request. HTTP/1.1 and HTTP/2 inside the
// TLS connection; HTTP/3 is not supported.
//
// +k8s:optional
// +k8s:unionMember
Https *HttpsRule `protobuf:"bytes,2,opt,name=https,proto3" json:"https,omitempty"`
// TLS to the named servers, forwarded without decryption.
//
// +k8s:optional
// +k8s:unionMember
TlsPassthrough *TlsPassthroughRule `protobuf:"bytes,3,opt,name=tls_passthrough,json=tlsPassthrough,proto3" json:"tls_passthrough,omitempty"`
// contains filtered or unexported fields
}
EgressRule allows traffic for a given protocol and destination (host name or IP, and port). The protocol fixes what the gateway matches on and when: a request, or a TLS connection at its ClientHello. Traffic that matches no rule is refused. All protocols here run over TCP; UDP is blocked. Protocols where the server sends first after connect are not supported.
Users should expect additional protocols to be supported in the future.
func (*EgressRule) Descriptor
deprecated
func (*EgressRule) Descriptor() ([]byte, []int)
Deprecated: Use EgressRule.ProtoReflect.Descriptor instead.
func (*EgressRule) GetHttp ¶
func (x *EgressRule) GetHttp() *HttpRule
func (*EgressRule) GetHttps ¶
func (x *EgressRule) GetHttps() *HttpsRule
func (*EgressRule) GetTlsPassthrough ¶
func (x *EgressRule) GetTlsPassthrough() *TlsPassthroughRule
func (*EgressRule) ProtoMessage ¶
func (*EgressRule) ProtoMessage()
func (*EgressRule) ProtoReflect ¶
func (x *EgressRule) ProtoReflect() protoreflect.Message
func (*EgressRule) Reset ¶
func (x *EgressRule) Reset()
func (*EgressRule) String ¶
func (x *EgressRule) String() string
type EnvVar ¶
type EnvVar struct {
// name may be any printable ASCII character except '='.
//
// +k8s:required
// +k8s:maxLength=256 # guardrail;
// +k8s:customValidation # printable ASCII except '='
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// value is the literal value.
//
// +k8s:optional
// +k8s:maxLength=32768 # guardrail;
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
EnvVar supplies one environment variable to a container. Values are not expanded with Kubernetes-style $(VAR) references.
func (*EnvVar) Descriptor
deprecated
func (*EnvVar) ProtoMessage ¶
func (*EnvVar) ProtoMessage()
func (*EnvVar) ProtoReflect ¶
func (x *EnvVar) ProtoReflect() protoreflect.Message
type ExternalVolumeSource ¶
type ExternalVolumeSource struct {
// template provisions a volume for this actor alone; it is deleted with the
// actor.
//
// +k8s:optional
// +k8s:unionMember
Template *ExternalVolumeTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
// contains filtered or unexported fields
}
ExternalVolumeSource is a CSI volume provisioned for the actor from a template.
func (*ExternalVolumeSource) Descriptor
deprecated
func (*ExternalVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use ExternalVolumeSource.ProtoReflect.Descriptor instead.
func (*ExternalVolumeSource) GetTemplate ¶
func (x *ExternalVolumeSource) GetTemplate() *ExternalVolumeTemplate
func (*ExternalVolumeSource) ProtoMessage ¶
func (*ExternalVolumeSource) ProtoMessage()
func (*ExternalVolumeSource) ProtoReflect ¶
func (x *ExternalVolumeSource) ProtoReflect() protoreflect.Message
func (*ExternalVolumeSource) Reset ¶
func (x *ExternalVolumeSource) Reset()
func (*ExternalVolumeSource) String ¶
func (x *ExternalVolumeSource) String() string
type ExternalVolumeStatus ¶
type ExternalVolumeStatus struct {
// Name of the volume specified in the actor template. Template volume
// names are DNS labels.
//
// +k8s:required
// +k8s:format=k8s-short-name
// +k8s:update=NoModify
// +k8s:update=NoUnset # set-once; immutable would reject the create ratchet's nil->set when the final object is validated as an update
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The globally unique volume_id returned from the storage system.
// This will be initially empty during volume creation. Its format is the
// storage system's own, so it is only bounded and checked for control
// characters (U+0000-U+0008, U+000B, U+000C, U+000E-U+001F, U+007F-U+009F).
// The CSI spec caps IDs at 128 bytes but does not require it, so allow
// some slack. Set once when provisioning completes, then never changed.
//
// +k8s:optional
// +k8s:maxLength=256
// +k8s:update=NoModify
// +k8s:update=NoUnset
// +k8s:customValidation # no control characters
StorageVolumeId string `protobuf:"bytes,2,opt,name=storage_volume_id,json=storageVolumeId,proto3" json:"storage_volume_id,omitempty"`
// Internal volume plugin name or CSI driver name, from the StorageClass
// provisioner. Must be a DNS subdomain, optionally prefixed with
// "substrate.io/" (per the CSI spec's driver-name syntax).
//
// +k8s:required
// +k8s:maxLength=253
// +k8s:update=NoModify
// +k8s:update=NoUnset # set-once, like name above
// +k8s:customValidation
VolumeType string `protobuf:"bytes,3,opt,name=volume_type,json=volumeType,proto3" json:"volume_type,omitempty"`
// volume_context contains metadata returned by the CSI driver during volume
// provisioning, needed by the node plugin for mounting (e.g. attachment
// info). Keys and values are the driver's own, so the map is only bounded,
// not validated.
//
// +k8s:optional
// +k8s:customValidation # at most 40 KiB in total, ten times the CSI limit for map fields
VolumeContext map[string]string `` /* 174-byte string literal not displayed */
// contains filtered or unexported fields
}
ExternalVolumeStatus is one actor's view of an external volume it mounts.
func (*ExternalVolumeStatus) Descriptor
deprecated
func (*ExternalVolumeStatus) Descriptor() ([]byte, []int)
Deprecated: Use ExternalVolumeStatus.ProtoReflect.Descriptor instead.
func (*ExternalVolumeStatus) GetName ¶
func (x *ExternalVolumeStatus) GetName() string
func (*ExternalVolumeStatus) GetStorageVolumeId ¶
func (x *ExternalVolumeStatus) GetStorageVolumeId() string
func (*ExternalVolumeStatus) GetVolumeContext ¶
func (x *ExternalVolumeStatus) GetVolumeContext() map[string]string
func (*ExternalVolumeStatus) GetVolumeType ¶
func (x *ExternalVolumeStatus) GetVolumeType() string
func (*ExternalVolumeStatus) ProtoMessage ¶
func (*ExternalVolumeStatus) ProtoMessage()
func (*ExternalVolumeStatus) ProtoReflect ¶
func (x *ExternalVolumeStatus) ProtoReflect() protoreflect.Message
func (*ExternalVolumeStatus) Reset ¶
func (x *ExternalVolumeStatus) Reset()
func (*ExternalVolumeStatus) String ¶
func (x *ExternalVolumeStatus) String() string
type ExternalVolumeTemplate ¶
type ExternalVolumeTemplate struct {
// capacity_bytes is the size of the volume to create, in bytes. Required.
//
// +k8s:required
// +k8s:minimum=1
CapacityBytes int64 `protobuf:"varint,1,opt,name=capacity_bytes,json=capacityBytes,proto3" json:"capacity_bytes,omitempty"`
// storage_class_name names the cluster-scoped Kubernetes StorageClass to
// create the volume from. Required.
//
// +k8s:required
// +k8s:format=k8s-long-name
StorageClassName string `protobuf:"bytes,2,opt,name=storage_class_name,json=storageClassName,proto3" json:"storage_class_name,omitempty"`
// contains filtered or unexported fields
}
ExternalVolumeTemplate provisions an external volume per actor; the volume lives only as long as the actor.
func (*ExternalVolumeTemplate) Descriptor
deprecated
func (*ExternalVolumeTemplate) Descriptor() ([]byte, []int)
Deprecated: Use ExternalVolumeTemplate.ProtoReflect.Descriptor instead.
func (*ExternalVolumeTemplate) GetCapacityBytes ¶
func (x *ExternalVolumeTemplate) GetCapacityBytes() int64
func (*ExternalVolumeTemplate) GetStorageClassName ¶
func (x *ExternalVolumeTemplate) GetStorageClassName() string
func (*ExternalVolumeTemplate) ProtoMessage ¶
func (*ExternalVolumeTemplate) ProtoMessage()
func (*ExternalVolumeTemplate) ProtoReflect ¶
func (x *ExternalVolumeTemplate) ProtoReflect() protoreflect.Message
func (*ExternalVolumeTemplate) Reset ¶
func (x *ExternalVolumeTemplate) Reset()
func (*ExternalVolumeTemplate) String ¶
func (x *ExternalVolumeTemplate) String() string
type ExternalVolumes ¶
type ExternalVolumes struct {
// volumes has one entry per external volume of the template. Each template
// volume appears at most once.
//
// +k8s:optional
// +k8s:maxItems=32 # matches the template's volumes bound
// +k8s:listType=map
// +k8s:listMapKey=name
Volumes []*ExternalVolumeStatus `protobuf:"bytes,1,rep,name=volumes,proto3" json:"volumes,omitempty"`
// contains filtered or unexported fields
}
ExternalVolumes is the external volume state recorded on an actor, wrapped so later additions do not reshape ActorStatus.
func (*ExternalVolumes) Descriptor
deprecated
func (*ExternalVolumes) Descriptor() ([]byte, []int)
Deprecated: Use ExternalVolumes.ProtoReflect.Descriptor instead.
func (*ExternalVolumes) GetVolumes ¶
func (x *ExternalVolumes) GetVolumes() []*ExternalVolumeStatus
func (*ExternalVolumes) ProtoMessage ¶
func (*ExternalVolumes) ProtoMessage()
func (*ExternalVolumes) ProtoReflect ¶
func (x *ExternalVolumes) ProtoReflect() protoreflect.Message
func (*ExternalVolumes) Reset ¶
func (x *ExternalVolumes) Reset()
func (*ExternalVolumes) String ¶
func (x *ExternalVolumes) String() string
type GetActorEgressPolicyRequest ¶
type GetActorEgressPolicyRequest struct {
// The parent Actor of the egress policy resource to retrieve.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// Name of the singleton egress policy. Must be "default".
//
// +k8s:required
// +k8s:format=k8s-short-name
// +k8s:customValidation # must be "default"
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetActorEgressPolicyRequest identifies an Actor's egress policy.
func (*GetActorEgressPolicyRequest) Descriptor
deprecated
func (*GetActorEgressPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActorEgressPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetActorEgressPolicyRequest) GetActor ¶
func (x *GetActorEgressPolicyRequest) GetActor() *ObjectRef
func (*GetActorEgressPolicyRequest) GetName ¶
func (x *GetActorEgressPolicyRequest) GetName() string
func (*GetActorEgressPolicyRequest) ProtoMessage ¶
func (*GetActorEgressPolicyRequest) ProtoMessage()
func (*GetActorEgressPolicyRequest) ProtoReflect ¶
func (x *GetActorEgressPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetActorEgressPolicyRequest) Reset ¶
func (x *GetActorEgressPolicyRequest) Reset()
func (*GetActorEgressPolicyRequest) String ¶
func (x *GetActorEgressPolicyRequest) String() string
type GetActorRequest ¶
type GetActorRequest struct {
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// contains filtered or unexported fields
}
func (*GetActorRequest) Descriptor
deprecated
func (*GetActorRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActorRequest.ProtoReflect.Descriptor instead.
func (*GetActorRequest) GetActor ¶
func (x *GetActorRequest) GetActor() *ObjectRef
func (*GetActorRequest) ProtoMessage ¶
func (*GetActorRequest) ProtoMessage()
func (*GetActorRequest) ProtoReflect ¶
func (x *GetActorRequest) ProtoReflect() protoreflect.Message
func (*GetActorRequest) Reset ¶
func (x *GetActorRequest) Reset()
func (*GetActorRequest) String ¶
func (x *GetActorRequest) String() string
type GetActorTemplateRequest ¶
type GetActorTemplateRequest struct {
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
ActorTemplate *ObjectRef `protobuf:"bytes,1,opt,name=actor_template,json=actorTemplate,proto3" json:"actor_template,omitempty"`
// contains filtered or unexported fields
}
func (*GetActorTemplateRequest) Descriptor
deprecated
func (*GetActorTemplateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetActorTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetActorTemplateRequest) GetActorTemplate ¶
func (x *GetActorTemplateRequest) GetActorTemplate() *ObjectRef
func (*GetActorTemplateRequest) ProtoMessage ¶
func (*GetActorTemplateRequest) ProtoMessage()
func (*GetActorTemplateRequest) ProtoReflect ¶
func (x *GetActorTemplateRequest) ProtoReflect() protoreflect.Message
func (*GetActorTemplateRequest) Reset ¶
func (x *GetActorTemplateRequest) Reset()
func (*GetActorTemplateRequest) String ¶
func (x *GetActorTemplateRequest) String() string
type GetAtespaceAccessPolicyRequest ¶
type GetAtespaceAccessPolicyRequest struct {
// The parent Atespace of the access policy resource to retrieve.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Atespace *ObjectRef `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// Name of the singleton access policy. Must be "default".
//
// +k8s:required
// +k8s:format=k8s-short-name
// +k8s:customValidation # must be "default"
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetAtespaceAccessPolicyRequest identifies an Atespace's access policy.
func (*GetAtespaceAccessPolicyRequest) Descriptor
deprecated
func (*GetAtespaceAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAtespaceAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetAtespaceAccessPolicyRequest) GetAtespace ¶
func (x *GetAtespaceAccessPolicyRequest) GetAtespace() *ObjectRef
func (*GetAtespaceAccessPolicyRequest) GetName ¶
func (x *GetAtespaceAccessPolicyRequest) GetName() string
func (*GetAtespaceAccessPolicyRequest) ProtoMessage ¶
func (*GetAtespaceAccessPolicyRequest) ProtoMessage()
func (*GetAtespaceAccessPolicyRequest) ProtoReflect ¶
func (x *GetAtespaceAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetAtespaceAccessPolicyRequest) Reset ¶
func (x *GetAtespaceAccessPolicyRequest) Reset()
func (*GetAtespaceAccessPolicyRequest) String ¶
func (x *GetAtespaceAccessPolicyRequest) String() string
type GetAtespaceRequest ¶
type GetAtespaceRequest struct {
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Atespace *ObjectRef `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// contains filtered or unexported fields
}
func (*GetAtespaceRequest) Descriptor
deprecated
func (*GetAtespaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAtespaceRequest.ProtoReflect.Descriptor instead.
func (*GetAtespaceRequest) GetAtespace ¶
func (x *GetAtespaceRequest) GetAtespace() *ObjectRef
func (*GetAtespaceRequest) ProtoMessage ¶
func (*GetAtespaceRequest) ProtoMessage()
func (*GetAtespaceRequest) ProtoReflect ¶
func (x *GetAtespaceRequest) ProtoReflect() protoreflect.Message
func (*GetAtespaceRequest) Reset ¶
func (x *GetAtespaceRequest) Reset()
func (*GetAtespaceRequest) String ¶
func (x *GetAtespaceRequest) String() string
type GetGlobalAccessPolicyRequest ¶
type GetGlobalAccessPolicyRequest struct {
// Name of the singleton access policy. Must be "default".
//
// +k8s:required
// +k8s:format=k8s-short-name
// +k8s:customValidation # must be "default"
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
GetGlobalAccessPolicyRequest retrieves the deployment-wide global access policy singleton.
func (*GetGlobalAccessPolicyRequest) Descriptor
deprecated
func (*GetGlobalAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetGlobalAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*GetGlobalAccessPolicyRequest) GetName ¶
func (x *GetGlobalAccessPolicyRequest) GetName() string
func (*GetGlobalAccessPolicyRequest) ProtoMessage ¶
func (*GetGlobalAccessPolicyRequest) ProtoMessage()
func (*GetGlobalAccessPolicyRequest) ProtoReflect ¶
func (x *GetGlobalAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*GetGlobalAccessPolicyRequest) Reset ¶
func (x *GetGlobalAccessPolicyRequest) Reset()
func (*GetGlobalAccessPolicyRequest) String ¶
func (x *GetGlobalAccessPolicyRequest) String() string
type GetTagRequest ¶
type GetTagRequest struct {
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Tag *ObjectRef `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
// contains filtered or unexported fields
}
func (*GetTagRequest) Descriptor
deprecated
func (*GetTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagRequest.ProtoReflect.Descriptor instead.
func (*GetTagRequest) GetTag ¶
func (x *GetTagRequest) GetTag() *ObjectRef
func (*GetTagRequest) ProtoMessage ¶
func (*GetTagRequest) ProtoMessage()
func (*GetTagRequest) ProtoReflect ¶
func (x *GetTagRequest) ProtoReflect() protoreflect.Message
func (*GetTagRequest) Reset ¶
func (x *GetTagRequest) Reset()
func (*GetTagRequest) String ¶
func (x *GetTagRequest) String() string
type GetWorkerRequest ¶
type GetWorkerRequest struct {
// The Worker to fetch. atespace is always empty; Workers are global-scoped.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
func (*GetWorkerRequest) Descriptor
deprecated
func (*GetWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetWorkerRequest.ProtoReflect.Descriptor instead.
func (*GetWorkerRequest) GetWorker ¶
func (x *GetWorkerRequest) GetWorker() *ObjectRef
func (*GetWorkerRequest) ProtoMessage ¶
func (*GetWorkerRequest) ProtoMessage()
func (*GetWorkerRequest) ProtoReflect ¶
func (x *GetWorkerRequest) ProtoReflect() protoreflect.Message
func (*GetWorkerRequest) Reset ¶
func (x *GetWorkerRequest) Reset()
func (*GetWorkerRequest) String ¶
func (x *GetWorkerRequest) String() string
type GoldenSnapshotConfig ¶
type GoldenSnapshotConfig struct {
// mode defaults to ENABLED when unspecified. DISABLED skips creating the
// template's golden actor and tag.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=2 # keep this in sync with the GoldenSnapshotMode enum
Mode GoldenSnapshotMode `protobuf:"varint,1,opt,name=mode,proto3,enum=substrate.ateapi.v1.GoldenSnapshotMode" json:"mode,omitempty"`
// contains filtered or unexported fields
}
GoldenSnapshotConfig controls automated golden snapshot creation for a template.
func (*GoldenSnapshotConfig) Descriptor
deprecated
func (*GoldenSnapshotConfig) Descriptor() ([]byte, []int)
Deprecated: Use GoldenSnapshotConfig.ProtoReflect.Descriptor instead.
func (*GoldenSnapshotConfig) GetMode ¶
func (x *GoldenSnapshotConfig) GetMode() GoldenSnapshotMode
func (*GoldenSnapshotConfig) ProtoMessage ¶
func (*GoldenSnapshotConfig) ProtoMessage()
func (*GoldenSnapshotConfig) ProtoReflect ¶
func (x *GoldenSnapshotConfig) ProtoReflect() protoreflect.Message
func (*GoldenSnapshotConfig) Reset ¶
func (x *GoldenSnapshotConfig) Reset()
func (*GoldenSnapshotConfig) String ¶
func (x *GoldenSnapshotConfig) String() string
type GoldenSnapshotMode ¶
type GoldenSnapshotMode int32
GoldenSnapshotMode selects whether a template builds a golden snapshot.
const ( GoldenSnapshotMode_GOLDEN_SNAPSHOT_MODE_UNSPECIFIED GoldenSnapshotMode = 0 GoldenSnapshotMode_GOLDEN_SNAPSHOT_MODE_ENABLED GoldenSnapshotMode = 1 GoldenSnapshotMode_GOLDEN_SNAPSHOT_MODE_DISABLED GoldenSnapshotMode = 2 )
func (GoldenSnapshotMode) Descriptor ¶
func (GoldenSnapshotMode) Descriptor() protoreflect.EnumDescriptor
func (GoldenSnapshotMode) Enum ¶
func (x GoldenSnapshotMode) Enum() *GoldenSnapshotMode
func (GoldenSnapshotMode) EnumDescriptor
deprecated
func (GoldenSnapshotMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use GoldenSnapshotMode.Descriptor instead.
func (GoldenSnapshotMode) Number ¶
func (x GoldenSnapshotMode) Number() protoreflect.EnumNumber
func (GoldenSnapshotMode) String ¶
func (x GoldenSnapshotMode) String() string
func (GoldenSnapshotMode) Type ¶
func (GoldenSnapshotMode) Type() protoreflect.EnumType
type GoldenSnapshotStatus ¶
type GoldenSnapshotStatus struct {
// golden_tag owns the immutable snapshot built by the template controller.
// Set after tagging the snapshot and deleting the temporary golden Actor.
// +k8s:optional
// +k8s:subfield(atespace)=+k8s:required
GoldenTag *ObjectRef `protobuf:"bytes,1,opt,name=golden_tag,json=goldenTag,proto3" json:"golden_tag,omitempty"`
// snapshot_time is when the golden-actor warmup ends and the
// golden snapshot may be taken.
//
// +k8s:optional
SnapshotTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"`
// error_message is set when the golden snapshot build fails and will not be
// retried, formatted as `<Reason>: <detail>`. A nonempty value is terminal.
//
// +k8s:optional
// +k8s:maxLength=4096
ErrorMessage string `protobuf:"bytes,3,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
// contains filtered or unexported fields
}
func (*GoldenSnapshotStatus) Descriptor
deprecated
func (*GoldenSnapshotStatus) Descriptor() ([]byte, []int)
Deprecated: Use GoldenSnapshotStatus.ProtoReflect.Descriptor instead.
func (*GoldenSnapshotStatus) GetErrorMessage ¶
func (x *GoldenSnapshotStatus) GetErrorMessage() string
func (*GoldenSnapshotStatus) GetGoldenTag ¶
func (x *GoldenSnapshotStatus) GetGoldenTag() *ObjectRef
func (*GoldenSnapshotStatus) GetSnapshotTime ¶
func (x *GoldenSnapshotStatus) GetSnapshotTime() *timestamppb.Timestamp
func (*GoldenSnapshotStatus) ProtoMessage ¶
func (*GoldenSnapshotStatus) ProtoMessage()
func (*GoldenSnapshotStatus) ProtoReflect ¶
func (x *GoldenSnapshotStatus) ProtoReflect() protoreflect.Message
func (*GoldenSnapshotStatus) Reset ¶
func (x *GoldenSnapshotStatus) Reset()
func (*GoldenSnapshotStatus) String ¶
func (x *GoldenSnapshotStatus) String() string
type HttpGetAction ¶
type HttpGetAction struct {
// path must be a URL path starting with "/", using only RFC 3986
// path-segment characters, without query or fragment.
// Defaults to "/" when unset.
//
// +k8s:required
// +k8s:maxLength=1024
// +k8s:customValidation # RFC 3986 path shape; no regex/pattern tag exists
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// port is the container port to connect to.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=65535
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
HttpGetAction describes the HTTP GET the probe polls.
func (*HttpGetAction) Descriptor
deprecated
func (*HttpGetAction) Descriptor() ([]byte, []int)
Deprecated: Use HttpGetAction.ProtoReflect.Descriptor instead.
func (*HttpGetAction) GetPath ¶
func (x *HttpGetAction) GetPath() string
func (*HttpGetAction) GetPort ¶
func (x *HttpGetAction) GetPort() int32
func (*HttpGetAction) ProtoMessage ¶
func (*HttpGetAction) ProtoMessage()
func (*HttpGetAction) ProtoReflect ¶
func (x *HttpGetAction) ProtoReflect() protoreflect.Message
func (*HttpGetAction) Reset ¶
func (x *HttpGetAction) Reset()
func (*HttpGetAction) String ¶
func (x *HttpGetAction) String() string
type HttpRule ¶
type HttpRule struct {
// Hostname patterns: a DNS name, or a DNS name with "*" as its leftmost
// label. The rule matches when any pattern matches.
//
// The DNS name must conform to RFC 1034 and RFC 1123. It must be lowercase
// and must not have a trailing dot.
//
// A wildcard replaces the complete leftmost label. "*.example.com" matches
// exactly one non-empty label, such as "api.example.com". It does not match
// "example.com" or "nested.api.example.com". "*" alone matches every name.
// No other wildcard syntax is accepted. A pattern without a wildcard matches
// only the complete normalized name. Patterns may overlap: the rule ranks
// by the most specific pattern that matches the destination.
//
// Internationalized names must use their IDNA A-label (punycode) form; no
// Unicode conversion is performed. URLs, IP addresses, names with ports,
// malformed DNS names (for example, "foo..example.com"), and more than one
// trailing dot are invalid.
//
// +k8s:required
// +k8s:maxItems=256
// +k8s:listType=set
// +k8s:customValidation # format
Hostnames []string `protobuf:"bytes,1,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
// Ports of the destination the Actor connected to. A port in a request's
// authority is neither matched nor dialed. Defaults to port 80.
//
// +k8s:optional
Ports *Ports `protobuf:"bytes,2,opt,name=ports,proto3" json:"ports,omitempty"`
// Effects do not authorize traffic. They are applied only when this is the
// deciding rule.
//
// +k8s:optional
Effects *HttpRuleEffects `protobuf:"bytes,3,opt,name=effects,proto3" json:"effects,omitempty"`
// contains filtered or unexported fields
}
HttpRule allows cleartext HTTP and is evaluated per request on the request authority (Host or :authority) and port. The gateway resolves the name and dials it.
func (*HttpRule) Descriptor
deprecated
func (*HttpRule) GetEffects ¶
func (x *HttpRule) GetEffects() *HttpRuleEffects
func (*HttpRule) GetHostnames ¶
func (*HttpRule) ProtoMessage ¶
func (*HttpRule) ProtoMessage()
func (*HttpRule) ProtoReflect ¶
func (x *HttpRule) ProtoReflect() protoreflect.Message
type HttpRuleEffects ¶
type HttpRuleEffects struct {
// Replaces placeholder request headers with credentials. A header is
// replaced only when the request from the Actor carries it; requests
// without the header are forwarded unchanged, so a credential reaches only
// the requests that ask for it. Header names must be unique
// case-insensitively.
//
// Replacement is supported on HTTP and HTTPS. On HTTP, the gateway does
// not originate TLS to the destination. Without separate transport
// protection, observers can read the credential and attackers on the path
// can modify the request. Deployments may encrypt traffic outside the
// gateway; policy authors must account for any unprotected segments
// between credential injection and the intended destination.
//
// +k8s:optional
// +k8s:maxItems=16
// +k8s:listType=map
// +k8s:listMapKey=header
// +k8s:customUnique # case-insensitive
// +k8s:customValidation # for duplicate headers
ReplaceHeaders []*CredentialHeader `protobuf:"bytes,1,rep,name=replace_headers,json=replaceHeaders,proto3" json:"replace_headers,omitempty"`
// contains filtered or unexported fields
}
HttpRuleEffects contains effects applied by a matching HTTP or HTTPS rule.
+k8s:customValidation # for "at least one" and duplicate headers
func (*HttpRuleEffects) Descriptor
deprecated
func (*HttpRuleEffects) Descriptor() ([]byte, []int)
Deprecated: Use HttpRuleEffects.ProtoReflect.Descriptor instead.
func (*HttpRuleEffects) GetReplaceHeaders ¶
func (x *HttpRuleEffects) GetReplaceHeaders() []*CredentialHeader
func (*HttpRuleEffects) ProtoMessage ¶
func (*HttpRuleEffects) ProtoMessage()
func (*HttpRuleEffects) ProtoReflect ¶
func (x *HttpRuleEffects) ProtoReflect() protoreflect.Message
func (*HttpRuleEffects) Reset ¶
func (x *HttpRuleEffects) Reset()
func (*HttpRuleEffects) String ¶
func (x *HttpRuleEffects) String() string
type HttpsRule ¶
type HttpsRule struct {
// Server names matched against the SNI, in the pattern syntax of
// HttpRule.hostnames.
//
// +k8s:required
// +k8s:maxItems=256
// +k8s:listType=set
// +k8s:customValidation # format
Hostnames []string `protobuf:"bytes,1,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
// Ports of the destination the Actor connected to. Defaults to port 443.
//
// +k8s:optional
Ports *Ports `protobuf:"bytes,2,opt,name=ports,proto3" json:"ports,omitempty"`
// Effects do not authorize traffic. They are applied only when this is the
// deciding rule.
//
// +k8s:optional
Effects *HttpRuleEffects `protobuf:"bytes,3,opt,name=effects,proto3" json:"effects,omitempty"`
// contains filtered or unexported fields
}
HttpsRule allows HTTPS that the gateway intercepts (MITM). Every Actor behind such a rule must trust the gateway CA. Without it, TLS to these names fails in the Actor.
A TLS connection whose SNI and port match is terminated with a leaf certificate for that name issued by the gateway CA. Each request inside it is then decided on its authority, and the gateway re-originates TLS to that authority; the SNI only selects the leaf.
Interception is for HTTP. A connection that sends no SNI does not match, and a non-HTTP protocol inside an intercepted connection fails.
func (*HttpsRule) Descriptor
deprecated
func (*HttpsRule) GetEffects ¶
func (x *HttpsRule) GetEffects() *HttpRuleEffects
func (*HttpsRule) GetHostnames ¶
func (*HttpsRule) ProtoMessage ¶
func (*HttpsRule) ProtoMessage()
func (*HttpsRule) ProtoReflect ¶
func (x *HttpsRule) ProtoReflect() protoreflect.Message
type ImageVolumeSource ¶
type ImageVolumeSource struct {
// reference is the OCI image reference. Must include a digest
// (e.g. "name@sha256:...").
//
// +k8s:required
// +k8s:maxLength=512
// +k8s:customValidation # must be a well-formed image reference, pinned by digest
Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
// contains filtered or unexported fields
}
ImageVolumeSource mounts the contents of an OCI image, read-only. The reference must include a digest: changing the image invalidates snapshots.
func (*ImageVolumeSource) Descriptor
deprecated
func (*ImageVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use ImageVolumeSource.ProtoReflect.Descriptor instead.
func (*ImageVolumeSource) GetReference ¶
func (x *ImageVolumeSource) GetReference() string
func (*ImageVolumeSource) ProtoMessage ¶
func (*ImageVolumeSource) ProtoMessage()
func (*ImageVolumeSource) ProtoReflect ¶
func (x *ImageVolumeSource) ProtoReflect() protoreflect.Message
func (*ImageVolumeSource) Reset ¶
func (x *ImageVolumeSource) Reset()
func (*ImageVolumeSource) String ¶
func (x *ImageVolumeSource) String() string
type ListActorTemplatesRequest ¶
type ListActorTemplatesRequest struct {
// The atespace to list actor templates from. Empty lists across all
// atespaces.
//
// +k8s:optional
// +k8s:format=k8s-short-name
Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// Pagination controls.
//
// +k8s:optional
Options *ListOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*ListActorTemplatesRequest) Descriptor
deprecated
func (*ListActorTemplatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActorTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListActorTemplatesRequest) GetAtespace ¶
func (x *ListActorTemplatesRequest) GetAtespace() string
func (*ListActorTemplatesRequest) GetOptions ¶
func (x *ListActorTemplatesRequest) GetOptions() *ListOptions
func (*ListActorTemplatesRequest) ProtoMessage ¶
func (*ListActorTemplatesRequest) ProtoMessage()
func (*ListActorTemplatesRequest) ProtoReflect ¶
func (x *ListActorTemplatesRequest) ProtoReflect() protoreflect.Message
func (*ListActorTemplatesRequest) Reset ¶
func (x *ListActorTemplatesRequest) Reset()
func (*ListActorTemplatesRequest) String ¶
func (x *ListActorTemplatesRequest) String() string
type ListActorTemplatesResponse ¶
type ListActorTemplatesResponse struct {
// The page of actor template versions. This list may be empty even if
// there are more results.
ActorTemplates []*ActorTemplate `protobuf:"bytes,1,rep,name=actor_templates,json=actorTemplates,proto3" json:"actor_templates,omitempty"`
// Pagination token for the next page. Empty if this is the last page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListActorTemplatesResponse) Descriptor
deprecated
func (*ListActorTemplatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListActorTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListActorTemplatesResponse) GetActorTemplates ¶
func (x *ListActorTemplatesResponse) GetActorTemplates() []*ActorTemplate
func (*ListActorTemplatesResponse) GetNextPageToken ¶
func (x *ListActorTemplatesResponse) GetNextPageToken() string
func (*ListActorTemplatesResponse) ProtoMessage ¶
func (*ListActorTemplatesResponse) ProtoMessage()
func (*ListActorTemplatesResponse) ProtoReflect ¶
func (x *ListActorTemplatesResponse) ProtoReflect() protoreflect.Message
func (*ListActorTemplatesResponse) Reset ¶
func (x *ListActorTemplatesResponse) Reset()
func (*ListActorTemplatesResponse) String ¶
func (x *ListActorTemplatesResponse) String() string
type ListActorsRequest ¶
type ListActorsRequest struct {
// The atespace to list actors from. Empty lists across all atespaces.
//
// +k8s:optional
// +k8s:format=k8s-short-name
Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// Pagination controls.
//
// +k8s:optional
Options *ListOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
List actors with pagination. Provides "soft" guarantees: actors may be missed or duplicated if the system state changes during pagination.
func (*ListActorsRequest) Descriptor
deprecated
func (*ListActorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActorsRequest.ProtoReflect.Descriptor instead.
func (*ListActorsRequest) GetAtespace ¶
func (x *ListActorsRequest) GetAtespace() string
func (*ListActorsRequest) GetOptions ¶
func (x *ListActorsRequest) GetOptions() *ListOptions
func (*ListActorsRequest) ProtoMessage ¶
func (*ListActorsRequest) ProtoMessage()
func (*ListActorsRequest) ProtoReflect ¶
func (x *ListActorsRequest) ProtoReflect() protoreflect.Message
func (*ListActorsRequest) Reset ¶
func (x *ListActorsRequest) Reset()
func (*ListActorsRequest) String ¶
func (x *ListActorsRequest) String() string
type ListActorsResponse ¶
type ListActorsResponse struct {
// The page of actors. This list may be empty even if there are more results.
Actors []*Actor `protobuf:"bytes,1,rep,name=actors,proto3" json:"actors,omitempty"`
// Pagination token for the next page. Empty if this is the last page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListActorsResponse) Descriptor
deprecated
func (*ListActorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListActorsResponse.ProtoReflect.Descriptor instead.
func (*ListActorsResponse) GetActors ¶
func (x *ListActorsResponse) GetActors() []*Actor
func (*ListActorsResponse) GetNextPageToken ¶
func (x *ListActorsResponse) GetNextPageToken() string
func (*ListActorsResponse) ProtoMessage ¶
func (*ListActorsResponse) ProtoMessage()
func (*ListActorsResponse) ProtoReflect ¶
func (x *ListActorsResponse) ProtoReflect() protoreflect.Message
func (*ListActorsResponse) Reset ¶
func (x *ListActorsResponse) Reset()
func (*ListActorsResponse) String ¶
func (x *ListActorsResponse) String() string
type ListAtespacesRequest ¶
type ListAtespacesRequest struct {
// Pagination controls.
//
// +k8s:optional
Options *ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*ListAtespacesRequest) Descriptor
deprecated
func (*ListAtespacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAtespacesRequest.ProtoReflect.Descriptor instead.
func (*ListAtespacesRequest) GetOptions ¶
func (x *ListAtespacesRequest) GetOptions() *ListOptions
func (*ListAtespacesRequest) ProtoMessage ¶
func (*ListAtespacesRequest) ProtoMessage()
func (*ListAtespacesRequest) ProtoReflect ¶
func (x *ListAtespacesRequest) ProtoReflect() protoreflect.Message
func (*ListAtespacesRequest) Reset ¶
func (x *ListAtespacesRequest) Reset()
func (*ListAtespacesRequest) String ¶
func (x *ListAtespacesRequest) String() string
type ListAtespacesResponse ¶
type ListAtespacesResponse struct {
// The page of atespaces. This list may be empty even if there are more results.
Atespaces []*Atespace `protobuf:"bytes,1,rep,name=atespaces,proto3" json:"atespaces,omitempty"`
// Pagination token for the next page. Empty if this is the last page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListAtespacesResponse) Descriptor
deprecated
func (*ListAtespacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAtespacesResponse.ProtoReflect.Descriptor instead.
func (*ListAtespacesResponse) GetAtespaces ¶
func (x *ListAtespacesResponse) GetAtespaces() []*Atespace
func (*ListAtespacesResponse) GetNextPageToken ¶
func (x *ListAtespacesResponse) GetNextPageToken() string
func (*ListAtespacesResponse) ProtoMessage ¶
func (*ListAtespacesResponse) ProtoMessage()
func (*ListAtespacesResponse) ProtoReflect ¶
func (x *ListAtespacesResponse) ProtoReflect() protoreflect.Message
func (*ListAtespacesResponse) Reset ¶
func (x *ListAtespacesResponse) Reset()
func (*ListAtespacesResponse) String ¶
func (x *ListAtespacesResponse) String() string
type ListOptions ¶
type ListOptions struct {
// Requested page size; the server may return fewer, or occasionally
// slightly more. If unspecified, defaults to a server-chosen value;
// values above 1000 are coerced to 1000.
//
// +k8s:optional
// +k8s:minimum=1
PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Pagination token from a previous response of the same List method.
// Omit or leave empty for the first request.
//
// +k8s:optional
// +k8s:maxLength=256
PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
ListOptions are the pagination controls a List request may carry.
func (*ListOptions) Descriptor
deprecated
func (*ListOptions) Descriptor() ([]byte, []int)
Deprecated: Use ListOptions.ProtoReflect.Descriptor instead.
func (*ListOptions) GetPageSize ¶
func (x *ListOptions) GetPageSize() int32
func (*ListOptions) GetPageToken ¶
func (x *ListOptions) GetPageToken() string
func (*ListOptions) ProtoMessage ¶
func (*ListOptions) ProtoMessage()
func (*ListOptions) ProtoReflect ¶
func (x *ListOptions) ProtoReflect() protoreflect.Message
func (*ListOptions) Reset ¶
func (x *ListOptions) Reset()
func (*ListOptions) String ¶
func (x *ListOptions) String() string
type ListTagsRequest ¶
type ListTagsRequest struct {
// The atespace to list tags from. Empty lists across all atespaces.
//
// +k8s:optional
// +k8s:format=k8s-short-name
Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// Pagination controls.
//
// +k8s:optional
Options *ListOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*ListTagsRequest) Descriptor
deprecated
func (*ListTagsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.
func (*ListTagsRequest) GetAtespace ¶
func (x *ListTagsRequest) GetAtespace() string
func (*ListTagsRequest) GetOptions ¶
func (x *ListTagsRequest) GetOptions() *ListOptions
func (*ListTagsRequest) ProtoMessage ¶
func (*ListTagsRequest) ProtoMessage()
func (*ListTagsRequest) ProtoReflect ¶
func (x *ListTagsRequest) ProtoReflect() protoreflect.Message
func (*ListTagsRequest) Reset ¶
func (x *ListTagsRequest) Reset()
func (*ListTagsRequest) String ¶
func (x *ListTagsRequest) String() string
type ListTagsResponse ¶
type ListTagsResponse struct {
Tags []*Tag `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListTagsResponse) Descriptor
deprecated
func (*ListTagsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.
func (*ListTagsResponse) GetNextPageToken ¶
func (x *ListTagsResponse) GetNextPageToken() string
func (*ListTagsResponse) GetTags ¶
func (x *ListTagsResponse) GetTags() []*Tag
func (*ListTagsResponse) ProtoMessage ¶
func (*ListTagsResponse) ProtoMessage()
func (*ListTagsResponse) ProtoReflect ¶
func (x *ListTagsResponse) ProtoReflect() protoreflect.Message
func (*ListTagsResponse) Reset ¶
func (x *ListTagsResponse) Reset()
func (*ListTagsResponse) String ¶
func (x *ListTagsResponse) String() string
type ListWorkerActorAssignmentsRequest ¶
type ListWorkerActorAssignmentsRequest struct {
// The Worker under which to list Actors.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// Pagination controls.
//
// +k8s:optional
Options *ListOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
ListWorkerActorAssignmentsRequest asks for a page of the Actors hosted by a given Worker.
func (*ListWorkerActorAssignmentsRequest) Descriptor
deprecated
func (*ListWorkerActorAssignmentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkerActorAssignmentsRequest.ProtoReflect.Descriptor instead.
func (*ListWorkerActorAssignmentsRequest) GetOptions ¶
func (x *ListWorkerActorAssignmentsRequest) GetOptions() *ListOptions
func (*ListWorkerActorAssignmentsRequest) GetWorker ¶
func (x *ListWorkerActorAssignmentsRequest) GetWorker() *ObjectRef
func (*ListWorkerActorAssignmentsRequest) ProtoMessage ¶
func (*ListWorkerActorAssignmentsRequest) ProtoMessage()
func (*ListWorkerActorAssignmentsRequest) ProtoReflect ¶
func (x *ListWorkerActorAssignmentsRequest) ProtoReflect() protoreflect.Message
func (*ListWorkerActorAssignmentsRequest) Reset ¶
func (x *ListWorkerActorAssignmentsRequest) Reset()
func (*ListWorkerActorAssignmentsRequest) String ¶
func (x *ListWorkerActorAssignmentsRequest) String() string
type ListWorkerActorAssignmentsResponse ¶
type ListWorkerActorAssignmentsResponse struct {
// The Actors this page of the listing covers.
ActorAssignments []*ActorAssignment `protobuf:"bytes,1,rep,name=actor_assignments,json=actorAssignments,proto3" json:"actor_assignments,omitempty"`
// Pagination token for the next page. Empty if this is the last page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
ListWorkerActorAssignmentsResponse is one page of a Worker's Actors.
func (*ListWorkerActorAssignmentsResponse) Descriptor
deprecated
func (*ListWorkerActorAssignmentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkerActorAssignmentsResponse.ProtoReflect.Descriptor instead.
func (*ListWorkerActorAssignmentsResponse) GetActorAssignments ¶
func (x *ListWorkerActorAssignmentsResponse) GetActorAssignments() []*ActorAssignment
func (*ListWorkerActorAssignmentsResponse) GetNextPageToken ¶
func (x *ListWorkerActorAssignmentsResponse) GetNextPageToken() string
func (*ListWorkerActorAssignmentsResponse) ProtoMessage ¶
func (*ListWorkerActorAssignmentsResponse) ProtoMessage()
func (*ListWorkerActorAssignmentsResponse) ProtoReflect ¶
func (x *ListWorkerActorAssignmentsResponse) ProtoReflect() protoreflect.Message
func (*ListWorkerActorAssignmentsResponse) Reset ¶
func (x *ListWorkerActorAssignmentsResponse) Reset()
func (*ListWorkerActorAssignmentsResponse) String ¶
func (x *ListWorkerActorAssignmentsResponse) String() string
type ListWorkersRequest ¶
type ListWorkersRequest struct {
// Pagination controls.
//
// +k8s:optional
Options *ListOptions `protobuf:"bytes,1,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*ListWorkersRequest) Descriptor
deprecated
func (*ListWorkersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkersRequest.ProtoReflect.Descriptor instead.
func (*ListWorkersRequest) GetOptions ¶
func (x *ListWorkersRequest) GetOptions() *ListOptions
func (*ListWorkersRequest) ProtoMessage ¶
func (*ListWorkersRequest) ProtoMessage()
func (*ListWorkersRequest) ProtoReflect ¶
func (x *ListWorkersRequest) ProtoReflect() protoreflect.Message
func (*ListWorkersRequest) Reset ¶
func (x *ListWorkersRequest) Reset()
func (*ListWorkersRequest) String ¶
func (x *ListWorkersRequest) String() string
type ListWorkersResponse ¶
type ListWorkersResponse struct {
// The page of workers. This list may be empty even if there are more results.
Workers []*Worker `protobuf:"bytes,1,rep,name=workers,proto3" json:"workers,omitempty"`
// Pagination token for the next page. Empty if this is the last page.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}
func (*ListWorkersResponse) Descriptor
deprecated
func (*ListWorkersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListWorkersResponse.ProtoReflect.Descriptor instead.
func (*ListWorkersResponse) GetNextPageToken ¶
func (x *ListWorkersResponse) GetNextPageToken() string
func (*ListWorkersResponse) GetWorkers ¶
func (x *ListWorkersResponse) GetWorkers() []*Worker
func (*ListWorkersResponse) ProtoMessage ¶
func (*ListWorkersResponse) ProtoMessage()
func (*ListWorkersResponse) ProtoReflect ¶
func (x *ListWorkersResponse) ProtoReflect() protoreflect.Message
func (*ListWorkersResponse) Reset ¶
func (x *ListWorkersResponse) Reset()
func (*ListWorkersResponse) String ¶
func (x *ListWorkersResponse) String() string
type MarkWorkerAvailableRequest ¶
type MarkWorkerAvailableRequest struct {
// The Worker to mark ACTIVE.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
MarkWorkerAvailableRequest names the Worker to mark ACTIVE.
func (*MarkWorkerAvailableRequest) Descriptor
deprecated
func (*MarkWorkerAvailableRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarkWorkerAvailableRequest.ProtoReflect.Descriptor instead.
func (*MarkWorkerAvailableRequest) GetWorker ¶
func (x *MarkWorkerAvailableRequest) GetWorker() *ObjectRef
func (*MarkWorkerAvailableRequest) ProtoMessage ¶
func (*MarkWorkerAvailableRequest) ProtoMessage()
func (*MarkWorkerAvailableRequest) ProtoReflect ¶
func (x *MarkWorkerAvailableRequest) ProtoReflect() protoreflect.Message
func (*MarkWorkerAvailableRequest) Reset ¶
func (x *MarkWorkerAvailableRequest) Reset()
func (*MarkWorkerAvailableRequest) String ¶
func (x *MarkWorkerAvailableRequest) String() string
type MarkWorkerAvailableResponse ¶
type MarkWorkerAvailableResponse struct {
// The Worker marked ACTIVE.
Worker *Worker `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
MarkWorkerAvailableResponse holds the Worker marked ACTIVE.
func (*MarkWorkerAvailableResponse) Descriptor
deprecated
func (*MarkWorkerAvailableResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarkWorkerAvailableResponse.ProtoReflect.Descriptor instead.
func (*MarkWorkerAvailableResponse) GetWorker ¶
func (x *MarkWorkerAvailableResponse) GetWorker() *Worker
func (*MarkWorkerAvailableResponse) ProtoMessage ¶
func (*MarkWorkerAvailableResponse) ProtoMessage()
func (*MarkWorkerAvailableResponse) ProtoReflect ¶
func (x *MarkWorkerAvailableResponse) ProtoReflect() protoreflect.Message
func (*MarkWorkerAvailableResponse) Reset ¶
func (x *MarkWorkerAvailableResponse) Reset()
func (*MarkWorkerAvailableResponse) String ¶
func (x *MarkWorkerAvailableResponse) String() string
type MarkWorkerUnavailableRequest ¶
type MarkWorkerUnavailableRequest struct {
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
MarkWorkerUnavailableRequest names the Worker to mark UNAVAILABLE.
func (*MarkWorkerUnavailableRequest) Descriptor
deprecated
func (*MarkWorkerUnavailableRequest) Descriptor() ([]byte, []int)
Deprecated: Use MarkWorkerUnavailableRequest.ProtoReflect.Descriptor instead.
func (*MarkWorkerUnavailableRequest) GetWorker ¶
func (x *MarkWorkerUnavailableRequest) GetWorker() *ObjectRef
func (*MarkWorkerUnavailableRequest) ProtoMessage ¶
func (*MarkWorkerUnavailableRequest) ProtoMessage()
func (*MarkWorkerUnavailableRequest) ProtoReflect ¶
func (x *MarkWorkerUnavailableRequest) ProtoReflect() protoreflect.Message
func (*MarkWorkerUnavailableRequest) Reset ¶
func (x *MarkWorkerUnavailableRequest) Reset()
func (*MarkWorkerUnavailableRequest) String ¶
func (x *MarkWorkerUnavailableRequest) String() string
type MarkWorkerUnavailableResponse ¶
type MarkWorkerUnavailableResponse struct {
Worker *Worker `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
MarkWorkerUnavailableResponse holds the Worker marked UNAVAILABLE.
func (*MarkWorkerUnavailableResponse) Descriptor
deprecated
func (*MarkWorkerUnavailableResponse) Descriptor() ([]byte, []int)
Deprecated: Use MarkWorkerUnavailableResponse.ProtoReflect.Descriptor instead.
func (*MarkWorkerUnavailableResponse) GetWorker ¶
func (x *MarkWorkerUnavailableResponse) GetWorker() *Worker
func (*MarkWorkerUnavailableResponse) ProtoMessage ¶
func (*MarkWorkerUnavailableResponse) ProtoMessage()
func (*MarkWorkerUnavailableResponse) ProtoReflect ¶
func (x *MarkWorkerUnavailableResponse) ProtoReflect() protoreflect.Message
func (*MarkWorkerUnavailableResponse) Reset ¶
func (x *MarkWorkerUnavailableResponse) Reset()
func (*MarkWorkerUnavailableResponse) String ¶
func (x *MarkWorkerUnavailableResponse) String() string
type MethodAnnotation ¶
type MethodAnnotation struct {
// The message name of the resource the method operates on. For example,
// "Actor" for SuspendActor, or "EgressPolicy" for GetActorEgressPolicy.
Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
// contains filtered or unexported fields
}
MethodAnnotation describes an RPC of the API.
func (*MethodAnnotation) Descriptor
deprecated
func (*MethodAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use MethodAnnotation.ProtoReflect.Descriptor instead.
func (*MethodAnnotation) GetResource ¶
func (x *MethodAnnotation) GetResource() string
func (*MethodAnnotation) ProtoMessage ¶
func (*MethodAnnotation) ProtoMessage()
func (*MethodAnnotation) ProtoReflect ¶
func (x *MethodAnnotation) ProtoReflect() protoreflect.Message
func (*MethodAnnotation) Reset ¶
func (x *MethodAnnotation) Reset()
func (*MethodAnnotation) String ¶
func (x *MethodAnnotation) String() string
type MintActorJwtRequest ¶
type MintActorJwtRequest struct {
// The actor for which the JWT should be issued.
//
// Must be a valid actor that currently exists according to the actor store.
//
// +k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// The audiences the minted JWT is bound to. Tokens are only issued with
// audience bindings, so at least one is required.
//
// +k8s:required
// +k8s:maxItems=16 # guardrail; tokens realistically bind a handful of audiences
// +k8s:listType=set
// +k8s:eachVal=+k8s:maxLength=512 # audiences are caller-defined URIs; bound only
Audiences []string `protobuf:"bytes,2,rep,name=audiences,proto3" json:"audiences,omitempty"`
// Lifetime of the JWT, in seconds.
//
// +k8s:required
// +k8s:minimum=300
// +k8s:maximum=3600
ExpirationSeconds int64 `protobuf:"varint,3,opt,name=expiration_seconds,json=expirationSeconds,proto3" json:"expiration_seconds,omitempty"`
// contains filtered or unexported fields
}
Request message for MintActorJwt.
func (*MintActorJwtRequest) Descriptor
deprecated
func (*MintActorJwtRequest) Descriptor() ([]byte, []int)
Deprecated: Use MintActorJwtRequest.ProtoReflect.Descriptor instead.
func (*MintActorJwtRequest) GetActor ¶
func (x *MintActorJwtRequest) GetActor() *ObjectRef
func (*MintActorJwtRequest) GetAudiences ¶
func (x *MintActorJwtRequest) GetAudiences() []string
func (*MintActorJwtRequest) GetExpirationSeconds ¶
func (x *MintActorJwtRequest) GetExpirationSeconds() int64
func (*MintActorJwtRequest) ProtoMessage ¶
func (*MintActorJwtRequest) ProtoMessage()
func (*MintActorJwtRequest) ProtoReflect ¶
func (x *MintActorJwtRequest) ProtoReflect() protoreflect.Message
func (*MintActorJwtRequest) Reset ¶
func (x *MintActorJwtRequest) Reset()
func (*MintActorJwtRequest) String ¶
func (x *MintActorJwtRequest) String() string
type MintActorJwtResponse ¶
type MintActorJwtResponse struct {
// The signed actor JWT. Relying parties verify it with OpenID Connect
// Discovery against its issuer.
//
// Claims:
//
// * iss: The issuer URL. Relying parties fetch
// `<iss>/.well-known/openid-configuration` to find the signing keys.
// * sub: `actor/<atespace>/<name>`.
// * aud: The requested audiences, always a JSON array.
// * exp, nbf, iat: Numeric Unix timestamps. nbf is five minutes before iat
// to allow for clock skew.
// * jti: A random token ID.
// * `actor.ate.dev`: A JSON object with the actor's `atespace`,
// `actorName`, and `actorUID`.
//
// The subject and claim name say the token speaks for the actor itself.
// A token minted for a Substrate component acting on the actor's behalf
// (WorkerService.MintWorkerActorJwt) uses `worker-for-actor` in both places
// instead, so a relying party can grant the two different access.
ActorJwt string `protobuf:"bytes,1,opt,name=actor_jwt,json=actorJwt,proto3" json:"actor_jwt,omitempty"`
// expire_time is when actor_jwt expires. Equal to its exp claim.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// contains filtered or unexported fields
}
Response message for MintActorJwt.
func (*MintActorJwtResponse) Descriptor
deprecated
func (*MintActorJwtResponse) Descriptor() ([]byte, []int)
Deprecated: Use MintActorJwtResponse.ProtoReflect.Descriptor instead.
func (*MintActorJwtResponse) GetActorJwt ¶
func (x *MintActorJwtResponse) GetActorJwt() string
func (*MintActorJwtResponse) GetExpireTime ¶
func (x *MintActorJwtResponse) GetExpireTime() *timestamppb.Timestamp
func (*MintActorJwtResponse) ProtoMessage ¶
func (*MintActorJwtResponse) ProtoMessage()
func (*MintActorJwtResponse) ProtoReflect ¶
func (x *MintActorJwtResponse) ProtoReflect() protoreflect.Message
func (*MintActorJwtResponse) Reset ¶
func (x *MintActorJwtResponse) Reset()
func (*MintActorJwtResponse) String ¶
func (x *MintActorJwtResponse) String() string
type MintWorkerActorCertificateRequest ¶
type MintWorkerActorCertificateRequest struct {
// The actor for which the certificate should be issued.
//
// Must be a valid actor that currently exists according to the actor store.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// The UID of the actor --- used to guard against deletion and recreation of
// an actor with the same name.
//
// +k8s:required
// +k8s:format=k8s-uuid
ActorUid string `protobuf:"bytes,2,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
// Request contains DER encoded bytes of a x509 certificate signing request.
// The signer will ignore the contents of the CSR except to extract the
// subject public key.
//
// +k8s:required
// +k8s:maxBytes=16384
CertificateSigningRequest []byte `` /* 138-byte string literal not displayed */
// The Worker requesting the certificate. atespace is always empty; Workers
// are global-scoped. atelet fills this in from its caller's certificate, so
// it names the Worker that certificate proves the request came from. It
// must be the Worker that the actor is assigned to.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,4,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
Request message for MintWorkerActorCertificate.
func (*MintWorkerActorCertificateRequest) Descriptor
deprecated
func (*MintWorkerActorCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MintWorkerActorCertificateRequest.ProtoReflect.Descriptor instead.
func (*MintWorkerActorCertificateRequest) GetActor ¶
func (x *MintWorkerActorCertificateRequest) GetActor() *ObjectRef
func (*MintWorkerActorCertificateRequest) GetActorUid ¶
func (x *MintWorkerActorCertificateRequest) GetActorUid() string
func (*MintWorkerActorCertificateRequest) GetCertificateSigningRequest ¶
func (x *MintWorkerActorCertificateRequest) GetCertificateSigningRequest() []byte
func (*MintWorkerActorCertificateRequest) GetWorker ¶
func (x *MintWorkerActorCertificateRequest) GetWorker() *ObjectRef
func (*MintWorkerActorCertificateRequest) ProtoMessage ¶
func (*MintWorkerActorCertificateRequest) ProtoMessage()
func (*MintWorkerActorCertificateRequest) ProtoReflect ¶
func (x *MintWorkerActorCertificateRequest) ProtoReflect() protoreflect.Message
func (*MintWorkerActorCertificateRequest) Reset ¶
func (x *MintWorkerActorCertificateRequest) Reset()
func (*MintWorkerActorCertificateRequest) String ¶
func (x *MintWorkerActorCertificateRequest) String() string
type MintWorkerActorCertificateResponse ¶
type MintWorkerActorCertificateResponse struct {
// Response contains a list of DER encoded certificates. The first entry is the
// leaf certificate, and any remaining entries are intermediates in
// leaf-to-root order.
ActorCertificates [][]byte `protobuf:"bytes,1,rep,name=actor_certificates,json=actorCertificates,proto3" json:"actor_certificates,omitempty"`
// contains filtered or unexported fields
}
Response message for MintWorkerActorCertificate.
func (*MintWorkerActorCertificateResponse) Descriptor
deprecated
func (*MintWorkerActorCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MintWorkerActorCertificateResponse.ProtoReflect.Descriptor instead.
func (*MintWorkerActorCertificateResponse) GetActorCertificates ¶
func (x *MintWorkerActorCertificateResponse) GetActorCertificates() [][]byte
func (*MintWorkerActorCertificateResponse) ProtoMessage ¶
func (*MintWorkerActorCertificateResponse) ProtoMessage()
func (*MintWorkerActorCertificateResponse) ProtoReflect ¶
func (x *MintWorkerActorCertificateResponse) ProtoReflect() protoreflect.Message
func (*MintWorkerActorCertificateResponse) Reset ¶
func (x *MintWorkerActorCertificateResponse) Reset()
func (*MintWorkerActorCertificateResponse) String ¶
func (x *MintWorkerActorCertificateResponse) String() string
type MintWorkerActorJwtRequest ¶
type MintWorkerActorJwtRequest struct {
// The actor for which the JWT should be issued.
//
// Must be a valid actor that currently exists according to the actor store.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// The UID of the actor --- used to guard against deletion and recreation of
// an actor with the same name.
//
// +k8s:required
// +k8s:format=k8s-uuid
ActorUid string `protobuf:"bytes,2,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
// The audiences the minted JWT is bound to. Tokens are only issued with
// audience bindings, so at least one is required.
//
// +k8s:required
// +k8s:maxItems=16 # guardrail; tokens realistically bind a handful of audiences
// +k8s:listType=set
// +k8s:eachVal=+k8s:minLength=1
// +k8s:eachVal=+k8s:maxLength=512 # audiences are caller-defined URIs; bound only
Audiences []string `protobuf:"bytes,3,rep,name=audiences,proto3" json:"audiences,omitempty"`
// contains filtered or unexported fields
}
Request message for MintWorkerActorJwt.
func (*MintWorkerActorJwtRequest) Descriptor
deprecated
func (*MintWorkerActorJwtRequest) Descriptor() ([]byte, []int)
Deprecated: Use MintWorkerActorJwtRequest.ProtoReflect.Descriptor instead.
func (*MintWorkerActorJwtRequest) GetActor ¶
func (x *MintWorkerActorJwtRequest) GetActor() *ObjectRef
func (*MintWorkerActorJwtRequest) GetActorUid ¶
func (x *MintWorkerActorJwtRequest) GetActorUid() string
func (*MintWorkerActorJwtRequest) GetAudiences ¶
func (x *MintWorkerActorJwtRequest) GetAudiences() []string
func (*MintWorkerActorJwtRequest) ProtoMessage ¶
func (*MintWorkerActorJwtRequest) ProtoMessage()
func (*MintWorkerActorJwtRequest) ProtoReflect ¶
func (x *MintWorkerActorJwtRequest) ProtoReflect() protoreflect.Message
func (*MintWorkerActorJwtRequest) Reset ¶
func (x *MintWorkerActorJwtRequest) Reset()
func (*MintWorkerActorJwtRequest) String ¶
func (x *MintWorkerActorJwtRequest) String() string
type MintWorkerActorJwtResponse ¶
type MintWorkerActorJwtResponse struct {
// The signed JWT. Its claims are those described on
// MintActorJwtResponse.actor_jwt, except that it speaks for a worker
// acting on behalf of the actor rather than for the actor itself:
//
// * sub: `worker-for-actor/<atespace>/<name>`.
// * `worker-for-actor.ate.dev`: A JSON object with the actor's `atespace`,
// `actorName`, and `actorUID`, and the `node` the token was minted for,
// the one hosting the actor at that moment. A relying party refuses the
// token once the actor has left that node.
//
// A relying party that trusts actor JWTs must not accept this token as the
// actor, and vice versa.
ActorJwt string `protobuf:"bytes,1,opt,name=actor_jwt,json=actorJwt,proto3" json:"actor_jwt,omitempty"`
// expire_time is when actor_jwt expires. Equal to its exp claim.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// contains filtered or unexported fields
}
Response message for MintWorkerActorJwt.
func (*MintWorkerActorJwtResponse) Descriptor
deprecated
func (*MintWorkerActorJwtResponse) Descriptor() ([]byte, []int)
Deprecated: Use MintWorkerActorJwtResponse.ProtoReflect.Descriptor instead.
func (*MintWorkerActorJwtResponse) GetActorJwt ¶
func (x *MintWorkerActorJwtResponse) GetActorJwt() string
func (*MintWorkerActorJwtResponse) GetExpireTime ¶
func (x *MintWorkerActorJwtResponse) GetExpireTime() *timestamppb.Timestamp
func (*MintWorkerActorJwtResponse) ProtoMessage ¶
func (*MintWorkerActorJwtResponse) ProtoMessage()
func (*MintWorkerActorJwtResponse) ProtoReflect ¶
func (x *MintWorkerActorJwtResponse) ProtoReflect() protoreflect.Message
func (*MintWorkerActorJwtResponse) Reset ¶
func (x *MintWorkerActorJwtResponse) Reset()
func (*MintWorkerActorJwtResponse) String ¶
func (x *MintWorkerActorJwtResponse) String() string
type ObjectRef ¶
type ObjectRef struct {
// The atespace of the referenced resource. This field should be empty if the
// target resource is global-scoped, but references to objects in the same
// atespace as the referrer must still populate this field.
//
// References to atespaced resources should add `+k8s:subfield(atespace)=+k8s:required`
// References to non-atespaced resources should add `+k8s:subfield(atespace)=+k8s:forbidden`
// +k8s:optional
// +k8s:format=k8s-short-name
Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// The name of the referenced resource. This field is required.
//
// +k8s:required
// +k8s:format=k8s-short-name
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
ObjectRef references a Substrate resource by its atespace and name.
func (*ObjectRef) Descriptor
deprecated
func (*ObjectRef) GetAtespace ¶
func (*ObjectRef) ProtoMessage ¶
func (*ObjectRef) ProtoMessage()
func (*ObjectRef) ProtoReflect ¶
func (x *ObjectRef) ProtoReflect() protoreflect.Message
type ObjectSnapshot ¶
type ObjectSnapshot struct {
// snapshot_uri addresses the snapshot's prefix in object storage.
//
// +k8s:required
// +k8s:maxLength=2048 # the template's storage_location bound plus the owner prefix and snapshot name
SnapshotUri string `protobuf:"bytes,1,opt,name=snapshot_uri,json=snapshotUri,proto3" json:"snapshot_uri,omitempty"`
// contains filtered or unexported fields
}
ObjectSnapshot addresses a snapshot held in object storage.
func (*ObjectSnapshot) Descriptor
deprecated
func (*ObjectSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use ObjectSnapshot.ProtoReflect.Descriptor instead.
func (*ObjectSnapshot) GetSnapshotUri ¶
func (x *ObjectSnapshot) GetSnapshotUri() string
func (*ObjectSnapshot) ProtoMessage ¶
func (*ObjectSnapshot) ProtoMessage()
func (*ObjectSnapshot) ProtoReflect ¶
func (x *ObjectSnapshot) ProtoReflect() protoreflect.Message
func (*ObjectSnapshot) Reset ¶
func (x *ObjectSnapshot) Reset()
func (*ObjectSnapshot) String ¶
func (x *ObjectSnapshot) String() string
type Ports ¶
type Ports struct {
// Every port.
//
// +k8s:optional
// +k8s:unionMember
All *AllPorts `protobuf:"bytes,1,opt,name=all,proto3" json:"all,omitempty"`
// Port numbers, without repeats.
//
// +k8s:optional
// +k8s:unionMember
// +k8s:maxItems=16
// +k8s:listType=set
// +k8s:eachVal=+k8s:minimum=1
// +k8s:eachVal=+k8s:maximum=65535
Numbers []int32 `protobuf:"varint,2,rep,packed,name=numbers,proto3" json:"numbers,omitempty"`
// contains filtered or unexported fields
}
Ports selects the destination ports a rule matches. Every port, or a set of port numbers. all and numbers can not be set together.
func (*Ports) Descriptor
deprecated
func (*Ports) GetNumbers ¶
func (*Ports) ProtoMessage ¶
func (*Ports) ProtoMessage()
func (*Ports) ProtoReflect ¶
func (x *Ports) ProtoReflect() protoreflect.Message
type RegisterWorkerRequest ¶
type RegisterWorkerRequest struct {
// The Worker being registered. atespace is always empty; Workers are
// global-scoped.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// The epoch the worker process acquired through AcquireWorkerEpoch.
//
// +k8s:required
// +k8s:minimum=1
Epoch int64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"`
// The worker pod's IPs, at most one per IP family, in the order Kubernetes
// reports them. They replace what is recorded.
//
// +k8s:required
// +k8s:maxItems=2
// +k8s:listType=atomic
// +k8s:customValidation # until `format=k8s-ip` is supported
Ips []string `protobuf:"bytes,4,rep,name=ips,proto3" json:"ips,omitempty"`
// Everything the Worker can hold. This replaces what is recorded rather than
// merging into it: a dimension left out is one the Worker no longer supplies,
// and an Actor asking for that dimension will not be placed here.
//
// +k8s:required
Capacity *WorkerResources `protobuf:"bytes,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterWorkerRequest) Descriptor
deprecated
func (*RegisterWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterWorkerRequest.ProtoReflect.Descriptor instead.
func (*RegisterWorkerRequest) GetCapacity ¶
func (x *RegisterWorkerRequest) GetCapacity() *WorkerResources
func (*RegisterWorkerRequest) GetEpoch ¶
func (x *RegisterWorkerRequest) GetEpoch() int64
func (*RegisterWorkerRequest) GetIps ¶
func (x *RegisterWorkerRequest) GetIps() []string
func (*RegisterWorkerRequest) GetWorker ¶
func (x *RegisterWorkerRequest) GetWorker() *ObjectRef
func (*RegisterWorkerRequest) ProtoMessage ¶
func (*RegisterWorkerRequest) ProtoMessage()
func (*RegisterWorkerRequest) ProtoReflect ¶
func (x *RegisterWorkerRequest) ProtoReflect() protoreflect.Message
func (*RegisterWorkerRequest) Reset ¶
func (x *RegisterWorkerRequest) Reset()
func (*RegisterWorkerRequest) String ¶
func (x *RegisterWorkerRequest) String() string
type RegisterWorkerResponse ¶
type RegisterWorkerResponse struct {
// The Worker as recorded, so a caller sees what its report resolved to.
Worker *Worker `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
func (*RegisterWorkerResponse) Descriptor
deprecated
func (*RegisterWorkerResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterWorkerResponse.ProtoReflect.Descriptor instead.
func (*RegisterWorkerResponse) GetWorker ¶
func (x *RegisterWorkerResponse) GetWorker() *Worker
func (*RegisterWorkerResponse) ProtoMessage ¶
func (*RegisterWorkerResponse) ProtoMessage()
func (*RegisterWorkerResponse) ProtoReflect ¶
func (x *RegisterWorkerResponse) ProtoReflect() protoreflect.Message
func (*RegisterWorkerResponse) Reset ¶
func (x *RegisterWorkerResponse) Reset()
func (*RegisterWorkerResponse) String ¶
func (x *RegisterWorkerResponse) String() string
type ReportActorCrashedRequest ¶
type ReportActorCrashedRequest struct {
// The Worker making the report. atespace is always empty; Workers are
// global-scoped. atelet fills this in from its caller's certificate.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// The Actor whose sandbox died. It must be assigned to worker.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"`
// The UID of the Actor the Worker believes it is hosting, as for
// RequestActorSuspend.
//
// +k8s:required
// +k8s:format=k8s-uuid
ActorUid string `protobuf:"bytes,3,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
// What the Worker saw, recorded in the Actor's crash message.
//
// +k8s:required
// +k8s:maxLength=4096
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ReportActorCrashedRequest) Descriptor
deprecated
func (*ReportActorCrashedRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportActorCrashedRequest.ProtoReflect.Descriptor instead.
func (*ReportActorCrashedRequest) GetActor ¶
func (x *ReportActorCrashedRequest) GetActor() *ObjectRef
func (*ReportActorCrashedRequest) GetActorUid ¶
func (x *ReportActorCrashedRequest) GetActorUid() string
func (*ReportActorCrashedRequest) GetMessage ¶
func (x *ReportActorCrashedRequest) GetMessage() string
func (*ReportActorCrashedRequest) GetWorker ¶
func (x *ReportActorCrashedRequest) GetWorker() *ObjectRef
func (*ReportActorCrashedRequest) ProtoMessage ¶
func (*ReportActorCrashedRequest) ProtoMessage()
func (*ReportActorCrashedRequest) ProtoReflect ¶
func (x *ReportActorCrashedRequest) ProtoReflect() protoreflect.Message
func (*ReportActorCrashedRequest) Reset ¶
func (x *ReportActorCrashedRequest) Reset()
func (*ReportActorCrashedRequest) String ¶
func (x *ReportActorCrashedRequest) String() string
type ReportActorCrashedResponse ¶
type ReportActorCrashedResponse struct {
// The Actor as the report left it.
Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// contains filtered or unexported fields
}
func (*ReportActorCrashedResponse) Descriptor
deprecated
func (*ReportActorCrashedResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportActorCrashedResponse.ProtoReflect.Descriptor instead.
func (*ReportActorCrashedResponse) GetActor ¶
func (x *ReportActorCrashedResponse) GetActor() *Actor
func (*ReportActorCrashedResponse) ProtoMessage ¶
func (*ReportActorCrashedResponse) ProtoMessage()
func (*ReportActorCrashedResponse) ProtoReflect ¶
func (x *ReportActorCrashedResponse) ProtoReflect() protoreflect.Message
func (*ReportActorCrashedResponse) Reset ¶
func (x *ReportActorCrashedResponse) Reset()
func (*ReportActorCrashedResponse) String ¶
func (x *ReportActorCrashedResponse) String() string
type ReportActorSnapshotStateRequest ¶
type ReportActorSnapshotStateRequest struct {
// The Actor the report is about.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// The UID of the Actor atelet holds snapshots for, which pins the report to
// one incarnation, as on RequestActorSuspendRequest.
//
// +k8s:required
// +k8s:format=k8s-uuid
ActorUid string `protobuf:"bytes,2,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
// +k8s:required
State *ActorSnapshotState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
func (*ReportActorSnapshotStateRequest) Descriptor
deprecated
func (*ReportActorSnapshotStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReportActorSnapshotStateRequest.ProtoReflect.Descriptor instead.
func (*ReportActorSnapshotStateRequest) GetActor ¶
func (x *ReportActorSnapshotStateRequest) GetActor() *ObjectRef
func (*ReportActorSnapshotStateRequest) GetActorUid ¶
func (x *ReportActorSnapshotStateRequest) GetActorUid() string
func (*ReportActorSnapshotStateRequest) GetState ¶
func (x *ReportActorSnapshotStateRequest) GetState() *ActorSnapshotState
func (*ReportActorSnapshotStateRequest) ProtoMessage ¶
func (*ReportActorSnapshotStateRequest) ProtoMessage()
func (*ReportActorSnapshotStateRequest) ProtoReflect ¶
func (x *ReportActorSnapshotStateRequest) ProtoReflect() protoreflect.Message
func (*ReportActorSnapshotStateRequest) Reset ¶
func (x *ReportActorSnapshotStateRequest) Reset()
func (*ReportActorSnapshotStateRequest) String ¶
func (x *ReportActorSnapshotStateRequest) String() string
type ReportActorSnapshotStateResponse ¶
type ReportActorSnapshotStateResponse struct {
// contains filtered or unexported fields
}
func (*ReportActorSnapshotStateResponse) Descriptor
deprecated
func (*ReportActorSnapshotStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReportActorSnapshotStateResponse.ProtoReflect.Descriptor instead.
func (*ReportActorSnapshotStateResponse) ProtoMessage ¶
func (*ReportActorSnapshotStateResponse) ProtoMessage()
func (*ReportActorSnapshotStateResponse) ProtoReflect ¶
func (x *ReportActorSnapshotStateResponse) ProtoReflect() protoreflect.Message
func (*ReportActorSnapshotStateResponse) Reset ¶
func (x *ReportActorSnapshotStateResponse) Reset()
func (*ReportActorSnapshotStateResponse) String ¶
func (x *ReportActorSnapshotStateResponse) String() string
type RequestActorSuspendRequest ¶
type RequestActorSuspendRequest struct {
// The Worker making the request. atespace is always empty; Workers are
// global-scoped. atelet fills this in from its caller's certificate, so it
// names the Worker that certificate proves the request came from.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// The Actor to suspend. It must be assigned to worker; a Worker may speak
// only for what it hosts.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,2,opt,name=actor,proto3" json:"actor,omitempty"`
// The UID of the Actor the Worker believes it is hosting, which pins the
// request to one incarnation. Without it a request could outlive the Actor
// it was made about and suspend the recreation that took its name.
//
// +k8s:required
// +k8s:format=k8s-uuid
ActorUid string `protobuf:"bytes,3,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
// contains filtered or unexported fields
}
RequestActorSuspendRequest asks to suspend an Actor the calling Worker hosts. The suspend uses SuspendActor's default mode.
(-- TODO: add a durability mode, carried through atelet's RequestActorSuspendRequest, so the Worker can choose how the snapshot is made durable. --)
func (*RequestActorSuspendRequest) Descriptor
deprecated
func (*RequestActorSuspendRequest) Descriptor() ([]byte, []int)
Deprecated: Use RequestActorSuspendRequest.ProtoReflect.Descriptor instead.
func (*RequestActorSuspendRequest) GetActor ¶
func (x *RequestActorSuspendRequest) GetActor() *ObjectRef
func (*RequestActorSuspendRequest) GetActorUid ¶
func (x *RequestActorSuspendRequest) GetActorUid() string
func (*RequestActorSuspendRequest) GetWorker ¶
func (x *RequestActorSuspendRequest) GetWorker() *ObjectRef
func (*RequestActorSuspendRequest) ProtoMessage ¶
func (*RequestActorSuspendRequest) ProtoMessage()
func (*RequestActorSuspendRequest) ProtoReflect ¶
func (x *RequestActorSuspendRequest) ProtoReflect() protoreflect.Message
func (*RequestActorSuspendRequest) Reset ¶
func (x *RequestActorSuspendRequest) Reset()
func (*RequestActorSuspendRequest) String ¶
func (x *RequestActorSuspendRequest) String() string
type RequestActorSuspendResponse ¶
type RequestActorSuspendResponse struct {
// The Actor as the suspend workflow left it.
Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// contains filtered or unexported fields
}
func (*RequestActorSuspendResponse) Descriptor
deprecated
func (*RequestActorSuspendResponse) Descriptor() ([]byte, []int)
Deprecated: Use RequestActorSuspendResponse.ProtoReflect.Descriptor instead.
func (*RequestActorSuspendResponse) GetActor ¶
func (x *RequestActorSuspendResponse) GetActor() *Actor
func (*RequestActorSuspendResponse) ProtoMessage ¶
func (*RequestActorSuspendResponse) ProtoMessage()
func (*RequestActorSuspendResponse) ProtoReflect ¶
func (x *RequestActorSuspendResponse) ProtoReflect() protoreflect.Message
func (*RequestActorSuspendResponse) Reset ¶
func (x *RequestActorSuspendResponse) Reset()
func (*RequestActorSuspendResponse) String ¶
func (x *RequestActorSuspendResponse) String() string
type ResourceAnnotation ¶
type ResourceAnnotation struct {
// The resource types this resource is a subresource of: another resource's
// message name, or "Global" for the whole Substrate installation. Empty for
// a top-level resource.
Parents []string `protobuf:"bytes,1,rep,name=parents,proto3" json:"parents,omitempty"`
// Whether each parent has at most one instance of this resource.
Singleton bool `protobuf:"varint,2,opt,name=singleton,proto3" json:"singleton,omitempty"`
// Whether a top-level resource belongs to an atespace. Set only on a
// top-level resource: a subresource has its parent's scope.
Scope Scope `protobuf:"varint,3,opt,name=scope,proto3,enum=substrate.ateapi.v1.Scope" json:"scope,omitempty"`
// The resource's plural name, as List methods and their response fields
// use it. For example, "AccessPolicies" for AccessPolicy.
Plural string `protobuf:"bytes,4,opt,name=plural,proto3" json:"plural,omitempty"`
// contains filtered or unexported fields
}
ResourceAnnotation marks a message as an API resource. See docs/resource-model.md.
func (*ResourceAnnotation) Descriptor
deprecated
func (*ResourceAnnotation) Descriptor() ([]byte, []int)
Deprecated: Use ResourceAnnotation.ProtoReflect.Descriptor instead.
func (*ResourceAnnotation) GetParents ¶
func (x *ResourceAnnotation) GetParents() []string
func (*ResourceAnnotation) GetPlural ¶
func (x *ResourceAnnotation) GetPlural() string
func (*ResourceAnnotation) GetScope ¶
func (x *ResourceAnnotation) GetScope() Scope
func (*ResourceAnnotation) GetSingleton ¶
func (x *ResourceAnnotation) GetSingleton() bool
func (*ResourceAnnotation) ProtoMessage ¶
func (*ResourceAnnotation) ProtoMessage()
func (*ResourceAnnotation) ProtoReflect ¶
func (x *ResourceAnnotation) ProtoReflect() protoreflect.Message
func (*ResourceAnnotation) Reset ¶
func (x *ResourceAnnotation) Reset()
func (*ResourceAnnotation) String ¶
func (x *ResourceAnnotation) String() string
type ResourceMetadata ¶
type ResourceMetadata struct {
// atespace is the namespace the resource belongs to. Empty for global-scoped
// resources. Caller-specified at creation and immutable thereafter.
//
// Atespaced resources should add `+k8s:subfield(atespace)=+k8s:required`
// Non-atespaced resources should add `+k8s:subfield(atespace)=+k8s:forbidden`
// +k8s:optional
// +k8s:format=k8s-short-name
// +k8s:immutable
Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// name is the resource's name, unique within its atespace (or globally, for
// global-scoped resources). Caller-specified at creation and immutable thereafter.
//
// +k8s:required
// +k8s:format=k8s-short-name
// +k8s:immutable
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// uid is a server-assigned, globally unique identifier for this resource.
// Immutable throughout the lifecycle of the resource.
//
// This field is ignored during create operations and used as precondition
// for update operations.
//
// +k8s:optional
// +k8s:format=k8s-uuid
// +k8s:immutable
Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`
// version is increased on every mutation.
//
// This field is ignored during create operations and used as precondition
// for update operations.
//
// +k8s:optional
// +k8s:alpha(since: "0.0")=+k8s:monotonic # TODO: get rid of alpha prefix
// +k8s:minimum=1
// +k8s:update=NoUnset
Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
// create_time is the time the resource was created.
//
// This field is ignored on input.
//
// +k8s:optional
// +k8s:immutable
CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// update_time is the time the resource was last updated.
//
// This field is ignored on input.
//
// +k8s:optional
// +k8s:update=NoUnset
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// delete_time is the time the resource started its deletion.
//
// This field is ignored on input.
//
// +k8s:optional
// +k8s:update=NoModify
// +k8s:update=NoUnset
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// contains filtered or unexported fields
}
ResourceMetadata holds the common fields carried by every Substrate resource.
+k8s:customValidation # timestamps must be valid, and update_time must not precede create_time
func (*ResourceMetadata) Descriptor
deprecated
func (*ResourceMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ResourceMetadata.ProtoReflect.Descriptor instead.
func (*ResourceMetadata) GetAtespace ¶
func (x *ResourceMetadata) GetAtespace() string
func (*ResourceMetadata) GetCreateTime ¶
func (x *ResourceMetadata) GetCreateTime() *timestamppb.Timestamp
func (*ResourceMetadata) GetDeleteTime ¶
func (x *ResourceMetadata) GetDeleteTime() *timestamppb.Timestamp
func (*ResourceMetadata) GetName ¶
func (x *ResourceMetadata) GetName() string
func (*ResourceMetadata) GetUid ¶
func (x *ResourceMetadata) GetUid() string
func (*ResourceMetadata) GetUpdateTime ¶
func (x *ResourceMetadata) GetUpdateTime() *timestamppb.Timestamp
func (*ResourceMetadata) GetVersion ¶
func (x *ResourceMetadata) GetVersion() int64
func (*ResourceMetadata) ProtoMessage ¶
func (*ResourceMetadata) ProtoMessage()
func (*ResourceMetadata) ProtoReflect ¶
func (x *ResourceMetadata) ProtoReflect() protoreflect.Message
func (*ResourceMetadata) Reset ¶
func (x *ResourceMetadata) Reset()
func (*ResourceMetadata) String ¶
func (x *ResourceMetadata) String() string
type ResourceRequirements ¶
type ResourceRequirements struct {
// limits is the maximum amount of compute resources allowed.
//
// +k8s:optional
Limits *Resources `protobuf:"bytes,1,opt,name=limits,proto3" json:"limits,omitempty"`
// contains filtered or unexported fields
}
ResourceRequirements are the compute resources a workload may use.
func (*ResourceRequirements) Descriptor
deprecated
func (*ResourceRequirements) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRequirements.ProtoReflect.Descriptor instead.
func (*ResourceRequirements) GetLimits ¶
func (x *ResourceRequirements) GetLimits() *Resources
func (*ResourceRequirements) ProtoMessage ¶
func (*ResourceRequirements) ProtoMessage()
func (*ResourceRequirements) ProtoReflect ¶
func (x *ResourceRequirements) ProtoReflect() protoreflect.Message
func (*ResourceRequirements) Reset ¶
func (x *ResourceRequirements) Reset()
func (*ResourceRequirements) String ¶
func (x *ResourceRequirements) String() string
type Resources ¶
type Resources struct {
// cpu_millicores is CPU in millicores (1000 = one core). 0 means none.
//
// +k8s:optional
// +k8s:minimum=0
// +k8s:maximum=999999 # less than 1000 cores
CpuMillicores int64 `protobuf:"varint,1,opt,name=cpu_millicores,json=cpuMillicores,proto3" json:"cpu_millicores,omitempty"`
// memory_bytes is memory in bytes. 0 means none.
//
// +k8s:optional
// +k8s:minimum=0
MemoryBytes int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
// contains filtered or unexported fields
}
Resources is an amount of each compute resource.
func (*Resources) Descriptor
deprecated
func (*Resources) GetCpuMillicores ¶
func (*Resources) GetMemoryBytes ¶
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
type ResumeActorRequest ¶
type ResumeActorRequest struct {
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// contains filtered or unexported fields
}
func (*ResumeActorRequest) Descriptor
deprecated
func (*ResumeActorRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResumeActorRequest.ProtoReflect.Descriptor instead.
func (*ResumeActorRequest) GetActor ¶
func (x *ResumeActorRequest) GetActor() *ObjectRef
func (*ResumeActorRequest) ProtoMessage ¶
func (*ResumeActorRequest) ProtoMessage()
func (*ResumeActorRequest) ProtoReflect ¶
func (x *ResumeActorRequest) ProtoReflect() protoreflect.Message
func (*ResumeActorRequest) Reset ¶
func (x *ResumeActorRequest) Reset()
func (*ResumeActorRequest) String ¶
func (x *ResumeActorRequest) String() string
type ResumeActorResponse ¶
type ResumeActorResponse struct {
Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// True if a resume workflow was executed to activate the actor.
// False if the actor was already RUNNING.
Resumed bool `protobuf:"varint,2,opt,name=resumed,proto3" json:"resumed,omitempty"`
// contains filtered or unexported fields
}
func (*ResumeActorResponse) Descriptor
deprecated
func (*ResumeActorResponse) Descriptor() ([]byte, []int)
Deprecated: Use ResumeActorResponse.ProtoReflect.Descriptor instead.
func (*ResumeActorResponse) GetActor ¶
func (x *ResumeActorResponse) GetActor() *Actor
func (*ResumeActorResponse) GetResumed ¶
func (x *ResumeActorResponse) GetResumed() bool
func (*ResumeActorResponse) ProtoMessage ¶
func (*ResumeActorResponse) ProtoMessage()
func (*ResumeActorResponse) ProtoReflect ¶
func (x *ResumeActorResponse) ProtoReflect() protoreflect.Message
func (*ResumeActorResponse) Reset ¶
func (x *ResumeActorResponse) Reset()
func (*ResumeActorResponse) String ¶
func (x *ResumeActorResponse) String() string
type RevertActorRequest ¶
type RevertActorRequest struct {
// actor to revert.
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// contains filtered or unexported fields
}
RevertActorRequest identifies the Actor to revert.
func (*RevertActorRequest) Descriptor
deprecated
func (*RevertActorRequest) Descriptor() ([]byte, []int)
Deprecated: Use RevertActorRequest.ProtoReflect.Descriptor instead.
func (*RevertActorRequest) GetActor ¶
func (x *RevertActorRequest) GetActor() *ObjectRef
func (*RevertActorRequest) ProtoMessage ¶
func (*RevertActorRequest) ProtoMessage()
func (*RevertActorRequest) ProtoReflect ¶
func (x *RevertActorRequest) ProtoReflect() protoreflect.Message
func (*RevertActorRequest) Reset ¶
func (x *RevertActorRequest) Reset()
func (*RevertActorRequest) String ¶
func (x *RevertActorRequest) String() string
type RevertActorResponse ¶
type RevertActorResponse struct {
// actor as it stands after the revert, SUSPENDED and still holding the
// external snapshot it was reverted to.
Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// contains filtered or unexported fields
}
RevertActorResponse holds the reverted Actor.
func (*RevertActorResponse) Descriptor
deprecated
func (*RevertActorResponse) Descriptor() ([]byte, []int)
Deprecated: Use RevertActorResponse.ProtoReflect.Descriptor instead.
func (*RevertActorResponse) GetActor ¶
func (x *RevertActorResponse) GetActor() *Actor
func (*RevertActorResponse) ProtoMessage ¶
func (*RevertActorResponse) ProtoMessage()
func (*RevertActorResponse) ProtoReflect ¶
func (x *RevertActorResponse) ProtoReflect() protoreflect.Message
func (*RevertActorResponse) Reset ¶
func (x *RevertActorResponse) Reset()
func (*RevertActorResponse) String ¶
func (x *RevertActorResponse) String() string
type RuntimeOverhead ¶
type RuntimeOverhead struct {
// memory_bytes is a fixed amount of memory for each Actor.
//
// +k8s:optional
// +k8s:minimum=0
// +k8s:maximum=1099511627776 # 1TiB
MemoryBytes int64 `protobuf:"varint,1,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
// memory_bytes_per_gib is memory per GiB of the Actor's memory limit, e.g.
// host page tables for a microVM's guest RAM. It scales in proportion and
// rounds down to a byte, so an Actor with a 512MiB limit adds half of it.
//
// +k8s:optional
// +k8s:minimum=0
// +k8s:maximum=1073741824 # 1GiB
MemoryBytesPerGib int64 `protobuf:"varint,2,opt,name=memory_bytes_per_gib,json=memoryBytesPerGib,proto3" json:"memory_bytes_per_gib,omitempty"`
// contains filtered or unexported fields
}
RuntimeOverhead is the memory an Actor uses on its Worker outside its own limits: a fixed amount, plus an amount in proportion to its memory limit.
func (*RuntimeOverhead) Descriptor
deprecated
func (*RuntimeOverhead) Descriptor() ([]byte, []int)
Deprecated: Use RuntimeOverhead.ProtoReflect.Descriptor instead.
func (*RuntimeOverhead) GetMemoryBytes ¶
func (x *RuntimeOverhead) GetMemoryBytes() int64
func (*RuntimeOverhead) GetMemoryBytesPerGib ¶
func (x *RuntimeOverhead) GetMemoryBytesPerGib() int64
func (*RuntimeOverhead) ProtoMessage ¶
func (*RuntimeOverhead) ProtoMessage()
func (*RuntimeOverhead) ProtoReflect ¶
func (x *RuntimeOverhead) ProtoReflect() protoreflect.Message
func (*RuntimeOverhead) Reset ¶
func (x *RuntimeOverhead) Reset()
func (*RuntimeOverhead) String ¶
func (x *RuntimeOverhead) String() string
type Scope ¶
type Scope int32
Scope is whether a top-level resource belongs to an atespace.
func (Scope) Descriptor ¶
func (Scope) Descriptor() protoreflect.EnumDescriptor
func (Scope) EnumDescriptor
deprecated
func (Scope) Number ¶
func (x Scope) Number() protoreflect.EnumNumber
func (Scope) Type ¶
func (Scope) Type() protoreflect.EnumType
type SecurityContext ¶
type SecurityContext struct {
// capabilities adjusts the Linux capabilities of the container's process.
//
// +k8s:optional
Capabilities *Capabilities `protobuf:"bytes,1,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
// contains filtered or unexported fields
}
SecurityContext holds security settings for a container's process, modeling a subset of the Kubernetes container securityContext.
func (*SecurityContext) Descriptor
deprecated
func (*SecurityContext) Descriptor() ([]byte, []int)
Deprecated: Use SecurityContext.ProtoReflect.Descriptor instead.
func (*SecurityContext) GetCapabilities ¶
func (x *SecurityContext) GetCapabilities() *Capabilities
func (*SecurityContext) ProtoMessage ¶
func (*SecurityContext) ProtoMessage()
func (*SecurityContext) ProtoReflect ¶
func (x *SecurityContext) ProtoReflect() protoreflect.Message
func (*SecurityContext) Reset ¶
func (x *SecurityContext) Reset()
func (*SecurityContext) String ¶
func (x *SecurityContext) String() string
type Selector ¶
type Selector struct {
// match_labels selects by exact equality on a set of labels.
//
// +k8s:optional
// +k8s:unionMember
// +k8s:minProperties=1
// +k8s:maxProperties=10
// +k8s:eachKey=+k8s:format=k8s-label-key
// +k8s:eachVal=+k8s:format=k8s-label-value
MatchLabels map[string]string `` /* 168-byte string literal not displayed */
// contains filtered or unexported fields
}
Selector matches worker pools by label. Only equality-based matching is supported.
func (*Selector) Descriptor
deprecated
func (*Selector) GetMatchLabels ¶
func (*Selector) ProtoMessage ¶
func (*Selector) ProtoMessage()
func (*Selector) ProtoReflect ¶
func (x *Selector) ProtoReflect() protoreflect.Message
type SetWorkerSandboxRuntimesRequest ¶
type SetWorkerSandboxRuntimesRequest struct {
// The Worker whose runtimes these are. atespace is always empty; Workers are
// global-scoped.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// The epoch the worker process registered with.
//
// +k8s:required
// +k8s:minimum=1
Epoch int64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
// The sandbox classes this worker process runs and the runtimes it runs them
// under. The first report of a worker process fixes the Worker's sandbox
// class; later reports replace the runtimes, but an entry of another class is
// refused. This replaces what is recorded on the Worker.
//
// +k8s:required
// +k8s:minItems=1
// +k8s:maxItems=1 # keep in sync with WorkerPoolSpec.sandboxClasses
// +k8s:listType=map
// +k8s:listMapKey=sandbox_class
SandboxClasses []*WorkerSandboxClass `protobuf:"bytes,3,rep,name=sandbox_classes,json=sandboxClasses,proto3" json:"sandbox_classes,omitempty"`
// contains filtered or unexported fields
}
func (*SetWorkerSandboxRuntimesRequest) Descriptor
deprecated
func (*SetWorkerSandboxRuntimesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetWorkerSandboxRuntimesRequest.ProtoReflect.Descriptor instead.
func (*SetWorkerSandboxRuntimesRequest) GetEpoch ¶
func (x *SetWorkerSandboxRuntimesRequest) GetEpoch() int64
func (*SetWorkerSandboxRuntimesRequest) GetSandboxClasses ¶
func (x *SetWorkerSandboxRuntimesRequest) GetSandboxClasses() []*WorkerSandboxClass
func (*SetWorkerSandboxRuntimesRequest) GetWorker ¶
func (x *SetWorkerSandboxRuntimesRequest) GetWorker() *ObjectRef
func (*SetWorkerSandboxRuntimesRequest) ProtoMessage ¶
func (*SetWorkerSandboxRuntimesRequest) ProtoMessage()
func (*SetWorkerSandboxRuntimesRequest) ProtoReflect ¶
func (x *SetWorkerSandboxRuntimesRequest) ProtoReflect() protoreflect.Message
func (*SetWorkerSandboxRuntimesRequest) Reset ¶
func (x *SetWorkerSandboxRuntimesRequest) Reset()
func (*SetWorkerSandboxRuntimesRequest) String ¶
func (x *SetWorkerSandboxRuntimesRequest) String() string
type SetWorkerSandboxRuntimesResponse ¶
type SetWorkerSandboxRuntimesResponse struct {
// The Worker as recorded.
Worker *Worker `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
func (*SetWorkerSandboxRuntimesResponse) Descriptor
deprecated
func (*SetWorkerSandboxRuntimesResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetWorkerSandboxRuntimesResponse.ProtoReflect.Descriptor instead.
func (*SetWorkerSandboxRuntimesResponse) GetWorker ¶
func (x *SetWorkerSandboxRuntimesResponse) GetWorker() *Worker
func (*SetWorkerSandboxRuntimesResponse) ProtoMessage ¶
func (*SetWorkerSandboxRuntimesResponse) ProtoMessage()
func (*SetWorkerSandboxRuntimesResponse) ProtoReflect ¶
func (x *SetWorkerSandboxRuntimesResponse) ProtoReflect() protoreflect.Message
func (*SetWorkerSandboxRuntimesResponse) Reset ¶
func (x *SetWorkerSandboxRuntimesResponse) Reset()
func (*SetWorkerSandboxRuntimesResponse) String ¶
func (x *SetWorkerSandboxRuntimesResponse) String() string
type Snapshot ¶
type Snapshot struct {
// uuid is the server-generated unique identifier for this snapshot, passed to
// atelet to identify the local checkpoint on disk and used as the snapshot
// name in object storage.
//
// +k8s:required
// +k8s:format=k8s-short-name
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// generation is the monotonically increasing generation number of this
// snapshot, starting at 1.
//
// +k8s:required
// +k8s:minimum=1
Generation int32 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
// owner identifies the origin and ownership of this snapshot.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=2 # keep this in sync with the SnapshotOwner enum
Owner SnapshotOwner `protobuf:"varint,3,opt,name=owner,proto3,enum=substrate.ateapi.v1.SnapshotOwner" json:"owner,omitempty"`
// fidelity is what this snapshot holds.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=3 # keep this in sync with the SnapshotFidelity enum
Fidelity SnapshotFidelity `protobuf:"varint,4,opt,name=fidelity,proto3,enum=substrate.ateapi.v1.SnapshotFidelity" json:"fidelity,omitempty"`
// UID of the ActorTemplate whose sandbox this snapshot's guest state was
// captured from.
//
// +k8s:optional
// +k8s:format=k8s-uuid
ActorTemplateUid string `protobuf:"bytes,5,opt,name=actor_template_uid,json=actorTemplateUid,proto3" json:"actor_template_uid,omitempty"`
// locality identifies the Kubernetes node holding this snapshot's files.
// Detach, revert, or a later checkpoint clears it. Resume keeps the files.
//
// +k8s:optional
// +k8s:format=k8s-long-name
Locality string `protobuf:"bytes,6,opt,name=locality,proto3" json:"locality,omitempty"`
// durable_snapshot holds the durable storage representation of this snapshot.
// PENDING while the snapshot is uploaded, including an asynchronous suspend's
// snapshot that so far exists only on the node named by locality. COMPLETED
// once the upload is recorded.
//
// +k8s:optional
DurableSnapshot *SnapshotStorage `protobuf:"bytes,7,opt,name=durable_snapshot,json=durableSnapshot,proto3" json:"durable_snapshot,omitempty"`
// sandbox_runtime is the runtime the actor ran under when the snapshot was
// taken.
//
// +k8s:optional
SandboxRuntime *ActorSandboxRuntime `protobuf:"bytes,8,opt,name=sandbox_runtime,json=sandboxRuntime,proto3" json:"sandbox_runtime,omitempty"`
// contains filtered or unexported fields
}
Snapshot represents one generation of an Actor's or Tag's snapshot state.
func (*Snapshot) Descriptor
deprecated
func (*Snapshot) GetActorTemplateUid ¶
func (*Snapshot) GetDurableSnapshot ¶
func (x *Snapshot) GetDurableSnapshot() *SnapshotStorage
func (*Snapshot) GetFidelity ¶
func (x *Snapshot) GetFidelity() SnapshotFidelity
func (*Snapshot) GetGeneration ¶
func (*Snapshot) GetLocality ¶
func (*Snapshot) GetOwner ¶
func (x *Snapshot) GetOwner() SnapshotOwner
func (*Snapshot) GetSandboxRuntime ¶
func (x *Snapshot) GetSandboxRuntime() *ActorSandboxRuntime
func (*Snapshot) ProtoMessage ¶
func (*Snapshot) ProtoMessage()
func (*Snapshot) ProtoReflect ¶
func (x *Snapshot) ProtoReflect() protoreflect.Message
type SnapshotConfig ¶
type SnapshotConfig struct {
// storage_location is the base object-storage URI snapshots of actors on
// this version are stored under. If unset, ate-api-server's
// --snapshot-location is used. Requires the PerTemplateSnapshotLocation preview
// gate. Each path segment may contain only ASCII letters, digits, '_' and
// '-'. Each owner's snapshots are stored under
// <storage_location>/atespaces/..., so no segment may be "atespaces" in any
// letter case.
//
// +ate:preview=PerTemplateSnapshotLocation
// +k8s:ifDisabled(PerTemplateSnapshotLocation)=+k8s:forbidden
// +k8s:optional
// +k8s:maxLength=1024
// +k8s:customValidation # Validate URI
StorageLocation string `protobuf:"bytes,1,opt,name=storage_location,json=storageLocation,proto3" json:"storage_location,omitempty"`
// preferred_fidelity is the highest fidelity the system packages when it
// snapshots the actor.
// It is a best-effort ceiling, not a guarantee: the system never packages
// more than this level, and it may package less when a layer cannot be
// captured or is too expensive to capture at the time, for example memory
// under host pressure. A process resumed in place on its worker keeps its
// memory regardless of this setting. Defaults to MEMORY when unset.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=3 # keep this in sync with the SnapshotFidelity enum
PreferredFidelity SnapshotFidelity `` /* 155-byte string literal not displayed */
// golden_snapshot_config configures automated golden snapshot creation.
// Golden snapshots are enabled when this config is omitted.
//
// +k8s:optional
GoldenSnapshotConfig *GoldenSnapshotConfig `protobuf:"bytes,3,opt,name=golden_snapshot_config,json=goldenSnapshotConfig,proto3" json:"golden_snapshot_config,omitempty"`
// contains filtered or unexported fields
}
SnapshotConfig selects what actor snapshots capture and where they are stored.
func (*SnapshotConfig) Descriptor
deprecated
func (*SnapshotConfig) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotConfig.ProtoReflect.Descriptor instead.
func (*SnapshotConfig) GetGoldenSnapshotConfig ¶
func (x *SnapshotConfig) GetGoldenSnapshotConfig() *GoldenSnapshotConfig
func (*SnapshotConfig) GetPreferredFidelity ¶
func (x *SnapshotConfig) GetPreferredFidelity() SnapshotFidelity
func (*SnapshotConfig) GetStorageLocation ¶
func (x *SnapshotConfig) GetStorageLocation() string
func (*SnapshotConfig) ProtoMessage ¶
func (*SnapshotConfig) ProtoMessage()
func (*SnapshotConfig) ProtoReflect ¶
func (x *SnapshotConfig) ProtoReflect() protoreflect.Message
func (*SnapshotConfig) Reset ¶
func (x *SnapshotConfig) Reset()
func (*SnapshotConfig) String ¶
func (x *SnapshotConfig) String() string
type SnapshotFidelity ¶
type SnapshotFidelity int32
SnapshotFidelity orders the state layers a snapshot can hold, lowest to highest. Each level includes the ones below it.
const ( SnapshotFidelity_SNAPSHOT_FIDELITY_UNSPECIFIED SnapshotFidelity = 0 // Durable volumes only. The actor resumes by cold-booting its containers // from the OCI image with the volumes restored. SnapshotFidelity_SNAPSHOT_FIDELITY_VOLUMES SnapshotFidelity = 1 // Volumes plus the root filesystem changes made since boot. The actor // cold-boots on resume with its rootfs writes back in place. SnapshotFidelity_SNAPSHOT_FIDELITY_ROOTFS SnapshotFidelity = 2 // Volumes, root filesystem changes, and process memory. The actor resumes // where it left off. SnapshotFidelity_SNAPSHOT_FIDELITY_MEMORY SnapshotFidelity = 3 // Keep this in sync with the maximums on fields of this type. )
func (SnapshotFidelity) Descriptor ¶
func (SnapshotFidelity) Descriptor() protoreflect.EnumDescriptor
func (SnapshotFidelity) Enum ¶
func (x SnapshotFidelity) Enum() *SnapshotFidelity
func (SnapshotFidelity) EnumDescriptor
deprecated
func (SnapshotFidelity) EnumDescriptor() ([]byte, []int)
Deprecated: Use SnapshotFidelity.Descriptor instead.
func (SnapshotFidelity) Number ¶
func (x SnapshotFidelity) Number() protoreflect.EnumNumber
func (SnapshotFidelity) String ¶
func (x SnapshotFidelity) String() string
func (SnapshotFidelity) Type ¶
func (SnapshotFidelity) Type() protoreflect.EnumType
type SnapshotOwner ¶
type SnapshotOwner int32
SnapshotOwner indicates the owner of a snapshot.
const ( SnapshotOwner_SNAPSHOT_OWNER_UNSPECIFIED SnapshotOwner = 0 // Snapshot captured directly from this Actor. SnapshotOwner_SNAPSHOT_OWNER_ACTOR SnapshotOwner = 1 // Snapshot owned by a Tag (also includes Golden Snapshot) SnapshotOwner_SNAPSHOT_OWNER_TAG SnapshotOwner = 2 // Keep this in sync with Snapshot.owner's maximum. )
func (SnapshotOwner) Descriptor ¶
func (SnapshotOwner) Descriptor() protoreflect.EnumDescriptor
func (SnapshotOwner) Enum ¶
func (x SnapshotOwner) Enum() *SnapshotOwner
func (SnapshotOwner) EnumDescriptor
deprecated
func (SnapshotOwner) EnumDescriptor() ([]byte, []int)
Deprecated: Use SnapshotOwner.Descriptor instead.
func (SnapshotOwner) Number ¶
func (x SnapshotOwner) Number() protoreflect.EnumNumber
func (SnapshotOwner) String ¶
func (x SnapshotOwner) String() string
func (SnapshotOwner) Type ¶
func (SnapshotOwner) Type() protoreflect.EnumType
type SnapshotReport ¶
type SnapshotReport struct {
// Snapshot.uuid.
//
// +k8s:required
// +k8s:format=k8s-short-name
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
// Snapshot.generation.
//
// +k8s:required
// +k8s:minimum=1
Generation int32 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
// The fidelity the snapshot holds, read from its manifest.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=3 # keep this in sync with the SnapshotFidelity enum
Fidelity SnapshotFidelity `protobuf:"varint,3,opt,name=fidelity,proto3,enum=substrate.ateapi.v1.SnapshotFidelity" json:"fidelity,omitempty"`
// Where the snapshot's durable copy is, or will be, uploaded.
//
// +k8s:required
Object *ObjectSnapshot `protobuf:"bytes,4,opt,name=object,proto3" json:"object,omitempty"`
// When the checkpoint that produced the snapshot committed on the node.
// Unset when this atelet did not take it, as for a snapshot it restored
// from object storage.
//
// +k8s:optional
LocalCommitTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=local_commit_time,json=localCommitTime,proto3" json:"local_commit_time,omitempty"`
// When the snapshot's manifest was written to object storage. Set only in
// latest_durable, and only when this atelet wrote it.
//
// +k8s:optional
DurableCompleteTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=durable_complete_time,json=durableCompleteTime,proto3" json:"durable_complete_time,omitempty"`
// contains filtered or unexported fields
}
SnapshotReport is one of an Actor's snapshots, named by the uuid and generation the control plane gave it.
func (*SnapshotReport) Descriptor
deprecated
func (*SnapshotReport) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotReport.ProtoReflect.Descriptor instead.
func (*SnapshotReport) GetDurableCompleteTime ¶
func (x *SnapshotReport) GetDurableCompleteTime() *timestamppb.Timestamp
func (*SnapshotReport) GetFidelity ¶
func (x *SnapshotReport) GetFidelity() SnapshotFidelity
func (*SnapshotReport) GetGeneration ¶
func (x *SnapshotReport) GetGeneration() int32
func (*SnapshotReport) GetLocalCommitTime ¶
func (x *SnapshotReport) GetLocalCommitTime() *timestamppb.Timestamp
func (*SnapshotReport) GetObject ¶
func (x *SnapshotReport) GetObject() *ObjectSnapshot
func (*SnapshotReport) GetUuid ¶
func (x *SnapshotReport) GetUuid() string
func (*SnapshotReport) ProtoMessage ¶
func (*SnapshotReport) ProtoMessage()
func (*SnapshotReport) ProtoReflect ¶
func (x *SnapshotReport) ProtoReflect() protoreflect.Message
func (*SnapshotReport) Reset ¶
func (x *SnapshotReport) Reset()
func (*SnapshotReport) String ¶
func (x *SnapshotReport) String() string
type SnapshotStorage ¶
type SnapshotStorage struct {
// state is the lifecycle state of the durable snapshot.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=2 # keep this in sync with the SnapshotStorageState enum
State SnapshotStorageState `protobuf:"varint,1,opt,name=state,proto3,enum=substrate.ateapi.v1.SnapshotStorageState" json:"state,omitempty"`
// object snapshot is stored in object storage.
//
// +k8s:required
Object *ObjectSnapshot `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
// contains filtered or unexported fields
}
SnapshotStorage records the durable storage representation of a Snapshot.
func (*SnapshotStorage) Descriptor
deprecated
func (*SnapshotStorage) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotStorage.ProtoReflect.Descriptor instead.
func (*SnapshotStorage) GetObject ¶
func (x *SnapshotStorage) GetObject() *ObjectSnapshot
func (*SnapshotStorage) GetState ¶
func (x *SnapshotStorage) GetState() SnapshotStorageState
func (*SnapshotStorage) ProtoMessage ¶
func (*SnapshotStorage) ProtoMessage()
func (*SnapshotStorage) ProtoReflect ¶
func (x *SnapshotStorage) ProtoReflect() protoreflect.Message
func (*SnapshotStorage) Reset ¶
func (x *SnapshotStorage) Reset()
func (*SnapshotStorage) String ¶
func (x *SnapshotStorage) String() string
type SnapshotStorageState ¶
type SnapshotStorageState int32
SnapshotStorageState indicates the lifecycle stage of a durable snapshot.
const ( SnapshotStorageState_SNAPSHOT_STORAGE_STATE_UNSPECIFIED SnapshotStorageState = 0 // Snapshot creation in durable storage is in progress. SnapshotStorageState_SNAPSHOT_STORAGE_STATE_PENDING SnapshotStorageState = 1 // Snapshot is complete and ready for use in durable storage. SnapshotStorageState_SNAPSHOT_STORAGE_STATE_COMPLETED SnapshotStorageState = 2 // Keep this in sync with SnapshotStorage.state's maximum. )
func (SnapshotStorageState) Descriptor ¶
func (SnapshotStorageState) Descriptor() protoreflect.EnumDescriptor
func (SnapshotStorageState) Enum ¶
func (x SnapshotStorageState) Enum() *SnapshotStorageState
func (SnapshotStorageState) EnumDescriptor
deprecated
func (SnapshotStorageState) EnumDescriptor() ([]byte, []int)
Deprecated: Use SnapshotStorageState.Descriptor instead.
func (SnapshotStorageState) Number ¶
func (x SnapshotStorageState) Number() protoreflect.EnumNumber
func (SnapshotStorageState) String ¶
func (x SnapshotStorageState) String() string
func (SnapshotStorageState) Type ¶
func (SnapshotStorageState) Type() protoreflect.EnumType
type SuspendActorRequest ¶
type SuspendActorRequest struct {
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// options controls how SuspendActor persists the actor's snapshot.
//
// +k8s:optional
Options *SuspendOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
// contains filtered or unexported fields
}
func (*SuspendActorRequest) Descriptor
deprecated
func (*SuspendActorRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuspendActorRequest.ProtoReflect.Descriptor instead.
func (*SuspendActorRequest) GetActor ¶
func (x *SuspendActorRequest) GetActor() *ObjectRef
func (*SuspendActorRequest) GetOptions ¶
func (x *SuspendActorRequest) GetOptions() *SuspendOptions
func (*SuspendActorRequest) ProtoMessage ¶
func (*SuspendActorRequest) ProtoMessage()
func (*SuspendActorRequest) ProtoReflect ¶
func (x *SuspendActorRequest) ProtoReflect() protoreflect.Message
func (*SuspendActorRequest) Reset ¶
func (x *SuspendActorRequest) Reset()
func (*SuspendActorRequest) String ¶
func (x *SuspendActorRequest) String() string
type SuspendActorResponse ¶
type SuspendActorResponse struct {
Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// contains filtered or unexported fields
}
func (*SuspendActorResponse) Descriptor
deprecated
func (*SuspendActorResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuspendActorResponse.ProtoReflect.Descriptor instead.
func (*SuspendActorResponse) GetActor ¶
func (x *SuspendActorResponse) GetActor() *Actor
func (*SuspendActorResponse) ProtoMessage ¶
func (*SuspendActorResponse) ProtoMessage()
func (*SuspendActorResponse) ProtoReflect ¶
func (x *SuspendActorResponse) ProtoReflect() protoreflect.Message
func (*SuspendActorResponse) Reset ¶
func (x *SuspendActorResponse) Reset()
func (*SuspendActorResponse) String ¶
func (x *SuspendActorResponse) String() string
type SuspendOptions ¶
type SuspendOptions struct {
// mode selects when SuspendActor returns relative to the snapshot reaching
// durable storage. If unspecified, defaults to DURABILITY_MODE_ASYNCHRONOUS.
//
// +k8s:optional
// +k8s:minimum=1
// +k8s:maximum=2 # keep this in sync with the DurabilityMode enum
Mode DurabilityMode `protobuf:"varint,1,opt,name=mode,proto3,enum=substrate.ateapi.v1.DurabilityMode" json:"mode,omitempty"`
// contains filtered or unexported fields
}
SuspendOptions tunes how SuspendActor persists the actor's snapshot.
func (*SuspendOptions) Descriptor
deprecated
func (*SuspendOptions) Descriptor() ([]byte, []int)
Deprecated: Use SuspendOptions.ProtoReflect.Descriptor instead.
func (*SuspendOptions) GetMode ¶
func (x *SuspendOptions) GetMode() DurabilityMode
func (*SuspendOptions) ProtoMessage ¶
func (*SuspendOptions) ProtoMessage()
func (*SuspendOptions) ProtoReflect ¶
func (x *SuspendOptions) ProtoReflect() protoreflect.Message
func (*SuspendOptions) Reset ¶
func (x *SuspendOptions) Reset()
func (*SuspendOptions) String ¶
func (x *SuspendOptions) String() string
type SystemInfoDataSource ¶
type SystemInfoDataSource struct {
// Exactly one of actor_metadata / trust_bundle must be set.
//
// +k8s:optional
// +k8s:unionMember
ActorMetadata *ActorMetadataDataSource `protobuf:"bytes,1,opt,name=actor_metadata,json=actorMetadata,proto3" json:"actor_metadata,omitempty"`
// +k8s:optional
// +k8s:unionMember
TrustBundle *TrustBundleDataSource `protobuf:"bytes,2,opt,name=trust_bundle,json=trustBundle,proto3" json:"trust_bundle,omitempty"`
// contains filtered or unexported fields
}
func (*SystemInfoDataSource) Descriptor
deprecated
func (*SystemInfoDataSource) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfoDataSource.ProtoReflect.Descriptor instead.
func (*SystemInfoDataSource) GetActorMetadata ¶
func (x *SystemInfoDataSource) GetActorMetadata() *ActorMetadataDataSource
func (*SystemInfoDataSource) GetTrustBundle ¶
func (x *SystemInfoDataSource) GetTrustBundle() *TrustBundleDataSource
func (*SystemInfoDataSource) ProtoMessage ¶
func (*SystemInfoDataSource) ProtoMessage()
func (*SystemInfoDataSource) ProtoReflect ¶
func (x *SystemInfoDataSource) ProtoReflect() protoreflect.Message
func (*SystemInfoDataSource) Reset ¶
func (x *SystemInfoDataSource) Reset()
func (*SystemInfoDataSource) String ¶
func (x *SystemInfoDataSource) String() string
type SystemInfoVolumeSource ¶
type SystemInfoVolumeSource struct {
// data_sources lists the projections to place within the volume. At most
// one actor_metadata entry may appear, and file paths must be unique
// across all entries.
//
// +k8s:optional
// +k8s:maxItems=8
// +k8s:listType=atomic
// +k8s:customValidation # at most one actor_metadata; paths unique across entries
DataSources []*SystemInfoDataSource `protobuf:"bytes,1,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"`
// contains filtered or unexported fields
}
SystemInfoVolumeSource is a read-only volume of substrate-generated per-actor files (identity fields, projected trust bundles), regenerated by atelet on every Run/Restore.
func (*SystemInfoVolumeSource) Descriptor
deprecated
func (*SystemInfoVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfoVolumeSource.ProtoReflect.Descriptor instead.
func (*SystemInfoVolumeSource) GetDataSources ¶
func (x *SystemInfoVolumeSource) GetDataSources() []*SystemInfoDataSource
func (*SystemInfoVolumeSource) ProtoMessage ¶
func (*SystemInfoVolumeSource) ProtoMessage()
func (*SystemInfoVolumeSource) ProtoReflect ¶
func (x *SystemInfoVolumeSource) ProtoReflect() protoreflect.Message
func (*SystemInfoVolumeSource) Reset ¶
func (x *SystemInfoVolumeSource) Reset()
func (*SystemInfoVolumeSource) String ¶
func (x *SystemInfoVolumeSource) String() string
type Tag ¶
type Tag struct {
// Common resource metadata: atespace, name, uid, version, timestamps.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Metadata *ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// status is set by the control plane; it is ignored on write.
//
// +k8s:optional
Status *TagStatus `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
// scope controls who may create an Actor from this tag.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=2 # keep this in sync with the TagScope enum
Scope TagScope `protobuf:"varint,3,opt,name=scope,proto3,enum=substrate.ateapi.v1.TagScope" json:"scope,omitempty"`
// source_actor is the suspended Actor whose external snapshot this tag
// captures. The tag lives in this Actor's Atespace. Set once at creation and
// immutable afterward.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
// +k8s:immutable
SourceActor *ObjectRef `protobuf:"bytes,4,opt,name=source_actor,json=sourceActor,proto3" json:"source_actor,omitempty"`
// contains filtered or unexported fields
}
Tag is an Atespace-owned, stable name for one external snapshot. The external snapshot pointed by a tag is a copy of an actor snapshot. The snapshot is copied when the tag is created, and deleted when the tag is. Its owning Atespace cannot be deleted until the tag is removed.
func (*Tag) Descriptor
deprecated
func (*Tag) GetMetadata ¶
func (x *Tag) GetMetadata() *ResourceMetadata
func (*Tag) GetSourceActor ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) ProtoReflect ¶
func (x *Tag) ProtoReflect() protoreflect.Message
type TagScope ¶
type TagScope int32
const ( // Not set and rejected wherever a client supplies a scope TagScope_TAG_SCOPE_UNSPECIFIED TagScope = 0 // May initialize Actors only in the tag's owning Atespace. TagScope_TAG_SCOPE_ATESPACE TagScope = 1 // Published for use by Actors in any Atespace. The tag remains addressed // through its owning Atespace. TagScope_TAG_SCOPE_PUBLISHED TagScope = 2 )
func (TagScope) Descriptor ¶
func (TagScope) Descriptor() protoreflect.EnumDescriptor
func (TagScope) EnumDescriptor
deprecated
func (TagScope) Number ¶
func (x TagScope) Number() protoreflect.EnumNumber
func (TagScope) Type ¶
func (TagScope) Type() protoreflect.EnumType
type TagStatus ¶
type TagStatus struct {
// snapshot is the external snapshot this tag points at: the tag's own copy,
// stored under a prefix keyed on the tag's UID. It is recorded with its
// durable_snapshot PENDING right after the tag is reserved, before anything
// is copied, and transitions to COMPLETED once the copy finishes: a tag never
// moves between snapshots and is usable only once COMPLETED. Unset until it
// is recorded; a tag whose creation failed first never gets one.
//
// +k8s:optional
// +k8s:subfield(durable_snapshot)=+k8s:required
Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
// UID of the ActorTemplate the snapshot was taken under. Actors can only be
// seeded from a tag under the same template.
//
// +k8s:required
// +k8s:format=k8s-uuid
ActorTemplateUid string `protobuf:"bytes,2,opt,name=actor_template_uid,json=actorTemplateUid,proto3" json:"actor_template_uid,omitempty"`
// contains filtered or unexported fields
}
TagStatus is the server-owned state of a Tag. The tag is fixed to one external snapshot once its creation completes, so the rest is immutable provenance.
func (*TagStatus) Descriptor
deprecated
func (*TagStatus) GetActorTemplateUid ¶
func (*TagStatus) GetSnapshot ¶
func (*TagStatus) ProtoMessage ¶
func (*TagStatus) ProtoMessage()
func (*TagStatus) ProtoReflect ¶
func (x *TagStatus) ProtoReflect() protoreflect.Message
type TlsPassthroughRule ¶
type TlsPassthroughRule struct {
// Server names matched against the SNI, in the pattern syntax of
// HttpRule.hostnames.
//
// +k8s:required
// +k8s:maxItems=256
// +k8s:listType=set
// +k8s:customValidation # format
Hostnames []string `protobuf:"bytes,1,rep,name=hostnames,proto3" json:"hostnames,omitempty"`
// Ports of the destination the Actor connected to.
//
// +k8s:required
Ports *Ports `protobuf:"bytes,2,opt,name=ports,proto3" json:"ports,omitempty"`
// contains filtered or unexported fields
}
TlsPassthroughRule allows TLS that the gateway forwards without decryption. It is evaluated once per connection at the ClientHello, on the SNI and port, for any protocol carried over TLS. A connection that sends no SNI does not match. Protocols that upgrade to TLS after a cleartext exchange (STARTTLS) do not match. Because the gateway reads nothing after the ClientHello, a passthrough rule has no effects, and a policy change reaches an open connection only when it ends.
func (*TlsPassthroughRule) Descriptor
deprecated
func (*TlsPassthroughRule) Descriptor() ([]byte, []int)
Deprecated: Use TlsPassthroughRule.ProtoReflect.Descriptor instead.
func (*TlsPassthroughRule) GetHostnames ¶
func (x *TlsPassthroughRule) GetHostnames() []string
func (*TlsPassthroughRule) GetPorts ¶
func (x *TlsPassthroughRule) GetPorts() *Ports
func (*TlsPassthroughRule) ProtoMessage ¶
func (*TlsPassthroughRule) ProtoMessage()
func (*TlsPassthroughRule) ProtoReflect ¶
func (x *TlsPassthroughRule) ProtoReflect() protoreflect.Message
func (*TlsPassthroughRule) Reset ¶
func (x *TlsPassthroughRule) Reset()
func (*TlsPassthroughRule) String ¶
func (x *TlsPassthroughRule) String() string
type TrustBundleDataSource ¶
type TrustBundleDataSource struct {
// One or more named trust bundles to unify and place at the specified path.
//
// Substrate supports a short list of predefined names:
//
// * egress-mitm.ate.dev --- The trust anchors for the Substrate egress
// gateway TLS man-in-the-middle interceptor.
//
// * system-roots.ate.dev --- A selection of well-known public CA root certificates,
// built into Substrate
//
// +k8s:required
// +k8s:minItems=1
// +k8s:maxItems=8
// +k8s:eachVal=+k8s:minLength=1
// +k8s:eachVal=+k8s:maxLength=253
// +k8s:listType=set
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// path must be a clean relative Unix path: at most 16 '/'-separated
// segments, none of them empty, '.' or '..', and no NUL byte.
//
// +k8s:required
// +k8s:minLength=1
// +k8s:maxLength=255
// +k8s:customValidation # projected-path rule shared with atelet, see internal/volumepath
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
TrustBundleDataSource projects the trust anchors of the named trust bundle to a PEM file at path. Supported names are allowlisted in atelet.
func (*TrustBundleDataSource) Descriptor
deprecated
func (*TrustBundleDataSource) Descriptor() ([]byte, []int)
Deprecated: Use TrustBundleDataSource.ProtoReflect.Descriptor instead.
func (*TrustBundleDataSource) GetNames ¶
func (x *TrustBundleDataSource) GetNames() []string
func (*TrustBundleDataSource) GetPath ¶
func (x *TrustBundleDataSource) GetPath() string
func (*TrustBundleDataSource) ProtoMessage ¶
func (*TrustBundleDataSource) ProtoMessage()
func (*TrustBundleDataSource) ProtoReflect ¶
func (x *TrustBundleDataSource) ProtoReflect() protoreflect.Message
func (*TrustBundleDataSource) Reset ¶
func (x *TrustBundleDataSource) Reset()
func (*TrustBundleDataSource) String ¶
func (x *TrustBundleDataSource) String() string
type UnimplementedControlServer ¶
type UnimplementedControlServer struct{}
UnimplementedControlServer 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 (UnimplementedControlServer) CreateActor ¶
func (UnimplementedControlServer) CreateActor(context.Context, *CreateActorRequest) (*Actor, error)
func (UnimplementedControlServer) CreateActorEgressPolicy ¶
func (UnimplementedControlServer) CreateActorEgressPolicy(context.Context, *CreateActorEgressPolicyRequest) (*EgressPolicy, error)
func (UnimplementedControlServer) CreateActorTemplate ¶
func (UnimplementedControlServer) CreateActorTemplate(context.Context, *CreateActorTemplateRequest) (*ActorTemplate, error)
func (UnimplementedControlServer) CreateAtespace ¶
func (UnimplementedControlServer) CreateAtespace(context.Context, *CreateAtespaceRequest) (*Atespace, error)
func (UnimplementedControlServer) CreateAtespaceAccessPolicy ¶
func (UnimplementedControlServer) CreateAtespaceAccessPolicy(context.Context, *CreateAtespaceAccessPolicyRequest) (*AccessPolicy, error)
func (UnimplementedControlServer) CreateGlobalAccessPolicy ¶
func (UnimplementedControlServer) CreateGlobalAccessPolicy(context.Context, *CreateGlobalAccessPolicyRequest) (*AccessPolicy, error)
func (UnimplementedControlServer) CreateTag ¶
func (UnimplementedControlServer) CreateTag(context.Context, *CreateTagRequest) (*Tag, error)
func (UnimplementedControlServer) CreateWorker ¶
func (UnimplementedControlServer) CreateWorker(context.Context, *CreateWorkerRequest) (*Worker, error)
func (UnimplementedControlServer) DeleteActor ¶
func (UnimplementedControlServer) DeleteActor(context.Context, *DeleteActorRequest) (*Actor, error)
func (UnimplementedControlServer) DeleteActorEgressPolicy ¶
func (UnimplementedControlServer) DeleteActorEgressPolicy(context.Context, *DeleteActorEgressPolicyRequest) (*EgressPolicy, error)
func (UnimplementedControlServer) DeleteActorTemplate ¶
func (UnimplementedControlServer) DeleteActorTemplate(context.Context, *DeleteActorTemplateRequest) (*ActorTemplate, error)
func (UnimplementedControlServer) DeleteAtespace ¶
func (UnimplementedControlServer) DeleteAtespace(context.Context, *DeleteAtespaceRequest) (*Atespace, error)
func (UnimplementedControlServer) DeleteAtespaceAccessPolicy ¶
func (UnimplementedControlServer) DeleteAtespaceAccessPolicy(context.Context, *DeleteAtespaceAccessPolicyRequest) (*AccessPolicy, error)
func (UnimplementedControlServer) DeleteTag ¶
func (UnimplementedControlServer) DeleteTag(context.Context, *DeleteTagRequest) (*Tag, error)
func (UnimplementedControlServer) DeleteWorker ¶
func (UnimplementedControlServer) DeleteWorker(context.Context, *DeleteWorkerRequest) (*Worker, error)
func (UnimplementedControlServer) DrainWorker ¶
func (UnimplementedControlServer) DrainWorker(context.Context, *DrainWorkerRequest) (*DrainWorkerResponse, error)
func (UnimplementedControlServer) GetActor ¶
func (UnimplementedControlServer) GetActor(context.Context, *GetActorRequest) (*Actor, error)
func (UnimplementedControlServer) GetActorEgressPolicy ¶
func (UnimplementedControlServer) GetActorEgressPolicy(context.Context, *GetActorEgressPolicyRequest) (*EgressPolicy, error)
func (UnimplementedControlServer) GetActorTemplate ¶
func (UnimplementedControlServer) GetActorTemplate(context.Context, *GetActorTemplateRequest) (*ActorTemplate, error)
func (UnimplementedControlServer) GetAtespace ¶
func (UnimplementedControlServer) GetAtespace(context.Context, *GetAtespaceRequest) (*Atespace, error)
func (UnimplementedControlServer) GetAtespaceAccessPolicy ¶
func (UnimplementedControlServer) GetAtespaceAccessPolicy(context.Context, *GetAtespaceAccessPolicyRequest) (*AccessPolicy, error)
func (UnimplementedControlServer) GetGlobalAccessPolicy ¶
func (UnimplementedControlServer) GetGlobalAccessPolicy(context.Context, *GetGlobalAccessPolicyRequest) (*AccessPolicy, error)
func (UnimplementedControlServer) GetTag ¶
func (UnimplementedControlServer) GetTag(context.Context, *GetTagRequest) (*Tag, error)
func (UnimplementedControlServer) GetWorker ¶
func (UnimplementedControlServer) GetWorker(context.Context, *GetWorkerRequest) (*Worker, error)
func (UnimplementedControlServer) ListActorTemplates ¶
func (UnimplementedControlServer) ListActorTemplates(context.Context, *ListActorTemplatesRequest) (*ListActorTemplatesResponse, error)
func (UnimplementedControlServer) ListActors ¶
func (UnimplementedControlServer) ListActors(context.Context, *ListActorsRequest) (*ListActorsResponse, error)
func (UnimplementedControlServer) ListAtespaces ¶
func (UnimplementedControlServer) ListAtespaces(context.Context, *ListAtespacesRequest) (*ListAtespacesResponse, error)
func (UnimplementedControlServer) ListTags ¶
func (UnimplementedControlServer) ListTags(context.Context, *ListTagsRequest) (*ListTagsResponse, error)
func (UnimplementedControlServer) ListWorkerActorAssignments ¶
func (UnimplementedControlServer) ListWorkerActorAssignments(context.Context, *ListWorkerActorAssignmentsRequest) (*ListWorkerActorAssignmentsResponse, error)
func (UnimplementedControlServer) ListWorkers ¶
func (UnimplementedControlServer) ListWorkers(context.Context, *ListWorkersRequest) (*ListWorkersResponse, error)
func (UnimplementedControlServer) MarkWorkerAvailable ¶
func (UnimplementedControlServer) MarkWorkerAvailable(context.Context, *MarkWorkerAvailableRequest) (*MarkWorkerAvailableResponse, error)
func (UnimplementedControlServer) MarkWorkerUnavailable ¶
func (UnimplementedControlServer) MarkWorkerUnavailable(context.Context, *MarkWorkerUnavailableRequest) (*MarkWorkerUnavailableResponse, error)
func (UnimplementedControlServer) MintActorJwt ¶
func (UnimplementedControlServer) MintActorJwt(context.Context, *MintActorJwtRequest) (*MintActorJwtResponse, error)
func (UnimplementedControlServer) ResumeActor ¶
func (UnimplementedControlServer) ResumeActor(context.Context, *ResumeActorRequest) (*ResumeActorResponse, error)
func (UnimplementedControlServer) RevertActor ¶
func (UnimplementedControlServer) RevertActor(context.Context, *RevertActorRequest) (*RevertActorResponse, error)
func (UnimplementedControlServer) SuspendActor ¶
func (UnimplementedControlServer) SuspendActor(context.Context, *SuspendActorRequest) (*SuspendActorResponse, error)
func (UnimplementedControlServer) UpdateActor ¶
func (UnimplementedControlServer) UpdateActor(context.Context, *UpdateActorRequest) (*Actor, error)
func (UnimplementedControlServer) UpdateActorEgressPolicy ¶
func (UnimplementedControlServer) UpdateActorEgressPolicy(context.Context, *UpdateActorEgressPolicyRequest) (*EgressPolicy, error)
func (UnimplementedControlServer) UpdateAtespaceAccessPolicy ¶
func (UnimplementedControlServer) UpdateAtespaceAccessPolicy(context.Context, *UpdateAtespaceAccessPolicyRequest) (*AccessPolicy, error)
func (UnimplementedControlServer) UpdateGlobalAccessPolicy ¶
func (UnimplementedControlServer) UpdateGlobalAccessPolicy(context.Context, *UpdateGlobalAccessPolicyRequest) (*AccessPolicy, error)
func (UnimplementedControlServer) UpdateTag ¶
func (UnimplementedControlServer) UpdateTag(context.Context, *UpdateTagRequest) (*Tag, error)
func (UnimplementedControlServer) UpdateWorker ¶
func (UnimplementedControlServer) UpdateWorker(context.Context, *UpdateWorkerRequest) (*Worker, error)
type UnimplementedWorkerServiceServer ¶
type UnimplementedWorkerServiceServer struct{}
UnimplementedWorkerServiceServer 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 (UnimplementedWorkerServiceServer) AcquireWorkerEpoch ¶
func (UnimplementedWorkerServiceServer) AcquireWorkerEpoch(context.Context, *AcquireWorkerEpochRequest) (*AcquireWorkerEpochResponse, error)
func (UnimplementedWorkerServiceServer) MintWorkerActorCertificate ¶
func (UnimplementedWorkerServiceServer) MintWorkerActorCertificate(context.Context, *MintWorkerActorCertificateRequest) (*MintWorkerActorCertificateResponse, error)
func (UnimplementedWorkerServiceServer) MintWorkerActorJwt ¶
func (UnimplementedWorkerServiceServer) MintWorkerActorJwt(context.Context, *MintWorkerActorJwtRequest) (*MintWorkerActorJwtResponse, error)
func (UnimplementedWorkerServiceServer) RegisterWorker ¶
func (UnimplementedWorkerServiceServer) RegisterWorker(context.Context, *RegisterWorkerRequest) (*RegisterWorkerResponse, error)
func (UnimplementedWorkerServiceServer) ReportActorCrashed ¶
func (UnimplementedWorkerServiceServer) ReportActorCrashed(context.Context, *ReportActorCrashedRequest) (*ReportActorCrashedResponse, error)
func (UnimplementedWorkerServiceServer) ReportActorSnapshotState ¶
func (UnimplementedWorkerServiceServer) ReportActorSnapshotState(context.Context, *ReportActorSnapshotStateRequest) (*ReportActorSnapshotStateResponse, error)
func (UnimplementedWorkerServiceServer) RequestActorSuspend ¶
func (UnimplementedWorkerServiceServer) RequestActorSuspend(context.Context, *RequestActorSuspendRequest) (*RequestActorSuspendResponse, error)
func (UnimplementedWorkerServiceServer) SetWorkerSandboxRuntimes ¶
func (UnimplementedWorkerServiceServer) SetWorkerSandboxRuntimes(context.Context, *SetWorkerSandboxRuntimesRequest) (*SetWorkerSandboxRuntimesResponse, error)
type UnsafeControlServer ¶
type UnsafeControlServer interface {
// contains filtered or unexported methods
}
UnsafeControlServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ControlServer will result in compilation errors.
type UnsafeWorkerServiceServer ¶
type UnsafeWorkerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeWorkerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkerServiceServer will result in compilation errors.
type UpdateActorEgressPolicyRequest ¶
type UpdateActorEgressPolicyRequest struct {
// Parent Actor under which to update the policy resource.
//
// +k8s:required
// +k8s:subfield(atespace)=+k8s:required
Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// Full replacement. Metadata UID and version are required preconditions;
// atespace and name are immutable and must match the existing policy.
//
// +k8s:required
EgressPolicy *EgressPolicy `protobuf:"bytes,2,opt,name=egress_policy,json=egressPolicy,proto3" json:"egress_policy,omitempty"`
// contains filtered or unexported fields
}
UpdateActorEgressPolicyRequest replaces an Actor's egress policy.
+k8s:customValidation
func (*UpdateActorEgressPolicyRequest) Descriptor
deprecated
func (*UpdateActorEgressPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateActorEgressPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateActorEgressPolicyRequest) GetActor ¶
func (x *UpdateActorEgressPolicyRequest) GetActor() *ObjectRef
func (*UpdateActorEgressPolicyRequest) GetEgressPolicy ¶
func (x *UpdateActorEgressPolicyRequest) GetEgressPolicy() *EgressPolicy
func (*UpdateActorEgressPolicyRequest) ProtoMessage ¶
func (*UpdateActorEgressPolicyRequest) ProtoMessage()
func (*UpdateActorEgressPolicyRequest) ProtoReflect ¶
func (x *UpdateActorEgressPolicyRequest) ProtoReflect() protoreflect.Message
func (*UpdateActorEgressPolicyRequest) Reset ¶
func (x *UpdateActorEgressPolicyRequest) Reset()
func (*UpdateActorEgressPolicyRequest) String ¶
func (x *UpdateActorEgressPolicyRequest) String() string
type UpdateActorRequest ¶
type UpdateActorRequest struct {
// The actor to update.
// actor.metadata.atespace and actor.metadata.name identify which resource to
// update.
// actor.metadata.version and actor.metadata.uid are required preconditions.
//
// +k8s:required
// +k8s:opaqueType # updates are handled in 2 steps, do not descend
// +k8s:subfield(metadata)=+k8s:required
// +k8s:customValidation # TODO: when we get nested subfields, require metadata.atespace
Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
// contains filtered or unexported fields
}
Request to update mutable fields on an existing Actor. May be called regardless of the actor's current state. Changes take effect on the next ResumeActor call.
func (*UpdateActorRequest) Descriptor
deprecated
func (*UpdateActorRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateActorRequest.ProtoReflect.Descriptor instead.
func (*UpdateActorRequest) GetActor ¶
func (x *UpdateActorRequest) GetActor() *Actor
func (*UpdateActorRequest) ProtoMessage ¶
func (*UpdateActorRequest) ProtoMessage()
func (*UpdateActorRequest) ProtoReflect ¶
func (x *UpdateActorRequest) ProtoReflect() protoreflect.Message
func (*UpdateActorRequest) Reset ¶
func (x *UpdateActorRequest) Reset()
func (*UpdateActorRequest) String ¶
func (x *UpdateActorRequest) String() string
type UpdateAtespaceAccessPolicyRequest ¶
type UpdateAtespaceAccessPolicyRequest struct {
// Parent Atespace under which to update the policy resource.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Atespace *ObjectRef `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
// Full replacement. Metadata UID and version are required preconditions;
// metadata.name must be "default" and metadata.atespace must be empty.
//
// +k8s:required
AccessPolicy *AccessPolicy `protobuf:"bytes,2,opt,name=access_policy,json=accessPolicy,proto3" json:"access_policy,omitempty"`
// contains filtered or unexported fields
}
UpdateAtespaceAccessPolicyRequest replaces an Atespace's access policy.
func (*UpdateAtespaceAccessPolicyRequest) Descriptor
deprecated
func (*UpdateAtespaceAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAtespaceAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateAtespaceAccessPolicyRequest) GetAccessPolicy ¶
func (x *UpdateAtespaceAccessPolicyRequest) GetAccessPolicy() *AccessPolicy
func (*UpdateAtespaceAccessPolicyRequest) GetAtespace ¶
func (x *UpdateAtespaceAccessPolicyRequest) GetAtespace() *ObjectRef
func (*UpdateAtespaceAccessPolicyRequest) ProtoMessage ¶
func (*UpdateAtespaceAccessPolicyRequest) ProtoMessage()
func (*UpdateAtespaceAccessPolicyRequest) ProtoReflect ¶
func (x *UpdateAtespaceAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*UpdateAtespaceAccessPolicyRequest) Reset ¶
func (x *UpdateAtespaceAccessPolicyRequest) Reset()
func (*UpdateAtespaceAccessPolicyRequest) String ¶
func (x *UpdateAtespaceAccessPolicyRequest) String() string
type UpdateGlobalAccessPolicyRequest ¶
type UpdateGlobalAccessPolicyRequest struct {
// Full replacement. Metadata UID and version are required preconditions;
// metadata.name must be "default" and metadata.atespace must be empty.
//
// +k8s:required
AccessPolicy *AccessPolicy `protobuf:"bytes,1,opt,name=access_policy,json=accessPolicy,proto3" json:"access_policy,omitempty"`
// contains filtered or unexported fields
}
UpdateGlobalAccessPolicyRequest replaces the deployment-wide global access policy singleton.
func (*UpdateGlobalAccessPolicyRequest) Descriptor
deprecated
func (*UpdateGlobalAccessPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGlobalAccessPolicyRequest.ProtoReflect.Descriptor instead.
func (*UpdateGlobalAccessPolicyRequest) GetAccessPolicy ¶
func (x *UpdateGlobalAccessPolicyRequest) GetAccessPolicy() *AccessPolicy
func (*UpdateGlobalAccessPolicyRequest) ProtoMessage ¶
func (*UpdateGlobalAccessPolicyRequest) ProtoMessage()
func (*UpdateGlobalAccessPolicyRequest) ProtoReflect ¶
func (x *UpdateGlobalAccessPolicyRequest) ProtoReflect() protoreflect.Message
func (*UpdateGlobalAccessPolicyRequest) Reset ¶
func (x *UpdateGlobalAccessPolicyRequest) Reset()
func (*UpdateGlobalAccessPolicyRequest) String ¶
func (x *UpdateGlobalAccessPolicyRequest) String() string
type UpdateTagRequest ¶
type UpdateTagRequest struct {
// The tag to update.
// tag.metadata.atespace and tag.metadata.name identify which resource to
// update.
// tag.metadata.version and tag.metadata.uid are required preconditions
//
// +k8s:required
// +k8s:opaqueType # updates are handled in 2 steps, do not descend
// +k8s:subfield(metadata)=+k8s:required
// +k8s:customValidation # TODO: when we get nested subfields, require metadata.atespace
Tag *Tag `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
// contains filtered or unexported fields
}
Request to update mutable fields on an existing Tag. The tag keeps its address: the snapshot it points at cannot be changed.
func (*UpdateTagRequest) Descriptor
deprecated
func (*UpdateTagRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.
func (*UpdateTagRequest) GetTag ¶
func (x *UpdateTagRequest) GetTag() *Tag
func (*UpdateTagRequest) ProtoMessage ¶
func (*UpdateTagRequest) ProtoMessage()
func (*UpdateTagRequest) ProtoReflect ¶
func (x *UpdateTagRequest) ProtoReflect() protoreflect.Message
func (*UpdateTagRequest) Reset ¶
func (x *UpdateTagRequest) Reset()
func (*UpdateTagRequest) String ¶
func (x *UpdateTagRequest) String() string
type UpdateWorkerRequest ¶
type UpdateWorkerRequest struct {
// The Worker to update.
// worker.metadata.name identifies which resource to update. atespace is
// always empty; Workers are global-scoped.
// worker.metadata.version and worker.metadata.uid are required preconditions.
//
// labels is the only field an update may change. Every other field is
// replaced with what the request carries, and a field left unset is cleared —
// so read the Worker, change what you mean to change, and send the whole
// thing back. A request that alters an immutable field, by changing it or by
// omitting it, returns INVALID_ARGUMENT naming the field. status is
// output-only and whatever it carries is ignored.
//
// +k8s:required
// +k8s:opaqueType # updates are handled in 2 steps, do not descend
// +k8s:subfield(metadata)=+k8s:required
// +k8s:customValidation # TODO: when we get nested subfields, forbid metadata.atespace
Worker *Worker `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateWorkerRequest) Descriptor
deprecated
func (*UpdateWorkerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateWorkerRequest.ProtoReflect.Descriptor instead.
func (*UpdateWorkerRequest) GetWorker ¶
func (x *UpdateWorkerRequest) GetWorker() *Worker
func (*UpdateWorkerRequest) ProtoMessage ¶
func (*UpdateWorkerRequest) ProtoMessage()
func (*UpdateWorkerRequest) ProtoReflect ¶
func (x *UpdateWorkerRequest) ProtoReflect() protoreflect.Message
func (*UpdateWorkerRequest) Reset ¶
func (x *UpdateWorkerRequest) Reset()
func (*UpdateWorkerRequest) String ¶
func (x *UpdateWorkerRequest) String() string
type VersionedSandboxCompat ¶
type VersionedSandboxCompat struct {
// Compatibility schema version (e.g. "v1") defining which runtime and
// hardware attributes are recorded and how they are computed.
//
// +k8s:required
// +k8s:maxLength=64
SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,json=schemaVersion,proto3" json:"schema_version,omitempty"`
// Key-value compatibility attributes defined by this schema version, covering
// both runtime assets (e.g. "sandbox_bundle_hash") and effective guest
// hardware features after masking (e.g. "architecture", "cpu_features").
// Matched against a snapshot under the same schema_version: every attribute
// on the snapshot must be present on the worker with an equal value (except
// "cpu_features", where the snapshot's hexadecimal bitmask must be a bitwise
// subset of the worker's); keys only the worker has are ignored, so a worker
// can gain keys under one schema_version without invalidating older
// snapshots. Removing or recomputing a key is a new schema_version, under
// which older snapshots no longer match.
// Order as sent does not matter: ate-api-server sorts attributes by key
// before recording them.
//
// +k8s:required
// +k8s:maxItems=32
// +k8s:listType=map
// +k8s:listMapKey=key
Attributes []*AttributeEntry `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
// contains filtered or unexported fields
}
VersionedSandboxCompat holds the compatibility schema version and the key-value compatibility attributes of a sandbox runtime.
func (*VersionedSandboxCompat) Descriptor
deprecated
func (*VersionedSandboxCompat) Descriptor() ([]byte, []int)
Deprecated: Use VersionedSandboxCompat.ProtoReflect.Descriptor instead.
func (*VersionedSandboxCompat) GetAttributes ¶
func (x *VersionedSandboxCompat) GetAttributes() []*AttributeEntry
func (*VersionedSandboxCompat) GetSchemaVersion ¶
func (x *VersionedSandboxCompat) GetSchemaVersion() string
func (*VersionedSandboxCompat) ProtoMessage ¶
func (*VersionedSandboxCompat) ProtoMessage()
func (*VersionedSandboxCompat) ProtoReflect ¶
func (x *VersionedSandboxCompat) ProtoReflect() protoreflect.Message
func (*VersionedSandboxCompat) Reset ¶
func (x *VersionedSandboxCompat) Reset()
func (*VersionedSandboxCompat) String ¶
func (x *VersionedSandboxCompat) String() string
type Volume ¶
type Volume struct {
// name of the volume. Must be a DNS label.
//
// +k8s:required
// +k8s:format=k8s-short-name
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Exactly one of durable_dir / external / image / system_info must be
// set.
//
// +k8s:optional
// +k8s:unionMember
DurableDir *DurableDirVolumeSource `protobuf:"bytes,2,opt,name=durable_dir,json=durableDir,proto3" json:"durable_dir,omitempty"`
// external is a CSI volume: provisioned for this actor from a template.
//
// +ate:preview=ExternalVolumes
// +k8s:ifDisabled(ExternalVolumes)=+k8s:forbidden
// +k8s:optional
// +k8s:unionMember
External *ExternalVolumeSource `protobuf:"bytes,3,opt,name=external,proto3" json:"external,omitempty"`
// +k8s:optional
// +k8s:unionMember
SystemInfo *SystemInfoVolumeSource `protobuf:"bytes,4,opt,name=system_info,json=systemInfo,proto3" json:"system_info,omitempty"`
// image mounts the contents of an OCI image, read-only.
//
// +k8s:optional
// +k8s:unionMember
Image *ImageVolumeSource `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}
func (*Volume) Descriptor
deprecated
func (*Volume) GetDurableDir ¶
func (x *Volume) GetDurableDir() *DurableDirVolumeSource
func (*Volume) GetExternal ¶
func (x *Volume) GetExternal() *ExternalVolumeSource
func (*Volume) GetImage ¶
func (x *Volume) GetImage() *ImageVolumeSource
func (*Volume) GetSystemInfo ¶
func (x *Volume) GetSystemInfo() *SystemInfoVolumeSource
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
type VolumeMount ¶
type VolumeMount struct {
// name must match the name of a Volume.
//
// +k8s:required
// +k8s:format=k8s-short-name
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// mount_path within the container. Must be a clean absolute Unix path:
// must start with '/', not be '/', and contain no ':', '..', '.', '//',
// trailing '/', or control characters. Must not be /dev, and must not be
// /dev/pts, /proc, /sys, or a path under them.
//
// +k8s:required
// +k8s:maxLength=4096
// +k8s:customValidation # clean absolute path, not /dev, outside /dev/pts, /proc and /sys
MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// contains filtered or unexported fields
}
VolumeMount mounts a named Volume into a container.
func (*VolumeMount) Descriptor
deprecated
func (*VolumeMount) Descriptor() ([]byte, []int)
Deprecated: Use VolumeMount.ProtoReflect.Descriptor instead.
func (*VolumeMount) GetMountPath ¶
func (x *VolumeMount) GetMountPath() string
func (*VolumeMount) GetName ¶
func (x *VolumeMount) GetName() string
func (*VolumeMount) ProtoMessage ¶
func (*VolumeMount) ProtoMessage()
func (*VolumeMount) ProtoReflect ¶
func (x *VolumeMount) ProtoReflect() protoreflect.Message
func (*VolumeMount) Reset ¶
func (x *VolumeMount) Reset()
func (*VolumeMount) String ¶
func (x *VolumeMount) String() string
type WakeupProbe ¶
type WakeupProbe struct {
// http_get is the request to poll.
//
// +k8s:required
HttpGet *HttpGetAction `protobuf:"bytes,1,opt,name=http_get,json=httpGet,proto3" json:"http_get,omitempty"`
// timeout_seconds is how long to keep polling before giving up.
// Defaults to 30 when unset.
//
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=3600
TimeoutSeconds int32 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
// contains filtered or unexported fields
}
WakeupProbe tells the platform when a container is serving. It is polled on every wakeup, whether the actor cold-boots or is restored from a snapshot, and not again while the actor stays running. A probe that does not answer 200 within timeout_seconds crashes the actor.
func (*WakeupProbe) Descriptor
deprecated
func (*WakeupProbe) Descriptor() ([]byte, []int)
Deprecated: Use WakeupProbe.ProtoReflect.Descriptor instead.
func (*WakeupProbe) GetHttpGet ¶
func (x *WakeupProbe) GetHttpGet() *HttpGetAction
func (*WakeupProbe) GetTimeoutSeconds ¶
func (x *WakeupProbe) GetTimeoutSeconds() int32
func (*WakeupProbe) ProtoMessage ¶
func (*WakeupProbe) ProtoMessage()
func (*WakeupProbe) ProtoReflect ¶
func (x *WakeupProbe) ProtoReflect() protoreflect.Message
func (*WakeupProbe) Reset ¶
func (x *WakeupProbe) Reset()
func (*WakeupProbe) String ¶
func (x *WakeupProbe) String() string
type Worker ¶
type Worker struct {
// Output-only: name, uid, version and timestamps are all server-assigned.
// uid and version are echoed back on UpdateWorker as preconditions.
//
// +k8s:required
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
Metadata *ResourceMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Kubernetes coordinates. Immutable, set at creation.
//
// +k8s:required
// +k8s:format=k8s-short-name
// +k8s:immutable
WorkerNamespace string `protobuf:"bytes,2,opt,name=worker_namespace,json=workerNamespace,proto3" json:"worker_namespace,omitempty"`
// +k8s:required
// +k8s:format=k8s-long-name
// +k8s:immutable
WorkerPool string `protobuf:"bytes,3,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
// +k8s:required
// +k8s:format=k8s-long-name
// +k8s:immutable
WorkerPod string `protobuf:"bytes,4,opt,name=worker_pod,json=workerPod,proto3" json:"worker_pod,omitempty"`
// +k8s:required
// +k8s:format=k8s-uuid
// +k8s:immutable
WorkerPodUid string `protobuf:"bytes,5,opt,name=worker_pod_uid,json=workerPodUid,proto3" json:"worker_pod_uid,omitempty"`
// +k8s:required
// +k8s:format=k8s-long-name
// +k8s:immutable
NodeName string `protobuf:"bytes,6,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
// worker_spiffe_id is the SPIFFE ID the worker pod's certificate carries.
// atenet-router requires it on the certificate of the worker's atunnel.
//
// +k8s:optional
// +k8s:maxLength=2048
// +k8s:customValidation # a SPIFFE ID
// +k8s:immutable
WorkerSpiffeId string `protobuf:"bytes,7,opt,name=worker_spiffe_id,json=workerSpiffeId,proto3" json:"worker_spiffe_id,omitempty"`
// labels mirror the WorkerPool object's Kubernetes labels, which selectors
// match against.
// Kubernetes does not cap an object's label count, so the bound below is
// a generous guardrail, not a mirror of an upstream limit.
//
// +k8s:optional
// +k8s:maxProperties=64
// +k8s:eachKey=+k8s:format=k8s-label-key
// +k8s:eachVal=+k8s:format=k8s-label-value
Labels map[string]string `` /* 139-byte string literal not displayed */
// Output-only server-managed state. Absent from Create/Update request
// payloads; whatever a request carries here is ignored. A client moves
// state only through DrainWorker, MarkWorkerAvailable and
// MarkWorkerUnavailable, and the assignments are the scheduler's.
//
// +k8s:optional
Status *WorkerStatus `protobuf:"bytes,9,opt,name=status,proto3" json:"status,omitempty"`
// contains filtered or unexported fields
}
Worker is a schedulable worker pod.
Global-scoped: metadata.atespace is always empty. metadata.name is assigned by the control plane and is opaque to clients — never parse it or derive it from anything else; read pod identity from the named fields below.
labels and epoch are the only mutable fields; every other field is either immutable after creation or output-only. UpdateWorker replaces the whole resource, so an immutable field that a request changes — including by omitting it, which would clear it — is rejected with INVALID_ARGUMENT.
func (*Worker) Descriptor
deprecated
func (*Worker) GetMetadata ¶
func (x *Worker) GetMetadata() *ResourceMetadata
func (*Worker) GetNodeName ¶
func (*Worker) GetStatus ¶
func (x *Worker) GetStatus() *WorkerStatus
func (*Worker) GetWorkerNamespace ¶
func (*Worker) GetWorkerPod ¶
func (*Worker) GetWorkerPodUid ¶
func (*Worker) GetWorkerPool ¶
func (*Worker) GetWorkerSpiffeId ¶
func (*Worker) ProtoMessage ¶
func (*Worker) ProtoMessage()
func (*Worker) ProtoReflect ¶
func (x *Worker) ProtoReflect() protoreflect.Message
type WorkerAssignment ¶
type WorkerAssignment struct {
// worker references the assigned Worker. This is the field to look the Worker
// up by; the worker_* fields below are a denormalized copy kept so that
// readers on a hot path do not have to fetch the Worker at all.
//
// Workers are global-scoped, so this carries no atespace.
//
// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
// +k8s:required
// +k8s:update=NoModify
Worker *ObjectRef `protobuf:"bytes,6,opt,name=worker,proto3" json:"worker,omitempty"`
// worker_namespace is the Kubernetes namespace of the WorkerPool and worker Pod.
//
// +k8s:required
// +k8s:format=k8s-short-name
// +k8s:update=NoModify
WorkerNamespace string `protobuf:"bytes,1,opt,name=worker_namespace,json=workerNamespace,proto3" json:"worker_namespace,omitempty"`
// worker_pool is the name of the WorkerPool the worker belongs to.
//
// +k8s:required
// +k8s:format=k8s-long-name
// +k8s:update=NoModify
WorkerPool string `protobuf:"bytes,2,opt,name=worker_pool,json=workerPool,proto3" json:"worker_pool,omitempty"`
// worker_pod is the name of the Kubernetes pod hosting the Actor.
//
// +k8s:required
// +k8s:format=k8s-long-name
// +k8s:update=NoModify
WorkerPod string `protobuf:"bytes,3,opt,name=worker_pod,json=workerPod,proto3" json:"worker_pod,omitempty"`
// worker_pod_uid is the Kubernetes UID of worker_pod.
//
// +k8s:required
// +k8s:format=k8s-uuid
// +k8s:update=NoModify
WorkerPodUid string `protobuf:"bytes,4,opt,name=worker_pod_uid,json=workerPodUid,proto3" json:"worker_pod_uid,omitempty"`
// worker_pod_ips are the IPs of worker_pod, copied from Worker.status.ips
// when the Actor is placed, and again when it becomes RUNNING.
//
// +k8s:required
// +k8s:maxItems=2
// +k8s:listType=atomic
// +k8s:customValidation # until `format=k8s-ip` is supported
WorkerPodIps []string `protobuf:"bytes,5,rep,name=worker_pod_ips,json=workerPodIps,proto3" json:"worker_pod_ips,omitempty"`
// node_name is the Kubernetes node hosting worker_pod.
//
// +k8s:required
// +k8s:format=k8s-long-name
// +k8s:update=NoModify
NodeName string `protobuf:"bytes,7,opt,name=node_name,json=nodeName,proto3" json:"node_name,omitempty"`
// worker_epoch is the epoch of the worker process the Actor runs under, as
// that process reports it from Run or Restore. 0 until the Actor becomes
// RUNNING.
//
// +k8s:optional
// +k8s:minimum=0
WorkerEpoch int64 `protobuf:"varint,8,opt,name=worker_epoch,json=workerEpoch,proto3" json:"worker_epoch,omitempty"`
// sandbox_runtime is the sandbox runtime and compatibility version the Actor
// was started or restored under on this Worker.
//
// +k8s:optional
// +k8s:update=NoModify
SandboxRuntime *ActorSandboxRuntime `protobuf:"bytes,9,opt,name=sandbox_runtime,json=sandboxRuntime,proto3" json:"sandbox_runtime,omitempty"`
// worker_spiffe_id is the SPIFFE ID worker_pod's certificate carries, copied
// from Worker.worker_spiffe_id.
//
// +k8s:optional
// +k8s:maxLength=2048
// +k8s:customValidation # a SPIFFE ID
// +k8s:update=NoModify
WorkerSpiffeId string `protobuf:"bytes,10,opt,name=worker_spiffe_id,json=workerSpiffeId,proto3" json:"worker_spiffe_id,omitempty"`
// contains filtered or unexported fields
}
WorkerAssignment points at the Worker currently hosting an Actor.
This is a denormalized snapshot, not merely a reference: atenet reads worker_pod_ips on the request-routing path and must not need a second lookup, and kubectl-ate displays the pod name. The copies of the Worker's identity fields stay valid for the life of the assignment because those fields are immutable, and cannot change in place. worker_pod_ips and worker_epoch describe the worker process the Actor runs under, and are updated when the Actor becomes RUNNING.
Pass `worker` to GetWorker; none of the denormalized fields identify the Worker to the API.
func (*WorkerAssignment) Descriptor
deprecated
func (*WorkerAssignment) Descriptor() ([]byte, []int)
Deprecated: Use WorkerAssignment.ProtoReflect.Descriptor instead.
func (*WorkerAssignment) GetNodeName ¶
func (x *WorkerAssignment) GetNodeName() string
func (*WorkerAssignment) GetSandboxRuntime ¶
func (x *WorkerAssignment) GetSandboxRuntime() *ActorSandboxRuntime
func (*WorkerAssignment) GetWorker ¶
func (x *WorkerAssignment) GetWorker() *ObjectRef
func (*WorkerAssignment) GetWorkerEpoch ¶
func (x *WorkerAssignment) GetWorkerEpoch() int64
func (*WorkerAssignment) GetWorkerNamespace ¶
func (x *WorkerAssignment) GetWorkerNamespace() string
func (*WorkerAssignment) GetWorkerPod ¶
func (x *WorkerAssignment) GetWorkerPod() string
func (*WorkerAssignment) GetWorkerPodIps ¶
func (x *WorkerAssignment) GetWorkerPodIps() []string
func (*WorkerAssignment) GetWorkerPodUid ¶
func (x *WorkerAssignment) GetWorkerPodUid() string
func (*WorkerAssignment) GetWorkerPool ¶
func (x *WorkerAssignment) GetWorkerPool() string
func (*WorkerAssignment) GetWorkerSpiffeId ¶
func (x *WorkerAssignment) GetWorkerSpiffeId() string
func (*WorkerAssignment) ProtoMessage ¶
func (*WorkerAssignment) ProtoMessage()
func (*WorkerAssignment) ProtoReflect ¶
func (x *WorkerAssignment) ProtoReflect() protoreflect.Message
func (*WorkerAssignment) Reset ¶
func (x *WorkerAssignment) Reset()
func (*WorkerAssignment) String ¶
func (x *WorkerAssignment) String() string
type WorkerResources ¶
type WorkerResources struct {
// cpu_millicores is CPU in millicores (1000 = one core). Compared against
// the Actor's resource limits for placement.
//
// +k8s:optional
// +k8s:minimum=0
// +k8s:maximum=999999 # less than 1000 cores
CpuMillicores int64 `protobuf:"varint,1,opt,name=cpu_millicores,json=cpuMillicores,proto3" json:"cpu_millicores,omitempty"`
// memory_bytes is memory in bytes. Compared against the Actor's resource
// limits for placement.
//
// +k8s:optional
// +k8s:minimum=0
MemoryBytes int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
// A count of Actors. Workers can use this to limit the number of Actors
// that can be placed on them, constraining the costs of other things that
// are not captured in the resources above, but which still have costs -
// netns, mounts, file descriptors, etc.
//
// +k8s:optional
// +k8s:minimum=1
Actors int32 `protobuf:"varint,3,opt,name=actors,proto3" json:"actors,omitempty"`
// contains filtered or unexported fields
}
WorkerResources represents a set of resources.
func (*WorkerResources) Descriptor
deprecated
func (*WorkerResources) Descriptor() ([]byte, []int)
Deprecated: Use WorkerResources.ProtoReflect.Descriptor instead.
func (*WorkerResources) GetActors ¶
func (x *WorkerResources) GetActors() int32
func (*WorkerResources) GetCpuMillicores ¶
func (x *WorkerResources) GetCpuMillicores() int64
func (*WorkerResources) GetMemoryBytes ¶
func (x *WorkerResources) GetMemoryBytes() int64
func (*WorkerResources) ProtoMessage ¶
func (*WorkerResources) ProtoMessage()
func (*WorkerResources) ProtoReflect ¶
func (x *WorkerResources) ProtoReflect() protoreflect.Message
func (*WorkerResources) Reset ¶
func (x *WorkerResources) Reset()
func (*WorkerResources) String ¶
func (x *WorkerResources) String() string
type WorkerSandboxClass ¶
type WorkerSandboxClass struct {
// e.g. "gvisor", "microvm", as on WorkerPool.spec.sandboxClasses[].name.
//
// +k8s:required
// +k8s:maxLength=63
// +k8s:customValidation # gvisor or microvm
SandboxClass string `protobuf:"bytes,1,opt,name=sandbox_class,json=sandboxClass,proto3" json:"sandbox_class,omitempty"`
// Runtime new and cold-booted actors of this class start under. Snapshots
// matching its version can also warm-boot on this worker.
//
// +k8s:required
DefaultRuntime *WorkerSandboxRuntime `protobuf:"bytes,2,opt,name=default_runtime,json=defaultRuntime,proto3" json:"default_runtime,omitempty"`
// Additional runtimes of this class (excluding default_runtime) that this
// worker can restore snapshots from right now.
//
// +k8s:optional
// +k8s:maxItems=32
// +k8s:listType=atomic
RestorableRuntimes []*WorkerSandboxRuntime `protobuf:"bytes,3,rep,name=restorable_runtimes,json=restorableRuntimes,proto3" json:"restorable_runtimes,omitempty"`
// contains filtered or unexported fields
}
WorkerSandboxClass is one sandbox class a Worker runs, with the runtimes it runs it under. A Worker has one entry per WorkerPool sandboxClasses entry, so exactly one today.
func (*WorkerSandboxClass) Descriptor
deprecated
func (*WorkerSandboxClass) Descriptor() ([]byte, []int)
Deprecated: Use WorkerSandboxClass.ProtoReflect.Descriptor instead.
func (*WorkerSandboxClass) GetDefaultRuntime ¶
func (x *WorkerSandboxClass) GetDefaultRuntime() *WorkerSandboxRuntime
func (*WorkerSandboxClass) GetRestorableRuntimes ¶
func (x *WorkerSandboxClass) GetRestorableRuntimes() []*WorkerSandboxRuntime
func (*WorkerSandboxClass) GetSandboxClass ¶
func (x *WorkerSandboxClass) GetSandboxClass() string
func (*WorkerSandboxClass) ProtoMessage ¶
func (*WorkerSandboxClass) ProtoMessage()
func (*WorkerSandboxClass) ProtoReflect ¶
func (x *WorkerSandboxClass) ProtoReflect() protoreflect.Message
func (*WorkerSandboxClass) Reset ¶
func (x *WorkerSandboxClass) Reset()
func (*WorkerSandboxClass) String ¶
func (x *WorkerSandboxClass) String() string
type WorkerSandboxRuntime ¶
type WorkerSandboxRuntime struct {
// Compatibility version stamped onto an actor's snapshot when a checkpoint
// is taken on this runtime. Snapshots matching it can warm-boot on this
// runtime.
//
// (-- TODO: Add the additional compatibility versions this runtime can also
// restore snapshots from. --)
//
// +k8s:required
Version *VersionedSandboxCompat `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// The resource overhead incurred by a Worker for each Actor running under
// this runtime, on top of the Actor's stated limits. Placement considers
// this when deciding if a Worker has enough capacity for an Actor, and it is
// accounted for in allocated. If not specified, Actors under this runtime
// are assumed to have negligible overhead.
//
// +k8s:optional
ActorOverhead *RuntimeOverhead `protobuf:"bytes,2,opt,name=actor_overhead,json=actorOverhead,proto3" json:"actor_overhead,omitempty"`
// contains filtered or unexported fields
}
WorkerSandboxRuntime is one runtime a Worker runs for the class of its WorkerSandboxClass entry. ActorSandboxRuntime, the stamp on an assignment or snapshot, pairs the entry's sandbox_class with this runtime's version.
func (*WorkerSandboxRuntime) Descriptor
deprecated
func (*WorkerSandboxRuntime) Descriptor() ([]byte, []int)
Deprecated: Use WorkerSandboxRuntime.ProtoReflect.Descriptor instead.
func (*WorkerSandboxRuntime) GetActorOverhead ¶
func (x *WorkerSandboxRuntime) GetActorOverhead() *RuntimeOverhead
func (*WorkerSandboxRuntime) GetVersion ¶
func (x *WorkerSandboxRuntime) GetVersion() *VersionedSandboxCompat
func (*WorkerSandboxRuntime) ProtoMessage ¶
func (*WorkerSandboxRuntime) ProtoMessage()
func (*WorkerSandboxRuntime) ProtoReflect ¶
func (x *WorkerSandboxRuntime) ProtoReflect() protoreflect.Message
func (*WorkerSandboxRuntime) Reset ¶
func (x *WorkerSandboxRuntime) Reset()
func (*WorkerSandboxRuntime) String ¶
func (x *WorkerSandboxRuntime) String() string
type WorkerServiceClient ¶
type WorkerServiceClient interface {
// AcquireWorkerEpoch hands out a new epoch for a worker process, the first
// step of its startup. Nothing becomes active until the process registers
// with the epoch through RegisterWorker, so an acquire from a process that
// exits before it sees the reply changes nothing the scheduler or the
// reconciler acts on.
//
// atelet calls this with its own client certificate, for a Worker on its own
// node. Not idempotent: each call hands out a new epoch.
AcquireWorkerEpoch(ctx context.Context, in *AcquireWorkerEpochRequest, opts ...grpc.CallOption) (*AcquireWorkerEpochResponse, error)
// RegisterWorker activates the epoch a worker process acquired and records
// its pod IPs and capacity, in one write. A worker process registers once.
// The epoch must be one AcquireWorkerEpoch handed out, and higher than the
// Worker's registered_epoch; once it is registered, the Actors that ran under
// an earlier epoch are crashed, and the Worker takes no Actors until the new
// worker process reports its sandbox runtimes. Capacity and IPs are the Worker's to report:
// only its node can observe them.
//
// atelet calls this with its own client certificate, as it does for
// MintCert. Re-sending the registered epoch with the same IPs and capacity is
// not a write. An older epoch, one that was never handed out, or the
// registered epoch with other IPs or capacity gets FailedPrecondition: an epoch's
// registration does not change once made.
RegisterWorker(ctx context.Context, in *RegisterWorkerRequest, opts ...grpc.CallOption) (*RegisterWorkerResponse, error)
// SetWorkerSandboxRuntimes records the sandbox runtimes a registered worker
// process can run. A worker process reports them after it registers, and
// again whenever they change. The epoch must be the Worker's registered_epoch,
// so a report from a worker process that has since been replaced gets
// FailedPrecondition, as does an entry of another class than the one this
// worker process reported first.
//
// atelet calls this with its own client certificate. Re-sending the same
// runtimes is not a write.
SetWorkerSandboxRuntimes(ctx context.Context, in *SetWorkerSandboxRuntimesRequest, opts ...grpc.CallOption) (*SetWorkerSandboxRuntimesResponse, error)
// Create a Substrate-issued SPIFFE certificate that asserts a worker acting
// on behalf of a particular actor.
//
// SPIFFE URI: spiffe://${trustdomain}/worker-for-actor/${atespace}/${actor}
//
// atelet calls this with its own client certificate, as it does for
// RequestActorSuspend, naming the Worker its caller proved itself to be.
// The control plane mints only for the Worker that the Actor is assigned
// to, and only to an atelet on that Worker's node. A request from any
// other node or Worker gets NotFound; one from the assigned Worker with a
// stale actor_uid gets Aborted. Unlike MintWorkerActorJwt, a SUSPENDED Actor
// gets NotFound, since it has no Worker to bind the certificate to.
MintWorkerActorCertificate(ctx context.Context, in *MintWorkerActorCertificateRequest, opts ...grpc.CallOption) (*MintWorkerActorCertificateResponse, error)
// MintWorkerActorJwt creates a Substrate-issued JWT that asserts a worker
// acting on behalf of a particular actor: the JWT counterpart of
// MintWorkerActorCertificate. atelet calls it with its own client
// certificate and hands the JWT to node-side plugins, which exchange it for
// credentials scoped to that actor.
//
// The token speaks for the worker, not the actor: its subject is
// `worker-for-actor/<atespace>/<name>` and its claims sit under
// `worker-for-actor.ate.dev`, see MintWorkerActorJwtResponse. The lifetime is
// fixed at one hour.
MintWorkerActorJwt(ctx context.Context, in *MintWorkerActorJwtRequest, opts ...grpc.CallOption) (*MintWorkerActorJwtResponse, error)
// RequestActorSuspend asks the control plane to suspend an Actor that the
// calling Worker hosts. Only the Worker can observe what makes an Actor
// worth reclaiming -- whether its workload still has anything to do -- and
// only the control plane can decide whether to act on that.
//
// This is a request, not a command. It runs the same suspend workflow
// Control.SuspendActor runs, behind the same preconditions, so a proposal
// that races a resume, suspend, or delete loses to it.
//
// atelet calls this with its own client certificate, as it does for
// RegisterWorker, naming the Worker its caller proved itself to be. The
// control plane serves it only for an Actor that is assigned to that Worker.
//
// Not idempotent, unlike Control.SuspendActor, which reports an
// already-suspended Actor as the success it is. A suspend releases the
// Worker it ran on, so the second request names an Actor the caller no
// longer hosts, and is refused as NotFound like any other. A Worker that
// retries a suspend it had already been granted therefore sees a failure
// rather than a repeat of its success.
RequestActorSuspend(ctx context.Context, in *RequestActorSuspendRequest, opts ...grpc.CallOption) (*RequestActorSuspendResponse, error)
// ReportActorSnapshotState reports an Actor's snapshot state on the caller's
// node. The control plane records two facts from it: an upload finished, and
// atelet detached the Actor from the node. Only atelet observes either.
//
// atelet calls this with its own client certificate, for an Actor on its
// node. Each report carries the whole state, so repeating one is safe.
// Returns ABORTED while another operation is changing the Actor; retry.
// Returns NOT_FOUND once the Actor is gone or no longer on the caller's
// node. Returns FAILED_PRECONDITION or INVALID_ARGUMENT when the report
// conflicts with the record; don't retry.
ReportActorSnapshotState(ctx context.Context, in *ReportActorSnapshotStateRequest, opts ...grpc.CallOption) (*ReportActorSnapshotStateResponse, error)
// ReportActorCrashed tells the control plane that the sandbox of an Actor
// the calling Worker hosts died on its own. Nothing else notices: the
// control plane only learns of a dead sandbox when an operation on the Actor
// fails.
//
// A RUNNING Actor is moved to ACTOR_STATE_CRASHED and its Worker is
// released. An Actor in any other state is left alone and the report is
// refused as FailedPrecondition: an operation in flight owns the Actor and
// fails on its own if the sandbox is gone. Authorized like
// RequestActorSuspend.
ReportActorCrashed(ctx context.Context, in *ReportActorCrashedRequest, opts ...grpc.CallOption) (*ReportActorCrashedResponse, error)
}
WorkerServiceClient is the client API for WorkerService 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.
WorkerService is how a Worker tells the control plane what it observes. It is separate from Control because the two have different callers and different authorization: Control is the client-facing API, while these RPCs are served only to an atelet, and only for the Workers on its own node.
func NewWorkerServiceClient ¶
func NewWorkerServiceClient(cc grpc.ClientConnInterface) WorkerServiceClient
type WorkerServiceServer ¶
type WorkerServiceServer interface {
// AcquireWorkerEpoch hands out a new epoch for a worker process, the first
// step of its startup. Nothing becomes active until the process registers
// with the epoch through RegisterWorker, so an acquire from a process that
// exits before it sees the reply changes nothing the scheduler or the
// reconciler acts on.
//
// atelet calls this with its own client certificate, for a Worker on its own
// node. Not idempotent: each call hands out a new epoch.
AcquireWorkerEpoch(context.Context, *AcquireWorkerEpochRequest) (*AcquireWorkerEpochResponse, error)
// RegisterWorker activates the epoch a worker process acquired and records
// its pod IPs and capacity, in one write. A worker process registers once.
// The epoch must be one AcquireWorkerEpoch handed out, and higher than the
// Worker's registered_epoch; once it is registered, the Actors that ran under
// an earlier epoch are crashed, and the Worker takes no Actors until the new
// worker process reports its sandbox runtimes. Capacity and IPs are the Worker's to report:
// only its node can observe them.
//
// atelet calls this with its own client certificate, as it does for
// MintCert. Re-sending the registered epoch with the same IPs and capacity is
// not a write. An older epoch, one that was never handed out, or the
// registered epoch with other IPs or capacity gets FailedPrecondition: an epoch's
// registration does not change once made.
RegisterWorker(context.Context, *RegisterWorkerRequest) (*RegisterWorkerResponse, error)
// SetWorkerSandboxRuntimes records the sandbox runtimes a registered worker
// process can run. A worker process reports them after it registers, and
// again whenever they change. The epoch must be the Worker's registered_epoch,
// so a report from a worker process that has since been replaced gets
// FailedPrecondition, as does an entry of another class than the one this
// worker process reported first.
//
// atelet calls this with its own client certificate. Re-sending the same
// runtimes is not a write.
SetWorkerSandboxRuntimes(context.Context, *SetWorkerSandboxRuntimesRequest) (*SetWorkerSandboxRuntimesResponse, error)
// Create a Substrate-issued SPIFFE certificate that asserts a worker acting
// on behalf of a particular actor.
//
// SPIFFE URI: spiffe://${trustdomain}/worker-for-actor/${atespace}/${actor}
//
// atelet calls this with its own client certificate, as it does for
// RequestActorSuspend, naming the Worker its caller proved itself to be.
// The control plane mints only for the Worker that the Actor is assigned
// to, and only to an atelet on that Worker's node. A request from any
// other node or Worker gets NotFound; one from the assigned Worker with a
// stale actor_uid gets Aborted. Unlike MintWorkerActorJwt, a SUSPENDED Actor
// gets NotFound, since it has no Worker to bind the certificate to.
MintWorkerActorCertificate(context.Context, *MintWorkerActorCertificateRequest) (*MintWorkerActorCertificateResponse, error)
// MintWorkerActorJwt creates a Substrate-issued JWT that asserts a worker
// acting on behalf of a particular actor: the JWT counterpart of
// MintWorkerActorCertificate. atelet calls it with its own client
// certificate and hands the JWT to node-side plugins, which exchange it for
// credentials scoped to that actor.
//
// The token speaks for the worker, not the actor: its subject is
// `worker-for-actor/<atespace>/<name>` and its claims sit under
// `worker-for-actor.ate.dev`, see MintWorkerActorJwtResponse. The lifetime is
// fixed at one hour.
MintWorkerActorJwt(context.Context, *MintWorkerActorJwtRequest) (*MintWorkerActorJwtResponse, error)
// RequestActorSuspend asks the control plane to suspend an Actor that the
// calling Worker hosts. Only the Worker can observe what makes an Actor
// worth reclaiming -- whether its workload still has anything to do -- and
// only the control plane can decide whether to act on that.
//
// This is a request, not a command. It runs the same suspend workflow
// Control.SuspendActor runs, behind the same preconditions, so a proposal
// that races a resume, suspend, or delete loses to it.
//
// atelet calls this with its own client certificate, as it does for
// RegisterWorker, naming the Worker its caller proved itself to be. The
// control plane serves it only for an Actor that is assigned to that Worker.
//
// Not idempotent, unlike Control.SuspendActor, which reports an
// already-suspended Actor as the success it is. A suspend releases the
// Worker it ran on, so the second request names an Actor the caller no
// longer hosts, and is refused as NotFound like any other. A Worker that
// retries a suspend it had already been granted therefore sees a failure
// rather than a repeat of its success.
RequestActorSuspend(context.Context, *RequestActorSuspendRequest) (*RequestActorSuspendResponse, error)
// ReportActorSnapshotState reports an Actor's snapshot state on the caller's
// node. The control plane records two facts from it: an upload finished, and
// atelet detached the Actor from the node. Only atelet observes either.
//
// atelet calls this with its own client certificate, for an Actor on its
// node. Each report carries the whole state, so repeating one is safe.
// Returns ABORTED while another operation is changing the Actor; retry.
// Returns NOT_FOUND once the Actor is gone or no longer on the caller's
// node. Returns FAILED_PRECONDITION or INVALID_ARGUMENT when the report
// conflicts with the record; don't retry.
ReportActorSnapshotState(context.Context, *ReportActorSnapshotStateRequest) (*ReportActorSnapshotStateResponse, error)
// ReportActorCrashed tells the control plane that the sandbox of an Actor
// the calling Worker hosts died on its own. Nothing else notices: the
// control plane only learns of a dead sandbox when an operation on the Actor
// fails.
//
// A RUNNING Actor is moved to ACTOR_STATE_CRASHED and its Worker is
// released. An Actor in any other state is left alone and the report is
// refused as FailedPrecondition: an operation in flight owns the Actor and
// fails on its own if the sandbox is gone. Authorized like
// RequestActorSuspend.
ReportActorCrashed(context.Context, *ReportActorCrashedRequest) (*ReportActorCrashedResponse, error)
// contains filtered or unexported methods
}
WorkerServiceServer is the server API for WorkerService service. All implementations must embed UnimplementedWorkerServiceServer for forward compatibility.
WorkerService is how a Worker tells the control plane what it observes. It is separate from Control because the two have different callers and different authorization: Control is the client-facing API, while these RPCs are served only to an atelet, and only for the Workers on its own node.
type WorkerState ¶
type WorkerState int32
const ( WorkerState_WORKER_STATE_UNSPECIFIED WorkerState = 0 // Ready; schedulable. WorkerState_WORKER_STATE_ACTIVE WorkerState = 1 // Pod terminating. Not schedulable. Final: a draining Worker never becomes // active or unavailable again. WorkerState_WORKER_STATE_DRAINING WorkerState = 2 // Registered but not Ready, or its the worker restarting. Not schedulable. Every // Worker starts here until MarkWorkerAvailable. WorkerState_WORKER_STATE_UNAVAILABLE WorkerState = 3 // Keep this in sync with WorkerStatus.state's maximum. )
func (WorkerState) Descriptor ¶
func (WorkerState) Descriptor() protoreflect.EnumDescriptor
func (WorkerState) Enum ¶
func (x WorkerState) Enum() *WorkerState
func (WorkerState) EnumDescriptor
deprecated
func (WorkerState) EnumDescriptor() ([]byte, []int)
Deprecated: Use WorkerState.Descriptor instead.
func (WorkerState) Number ¶
func (x WorkerState) Number() protoreflect.EnumNumber
func (WorkerState) String ¶
func (x WorkerState) String() string
func (WorkerState) Type ¶
func (WorkerState) Type() protoreflect.EnumType
type WorkerStatus ¶
type WorkerStatus struct {
// +k8s:required
// +k8s:minimum=1
// +k8s:maximum=3 # keep this in sync with the WorkerState enum
State WorkerState `protobuf:"varint,1,opt,name=state,proto3,enum=substrate.ateapi.v1.WorkerState" json:"state,omitempty"`
// The total resource capacity of the Worker.
//
// A Worker should report every dimension of resources it has available to be
// consumed by Actors. Any resource not specified here is assumed to be 0. An
// Actor which requests a resource which is not present in a Worker's
// capacity will prevent that Actor from running on that Worker.
//
// Shrinking capacity below allocated prevents new placements but does not
// evicts running Actors.
//
// +k8s:optional
Capacity *WorkerResources `protobuf:"bytes,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
// The allocated resources of the Worker. This is the sum of all the
// resources consumed by the Actors currently assigned to this Worker,
// including their runtime's actor_overhead.
//
// +k8s:optional
Allocated *WorkerResources `protobuf:"bytes,3,opt,name=allocated,proto3" json:"allocated,omitempty"`
// observed_epoch is the latest epoch whose earlier Actors the control plane
// has crashed and released. While it is below registered_epoch, Actors placed
// before the worker's last restart may still be reported as running.
//
// +k8s:optional
// +k8s:minimum=0
ObservedEpoch int64 `protobuf:"varint,4,opt,name=observed_epoch,json=observedEpoch,proto3" json:"observed_epoch,omitempty"`
// The sandbox classes this Worker runs and the runtimes it runs them under,
// as the registered worker process reports them through
// WorkerService.SetWorkerSandboxRuntimes. Cleared when a new worker process
// registers, and nothing is placed on the Worker until it reports them. One
// entry today, like WorkerPoolSpec.sandboxClasses. Its sandbox_class is the
// Worker's class.
//
// +k8s:optional
// +k8s:maxItems=1 # keep in sync with WorkerPoolSpec.sandboxClasses
// +k8s:listType=map
// +k8s:listMapKey=sandbox_class
SandboxClasses []*WorkerSandboxClass `protobuf:"bytes,5,rep,name=sandbox_classes,json=sandboxClasses,proto3" json:"sandbox_classes,omitempty"`
// ips are the worker pod's IPs, at most one per IP family, in the order
// Kubernetes reports them; the first is in the cluster's primary family.
// The worker process reports them when it registers, so they follow a pod
// sandbox that is recreated with new IPs.
//
// +k8s:optional
// +k8s:maxItems=2
// +k8s:listType=atomic
// +k8s:customValidation # until `format=k8s-ip` is supported
Ips []string `protobuf:"bytes,6,rep,name=ips,proto3" json:"ips,omitempty"`
// issued_epoch is the last epoch handed out by
// WorkerService.AcquireWorkerEpoch. Each worker process acquires one at
// startup.
//
// +k8s:optional
// +k8s:minimum=0
IssuedEpoch int64 `protobuf:"varint,7,opt,name=issued_epoch,json=issuedEpoch,proto3" json:"issued_epoch,omitempty"`
// registered_epoch is the epoch of the worker process that registered last,
// through WorkerService.RegisterWorker. Only one worker process runs in a pod
// at a time, and a process registers only an epoch it acquired, so a rise
// means every earlier process has exited and lost its sandboxes. The control
// plane then crashes the Actors that ran under an earlier epoch. 0 until the
// first registration; a Worker takes no Actors before then.
//
// +k8s:optional
// +k8s:minimum=0
RegisteredEpoch int64 `protobuf:"varint,8,opt,name=registered_epoch,json=registeredEpoch,proto3" json:"registered_epoch,omitempty"`
// contains filtered or unexported fields
}
func (*WorkerStatus) Descriptor
deprecated
func (*WorkerStatus) Descriptor() ([]byte, []int)
Deprecated: Use WorkerStatus.ProtoReflect.Descriptor instead.
func (*WorkerStatus) GetAllocated ¶
func (x *WorkerStatus) GetAllocated() *WorkerResources
func (*WorkerStatus) GetCapacity ¶
func (x *WorkerStatus) GetCapacity() *WorkerResources
func (*WorkerStatus) GetIps ¶
func (x *WorkerStatus) GetIps() []string
func (*WorkerStatus) GetIssuedEpoch ¶
func (x *WorkerStatus) GetIssuedEpoch() int64
func (*WorkerStatus) GetObservedEpoch ¶
func (x *WorkerStatus) GetObservedEpoch() int64
func (*WorkerStatus) GetRegisteredEpoch ¶
func (x *WorkerStatus) GetRegisteredEpoch() int64
func (*WorkerStatus) GetSandboxClasses ¶
func (x *WorkerStatus) GetSandboxClasses() []*WorkerSandboxClass
func (*WorkerStatus) GetState ¶
func (x *WorkerStatus) GetState() WorkerState
func (*WorkerStatus) ProtoMessage ¶
func (*WorkerStatus) ProtoMessage()
func (*WorkerStatus) ProtoReflect ¶
func (x *WorkerStatus) ProtoReflect() protoreflect.Message
func (*WorkerStatus) Reset ¶
func (x *WorkerStatus) Reset()
func (*WorkerStatus) String ¶
func (x *WorkerStatus) String() string