Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAteomHerderServer(s grpc.ServiceRegistrar, srv AteomHerderServer)
- func RegisterCredentialBrokerServer(s grpc.ServiceRegistrar, srv CredentialBrokerServer)
- func RegisterWorkerCapacityServer(s grpc.ServiceRegistrar, srv WorkerCapacityServer)
- 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 ArchAssets
- type AssetFile
- type AteomHerderClient
- type AteomHerderServer
- 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 CheckpointRequest
- func (*CheckpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckpointRequest) GetActorName() string
- func (x *CheckpointRequest) GetActorTemplateAtespace() string
- func (x *CheckpointRequest) GetActorTemplateName() string
- func (x *CheckpointRequest) GetActorUid() string
- func (x *CheckpointRequest) GetAtespace() string
- func (x *CheckpointRequest) GetConfig() isCheckpointRequest_Config
- func (x *CheckpointRequest) GetExternalConfig() *ExternalCheckpointConfiguration
- func (x *CheckpointRequest) GetLocalConfig() *LocalCheckpointConfiguration
- func (x *CheckpointRequest) GetScope() SnapshotScope
- func (x *CheckpointRequest) GetSpec() *WorkloadSpec
- func (x *CheckpointRequest) GetTargetAteomUid() string
- func (x *CheckpointRequest) GetType() CheckpointType
- func (*CheckpointRequest) ProtoMessage()
- func (x *CheckpointRequest) ProtoReflect() protoreflect.Message
- func (x *CheckpointRequest) Reset()
- func (x *CheckpointRequest) String() string
- type CheckpointRequest_ExternalConfig
- type CheckpointRequest_LocalConfig
- type CheckpointResponse
- type CheckpointType
- func (CheckpointType) Descriptor() protoreflect.EnumDescriptor
- func (x CheckpointType) Enum() *CheckpointType
- func (CheckpointType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CheckpointType) Number() protoreflect.EnumNumber
- func (x CheckpointType) String() string
- func (CheckpointType) Type() protoreflect.EnumType
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetArgs() []string
- func (x *Container) GetCommand() []string
- func (x *Container) GetEnv() []*EnvEntry
- func (x *Container) GetImage() string
- func (x *Container) GetName() string
- func (x *Container) GetReadyz() *Readyz
- func (x *Container) GetResources() *ResourceLimits
- func (x *Container) GetSecurityContext() *SecurityContext
- func (x *Container) GetVolumeMounts() []*VolumeMount
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (x *Container) String() string
- type CredentialBrokerClient
- type CredentialBrokerServer
- type DurableDirVolume
- type EgressGateway
- type EnvEntry
- type ExternalCheckpointConfiguration
- func (*ExternalCheckpointConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalCheckpointConfiguration) GetSnapshotUri() string
- func (*ExternalCheckpointConfiguration) ProtoMessage()
- func (x *ExternalCheckpointConfiguration) ProtoReflect() protoreflect.Message
- func (x *ExternalCheckpointConfiguration) Reset()
- func (x *ExternalCheckpointConfiguration) String() string
- type ExternalVolumeSource
- func (*ExternalVolumeSource) Descriptor() ([]byte, []int)deprecated
- func (x *ExternalVolumeSource) GetStorageVolumeId() string
- func (x *ExternalVolumeSource) GetVolumeContext() map[string]string
- func (x *ExternalVolumeSource) GetVolumeType() string
- func (*ExternalVolumeSource) ProtoMessage()
- func (x *ExternalVolumeSource) ProtoReflect() protoreflect.Message
- func (x *ExternalVolumeSource) Reset()
- func (x *ExternalVolumeSource) 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 ImageVolumeSource
- type LocalCheckpointConfiguration
- func (*LocalCheckpointConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *LocalCheckpointConfiguration) GetSnapshotName() string
- func (*LocalCheckpointConfiguration) ProtoMessage()
- func (x *LocalCheckpointConfiguration) ProtoReflect() protoreflect.Message
- func (x *LocalCheckpointConfiguration) Reset()
- func (x *LocalCheckpointConfiguration) String() string
- type MintActorCertificateRequest
- func (*MintActorCertificateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MintActorCertificateRequest) GetCertificateSigningRequest() []byte
- func (x *MintActorCertificateRequest) GetExpectedActorUid() string
- func (*MintActorCertificateRequest) ProtoMessage()
- func (x *MintActorCertificateRequest) ProtoReflect() protoreflect.Message
- func (x *MintActorCertificateRequest) Reset()
- func (x *MintActorCertificateRequest) String() string
- type MintActorCertificateResponse
- func (*MintActorCertificateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MintActorCertificateResponse) GetActorCertificates() [][]byte
- func (*MintActorCertificateResponse) ProtoMessage()
- func (x *MintActorCertificateResponse) ProtoReflect() protoreflect.Message
- func (x *MintActorCertificateResponse) Reset()
- func (x *MintActorCertificateResponse) String() string
- type Readyz
- type ResourceLimits
- func (*ResourceLimits) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceLimits) GetCpuMillis() int64
- func (x *ResourceLimits) GetMemoryBytes() int64
- func (*ResourceLimits) ProtoMessage()
- func (x *ResourceLimits) ProtoReflect() protoreflect.Message
- func (x *ResourceLimits) Reset()
- func (x *ResourceLimits) String() string
- type RestoreRequest
- func (*RestoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreRequest) GetActorName() string
- func (x *RestoreRequest) GetActorTemplateAtespace() string
- func (x *RestoreRequest) GetActorTemplateName() string
- func (x *RestoreRequest) GetActorUid() string
- func (x *RestoreRequest) GetAtespace() string
- func (x *RestoreRequest) GetConfig() isRestoreRequest_Config
- func (x *RestoreRequest) GetCpuMilli() int64
- func (x *RestoreRequest) GetEgressGateway() *EgressGateway
- func (x *RestoreRequest) GetExternalConfig() *ExternalCheckpointConfiguration
- func (x *RestoreRequest) GetGoldenSnapshotUri() string
- func (x *RestoreRequest) GetLocalConfig() *LocalCheckpointConfiguration
- func (x *RestoreRequest) GetMemoryBytes() int64
- func (x *RestoreRequest) GetScope() SnapshotScope
- func (x *RestoreRequest) GetSpec() *WorkloadSpec
- func (x *RestoreRequest) GetTargetAteomUid() string
- func (x *RestoreRequest) GetType() CheckpointType
- func (*RestoreRequest) ProtoMessage()
- func (x *RestoreRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreRequest) Reset()
- func (x *RestoreRequest) String() string
- type RestoreRequest_ExternalConfig
- type RestoreRequest_LocalConfig
- type RestoreResponse
- type RunRequest
- func (*RunRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunRequest) GetActorName() string
- func (x *RunRequest) GetActorTemplateAtespace() string
- func (x *RunRequest) GetActorTemplateName() string
- func (x *RunRequest) GetActorUid() string
- func (x *RunRequest) GetAtespace() string
- func (x *RunRequest) GetCpuMilli() int64
- func (x *RunRequest) GetEgressGateway() *EgressGateway
- func (x *RunRequest) GetMemoryBytes() int64
- func (x *RunRequest) GetSandboxAssets() *SandboxAssets
- func (x *RunRequest) GetSpec() *WorkloadSpec
- func (x *RunRequest) GetTargetAteomUid() string
- func (*RunRequest) ProtoMessage()
- func (x *RunRequest) ProtoReflect() protoreflect.Message
- func (x *RunRequest) Reset()
- func (x *RunRequest) String() string
- type RunResponse
- type SandboxAssets
- func (*SandboxAssets) Descriptor() ([]byte, []int)deprecated
- func (x *SandboxAssets) GetAssets() map[string]*ArchAssets
- func (x *SandboxAssets) GetPauseImage() string
- func (x *SandboxAssets) GetSandboxClass() string
- func (*SandboxAssets) ProtoMessage()
- func (x *SandboxAssets) ProtoReflect() protoreflect.Message
- func (x *SandboxAssets) Reset()
- func (x *SandboxAssets) String() string
- type SecurityContext
- type SetWorkerCapacityRequest
- func (*SetWorkerCapacityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetWorkerCapacityRequest) GetCapacity() *ateapipb.WorkerResources
- func (*SetWorkerCapacityRequest) ProtoMessage()
- func (x *SetWorkerCapacityRequest) ProtoReflect() protoreflect.Message
- func (x *SetWorkerCapacityRequest) Reset()
- func (x *SetWorkerCapacityRequest) String() string
- type SetWorkerCapacityResponse
- type SnapshotScope
- func (SnapshotScope) Descriptor() protoreflect.EnumDescriptor
- func (x SnapshotScope) Enum() *SnapshotScope
- func (SnapshotScope) EnumDescriptor() ([]byte, []int)deprecated
- func (x SnapshotScope) Number() protoreflect.EnumNumber
- func (x SnapshotScope) String() string
- func (SnapshotScope) Type() protoreflect.EnumType
- type SystemInfoDataSource
- func (*SystemInfoDataSource) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfoDataSource) GetActorMetadata() *ActorMetadataDataSource
- func (x *SystemInfoDataSource) GetDataSource() isSystemInfoDataSource_DataSource
- func (x *SystemInfoDataSource) GetTrustBundle() *TrustBundleDataSource
- func (*SystemInfoDataSource) ProtoMessage()
- func (x *SystemInfoDataSource) ProtoReflect() protoreflect.Message
- func (x *SystemInfoDataSource) Reset()
- func (x *SystemInfoDataSource) String() string
- type SystemInfoDataSource_ActorMetadata
- type SystemInfoDataSource_TrustBundle
- type SystemInfoVolume
- func (*SystemInfoVolume) Descriptor() ([]byte, []int)deprecated
- func (x *SystemInfoVolume) GetDataSources() []*SystemInfoDataSource
- func (*SystemInfoVolume) ProtoMessage()
- func (x *SystemInfoVolume) ProtoReflect() protoreflect.Message
- func (x *SystemInfoVolume) Reset()
- func (x *SystemInfoVolume) String() string
- type TerminateRequest
- func (*TerminateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TerminateRequest) GetActorName() string
- func (x *TerminateRequest) GetActorTemplateAtespace() string
- func (x *TerminateRequest) GetActorTemplateName() string
- func (x *TerminateRequest) GetActorUid() string
- func (x *TerminateRequest) GetAtespace() string
- func (x *TerminateRequest) GetSpec() *WorkloadSpec
- func (x *TerminateRequest) GetTargetAteomUid() string
- func (*TerminateRequest) ProtoMessage()
- func (x *TerminateRequest) ProtoReflect() protoreflect.Message
- func (x *TerminateRequest) Reset()
- func (x *TerminateRequest) String() string
- type TerminateResponse
- type TrustBundleDataSource
- func (*TrustBundleDataSource) Descriptor() ([]byte, []int)deprecated
- func (x *TrustBundleDataSource) GetName() 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 UnimplementedAteomHerderServer
- func (UnimplementedAteomHerderServer) Checkpoint(context.Context, *CheckpointRequest) (*CheckpointResponse, error)
- func (UnimplementedAteomHerderServer) Restore(context.Context, *RestoreRequest) (*RestoreResponse, error)
- func (UnimplementedAteomHerderServer) Run(context.Context, *RunRequest) (*RunResponse, error)
- func (UnimplementedAteomHerderServer) Terminate(context.Context, *TerminateRequest) (*TerminateResponse, error)
- func (UnimplementedAteomHerderServer) UploadPausedCheckpoint(context.Context, *UploadPausedCheckpointRequest) (*UploadPausedCheckpointResponse, error)
- type UnimplementedCredentialBrokerServer
- type UnimplementedWorkerCapacityServer
- type UnsafeAteomHerderServer
- type UnsafeCredentialBrokerServer
- type UnsafeWorkerCapacityServer
- type UploadPausedCheckpointRequest
- func (*UploadPausedCheckpointRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadPausedCheckpointRequest) GetActorName() string
- func (x *UploadPausedCheckpointRequest) GetActorTemplateAtespace() string
- func (x *UploadPausedCheckpointRequest) GetActorTemplateName() string
- func (x *UploadPausedCheckpointRequest) GetActorUid() string
- func (x *UploadPausedCheckpointRequest) GetAtespace() string
- func (x *UploadPausedCheckpointRequest) GetDesiredScope() SnapshotScope
- func (x *UploadPausedCheckpointRequest) GetDestinationSnapshotUri() string
- func (x *UploadPausedCheckpointRequest) GetLocalSnapshotName() string
- func (*UploadPausedCheckpointRequest) ProtoMessage()
- func (x *UploadPausedCheckpointRequest) ProtoReflect() protoreflect.Message
- func (x *UploadPausedCheckpointRequest) Reset()
- func (x *UploadPausedCheckpointRequest) String() string
- type UploadPausedCheckpointResponse
- func (*UploadPausedCheckpointResponse) Descriptor() ([]byte, []int)deprecated
- func (*UploadPausedCheckpointResponse) ProtoMessage()
- func (x *UploadPausedCheckpointResponse) ProtoReflect() protoreflect.Message
- func (x *UploadPausedCheckpointResponse) Reset()
- func (x *UploadPausedCheckpointResponse) String() string
- type Volume
- func (*Volume) Descriptor() ([]byte, []int)deprecated
- func (x *Volume) GetDurableDir() *DurableDirVolume
- func (x *Volume) GetExternal() *ExternalVolumeSource
- func (x *Volume) GetImage() *ImageVolumeSource
- func (x *Volume) GetName() string
- func (x *Volume) GetSource() isVolume_Source
- func (x *Volume) GetSystemInfo() *SystemInfoVolume
- 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 Volume_DurableDir
- type Volume_External
- type Volume_Image
- type Volume_SystemInfo
- type WorkerCapacityClient
- type WorkerCapacityServer
- type WorkloadSpec
- func (*WorkloadSpec) Descriptor() ([]byte, []int)deprecated
- func (x *WorkloadSpec) GetContainers() []*Container
- func (x *WorkloadSpec) GetVolumes() []*Volume
- func (*WorkloadSpec) ProtoMessage()
- func (x *WorkloadSpec) ProtoReflect() protoreflect.Message
- func (x *WorkloadSpec) Reset()
- func (x *WorkloadSpec) String() string
Constants ¶
const ( AteomHerder_Run_FullMethodName = "/atelet.AteomHerder/Run" AteomHerder_Checkpoint_FullMethodName = "/atelet.AteomHerder/Checkpoint" AteomHerder_Restore_FullMethodName = "/atelet.AteomHerder/Restore" AteomHerder_UploadPausedCheckpoint_FullMethodName = "/atelet.AteomHerder/UploadPausedCheckpoint" AteomHerder_Terminate_FullMethodName = "/atelet.AteomHerder/Terminate" )
const (
CredentialBroker_MintActorCertificate_FullMethodName = "/atelet.CredentialBroker/MintActorCertificate"
)
const (
WorkerCapacity_SetWorkerCapacity_FullMethodName = "/atelet.WorkerCapacity/SetWorkerCapacity"
)
Variables ¶
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 ( CheckpointType_name = map[int32]string{ 0: "CHECKPOINT_TYPE_UNSPECIFIED", 1: "CHECKPOINT_TYPE_LOCAL", 2: "CHECKPOINT_TYPE_EXTERNAL", } CheckpointType_value = map[string]int32{ "CHECKPOINT_TYPE_UNSPECIFIED": 0, "CHECKPOINT_TYPE_LOCAL": 1, "CHECKPOINT_TYPE_EXTERNAL": 2, } )
Enum value maps for CheckpointType.
var ( SnapshotScope_name = map[int32]string{ 0: "SNAPSHOT_SCOPE_UNSPECIFIED", 1: "SNAPSHOT_SCOPE_FULL", 2: "SNAPSHOT_SCOPE_DATA", 3: "SNAPSHOT_SCOPE_DATA_ON_GOLDEN", } SnapshotScope_value = map[string]int32{ "SNAPSHOT_SCOPE_UNSPECIFIED": 0, "SNAPSHOT_SCOPE_FULL": 1, "SNAPSHOT_SCOPE_DATA": 2, "SNAPSHOT_SCOPE_DATA_ON_GOLDEN": 3, } )
Enum value maps for SnapshotScope.
var AteomHerder_ServiceDesc = grpc.ServiceDesc{ ServiceName: "atelet.AteomHerder", HandlerType: (*AteomHerderServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Run", Handler: _AteomHerder_Run_Handler, }, { MethodName: "Checkpoint", Handler: _AteomHerder_Checkpoint_Handler, }, { MethodName: "Restore", Handler: _AteomHerder_Restore_Handler, }, { MethodName: "UploadPausedCheckpoint", Handler: _AteomHerder_UploadPausedCheckpoint_Handler, }, { MethodName: "Terminate", Handler: _AteomHerder_Terminate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "atelet.proto", }
AteomHerder_ServiceDesc is the grpc.ServiceDesc for AteomHerder service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var CredentialBroker_ServiceDesc = grpc.ServiceDesc{ ServiceName: "atelet.CredentialBroker", HandlerType: (*CredentialBrokerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "MintActorCertificate", Handler: _CredentialBroker_MintActorCertificate_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "atelet.proto", }
CredentialBroker_ServiceDesc is the grpc.ServiceDesc for CredentialBroker service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_atelet_proto protoreflect.FileDescriptor
var WorkerCapacity_ServiceDesc = grpc.ServiceDesc{ ServiceName: "atelet.WorkerCapacity", HandlerType: (*WorkerCapacityServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SetWorkerCapacity", Handler: _WorkerCapacity_SetWorkerCapacity_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "atelet.proto", }
WorkerCapacity_ServiceDesc is the grpc.ServiceDesc for WorkerCapacity service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAteomHerderServer ¶
func RegisterAteomHerderServer(s grpc.ServiceRegistrar, srv AteomHerderServer)
func RegisterCredentialBrokerServer ¶
func RegisterCredentialBrokerServer(s grpc.ServiceRegistrar, srv CredentialBrokerServer)
func RegisterWorkerCapacityServer ¶
func RegisterWorkerCapacityServer(s grpc.ServiceRegistrar, srv WorkerCapacityServer)
Types ¶
type ActorMetadataDataSource ¶
type ActorMetadataDataSource struct {
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. Values are written raw with no trailing newline.
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 )
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 {
Field ActorMetadataField `protobuf:"varint,1,opt,name=field,proto3,enum=atelet.ActorMetadataField" json:"field,omitempty"`
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
// contains filtered or unexported fields
}
ActorMetadataItem projects one actor identity field to one file at the given path, relative to the root of the enclosing system-info 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 ArchAssets ¶
type ArchAssets struct {
Files map[string]*AssetFile `` // asset name -> file
/* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
ArchAssets is the set of assets for a single architecture, keyed by asset name (a wrapper message because proto map values cannot themselves be maps).
func (*ArchAssets) Descriptor
deprecated
func (*ArchAssets) Descriptor() ([]byte, []int)
Deprecated: Use ArchAssets.ProtoReflect.Descriptor instead.
func (*ArchAssets) GetFiles ¶
func (x *ArchAssets) GetFiles() map[string]*AssetFile
func (*ArchAssets) ProtoMessage ¶
func (*ArchAssets) ProtoMessage()
func (*ArchAssets) ProtoReflect ¶
func (x *ArchAssets) ProtoReflect() protoreflect.Message
func (*ArchAssets) Reset ¶
func (x *ArchAssets) Reset()
func (*ArchAssets) String ¶
func (x *ArchAssets) String() string
type AssetFile ¶
type AssetFile struct {
// gs:// URL to download the asset from.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Lower-case hex SHA256; names the cached file and verifies its integrity.
Sha256 string `protobuf:"bytes,2,opt,name=sha256,proto3" json:"sha256,omitempty"`
// contains filtered or unexported fields
}
AssetFile is one content-addressed file atelet fetches for a sandbox runtime (e.g. the gVisor release tarball).
func (*AssetFile) Descriptor
deprecated
func (*AssetFile) ProtoMessage ¶
func (*AssetFile) ProtoMessage()
func (*AssetFile) ProtoReflect ¶
func (x *AssetFile) ProtoReflect() protoreflect.Message
type AteomHerderClient ¶
type AteomHerderClient interface {
// Run tells atelet to create a new containerized workload from scratch on an
// ateom.
Run(ctx context.Context, in *RunRequest, opts ...grpc.CallOption) (*RunResponse, error)
// Checkpoint tells atelet to save the current state of the workload on an
// ateom to object storage, and then completely the ateom to a blank state
// (back to "available" state.)
Checkpoint(ctx context.Context, in *CheckpointRequest, opts ...grpc.CallOption) (*CheckpointResponse, error)
// Restore restores a workload from checkpoint onto an ateom.
Restore(ctx context.Context, in *RestoreRequest, opts ...grpc.CallOption) (*RestoreResponse, error)
// UploadPausedCheckpoint copies a local (pause) checkpoint from this node's
// disk to object storage. Unlike Checkpoint it drives no ateom: the actor is
// paused, its sandbox is gone; the checkpoint files plus their manifest
// already sit under the actor's local-checkpoints directory.
UploadPausedCheckpoint(ctx context.Context, in *UploadPausedCheckpointRequest, opts ...grpc.CallOption) (*UploadPausedCheckpointResponse, error)
// Terminate tells atelet to terminate/kill any running workload for an actor,
// unmount its volumes, and clean up actor state on the node.
Terminate(ctx context.Context, in *TerminateRequest, opts ...grpc.CallOption) (*TerminateResponse, error)
}
AteomHerderClient is the client API for AteomHerder service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAteomHerderClient ¶
func NewAteomHerderClient(cc grpc.ClientConnInterface) AteomHerderClient
type AteomHerderServer ¶
type AteomHerderServer interface {
// Run tells atelet to create a new containerized workload from scratch on an
// ateom.
Run(context.Context, *RunRequest) (*RunResponse, error)
// Checkpoint tells atelet to save the current state of the workload on an
// ateom to object storage, and then completely the ateom to a blank state
// (back to "available" state.)
Checkpoint(context.Context, *CheckpointRequest) (*CheckpointResponse, error)
// Restore restores a workload from checkpoint onto an ateom.
Restore(context.Context, *RestoreRequest) (*RestoreResponse, error)
// UploadPausedCheckpoint copies a local (pause) checkpoint from this node's
// disk to object storage. Unlike Checkpoint it drives no ateom: the actor is
// paused, its sandbox is gone; the checkpoint files plus their manifest
// already sit under the actor's local-checkpoints directory.
UploadPausedCheckpoint(context.Context, *UploadPausedCheckpointRequest) (*UploadPausedCheckpointResponse, error)
// Terminate tells atelet to terminate/kill any running workload for an actor,
// unmount its volumes, and clean up actor state on the node.
Terminate(context.Context, *TerminateRequest) (*TerminateResponse, error)
// contains filtered or unexported methods
}
AteomHerderServer is the server API for AteomHerder service. All implementations must embed UnimplementedAteomHerderServer for forward compatibility.
type Capabilities ¶
type Capabilities struct {
Add []string `protobuf:"bytes,1,rep,name=add,proto3" json:"add,omitempty"`
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. Names carry no "CAP_" prefix; drop applies before add.
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 CheckpointRequest ¶
type CheckpointRequest struct {
TargetAteomUid string `protobuf:"bytes,1,opt,name=target_ateom_uid,json=targetAteomUid,proto3" json:"target_ateom_uid,omitempty"`
Atespace string `protobuf:"bytes,2,opt,name=atespace,proto3" json:"atespace,omitempty"`
ActorName string `protobuf:"bytes,3,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"`
ActorUid string `protobuf:"bytes,4,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
ActorTemplateAtespace string `` /* 126-byte string literal not displayed */
ActorTemplateName string `protobuf:"bytes,6,opt,name=actor_template_name,json=actorTemplateName,proto3" json:"actor_template_name,omitempty"`
// Sandbox binary config is not sent on checkpoint: atelet uses the version the
// actor is currently running (recorded with the actor's on-node state at
// Run/Restore) and records it into the snapshot manifest.
Spec *WorkloadSpec `protobuf:"bytes,7,opt,name=spec,proto3" json:"spec,omitempty"`
Type CheckpointType `protobuf:"varint,8,opt,name=type,proto3,enum=atelet.CheckpointType" json:"type,omitempty"`
// The checkpoint configuration, depending on the type.
//
// Types that are valid to be assigned to Config:
//
// *CheckpointRequest_LocalConfig
// *CheckpointRequest_ExternalConfig
Config isCheckpointRequest_Config `protobuf_oneof:"config"`
// What should be included in the checkpoint.
Scope SnapshotScope `protobuf:"varint,11,opt,name=scope,proto3,enum=atelet.SnapshotScope" json:"scope,omitempty"`
// contains filtered or unexported fields
}
func (*CheckpointRequest) Descriptor
deprecated
func (*CheckpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointRequest.ProtoReflect.Descriptor instead.
func (*CheckpointRequest) GetActorName ¶
func (x *CheckpointRequest) GetActorName() string
func (*CheckpointRequest) GetActorTemplateAtespace ¶
func (x *CheckpointRequest) GetActorTemplateAtespace() string
func (*CheckpointRequest) GetActorTemplateName ¶
func (x *CheckpointRequest) GetActorTemplateName() string
func (*CheckpointRequest) GetActorUid ¶
func (x *CheckpointRequest) GetActorUid() string
func (*CheckpointRequest) GetAtespace ¶
func (x *CheckpointRequest) GetAtespace() string
func (*CheckpointRequest) GetConfig ¶
func (x *CheckpointRequest) GetConfig() isCheckpointRequest_Config
func (*CheckpointRequest) GetExternalConfig ¶
func (x *CheckpointRequest) GetExternalConfig() *ExternalCheckpointConfiguration
func (*CheckpointRequest) GetLocalConfig ¶
func (x *CheckpointRequest) GetLocalConfig() *LocalCheckpointConfiguration
func (*CheckpointRequest) GetScope ¶
func (x *CheckpointRequest) GetScope() SnapshotScope
func (*CheckpointRequest) GetSpec ¶
func (x *CheckpointRequest) GetSpec() *WorkloadSpec
func (*CheckpointRequest) GetTargetAteomUid ¶
func (x *CheckpointRequest) GetTargetAteomUid() string
func (*CheckpointRequest) GetType ¶
func (x *CheckpointRequest) GetType() CheckpointType
func (*CheckpointRequest) ProtoMessage ¶
func (*CheckpointRequest) ProtoMessage()
func (*CheckpointRequest) ProtoReflect ¶
func (x *CheckpointRequest) ProtoReflect() protoreflect.Message
func (*CheckpointRequest) Reset ¶
func (x *CheckpointRequest) Reset()
func (*CheckpointRequest) String ¶
func (x *CheckpointRequest) String() string
type CheckpointRequest_ExternalConfig ¶
type CheckpointRequest_ExternalConfig struct {
ExternalConfig *ExternalCheckpointConfiguration `protobuf:"bytes,10,opt,name=external_config,json=externalConfig,proto3,oneof"`
}
type CheckpointRequest_LocalConfig ¶
type CheckpointRequest_LocalConfig struct {
LocalConfig *LocalCheckpointConfiguration `protobuf:"bytes,9,opt,name=local_config,json=localConfig,proto3,oneof"`
}
type CheckpointResponse ¶
type CheckpointResponse struct {
// contains filtered or unexported fields
}
func (*CheckpointResponse) Descriptor
deprecated
func (*CheckpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointResponse.ProtoReflect.Descriptor instead.
func (*CheckpointResponse) ProtoMessage ¶
func (*CheckpointResponse) ProtoMessage()
func (*CheckpointResponse) ProtoReflect ¶
func (x *CheckpointResponse) ProtoReflect() protoreflect.Message
func (*CheckpointResponse) Reset ¶
func (x *CheckpointResponse) Reset()
func (*CheckpointResponse) String ¶
func (x *CheckpointResponse) String() string
type CheckpointType ¶
type CheckpointType int32
const ( // Should never happen CheckpointType_CHECKPOINT_TYPE_UNSPECIFIED CheckpointType = 0 // Save snapshot only in local filesystem CheckpointType_CHECKPOINT_TYPE_LOCAL CheckpointType = 1 // Save snapshot to object storage CheckpointType_CHECKPOINT_TYPE_EXTERNAL CheckpointType = 2 )
func (CheckpointType) Descriptor ¶
func (CheckpointType) Descriptor() protoreflect.EnumDescriptor
func (CheckpointType) Enum ¶
func (x CheckpointType) Enum() *CheckpointType
func (CheckpointType) EnumDescriptor
deprecated
func (CheckpointType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CheckpointType.Descriptor instead.
func (CheckpointType) Number ¶
func (x CheckpointType) Number() protoreflect.EnumNumber
func (CheckpointType) String ¶
func (x CheckpointType) String() string
func (CheckpointType) Type ¶
func (CheckpointType) Type() protoreflect.EnumType
type Container ¶
type Container struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Image string `protobuf:"bytes,2,opt,name=image,proto3" json:"image,omitempty"`
Command []string `protobuf:"bytes,3,rep,name=command,proto3" json:"command,omitempty"`
Args []string `protobuf:"bytes,7,rep,name=args,proto3" json:"args,omitempty"`
Env []*EnvEntry `protobuf:"bytes,4,rep,name=env,proto3" json:"env,omitempty"`
Readyz *Readyz `protobuf:"bytes,5,opt,name=readyz,proto3" json:"readyz,omitempty"`
VolumeMounts []*VolumeMount `protobuf:"bytes,6,rep,name=volume_mounts,json=volumeMounts,proto3" json:"volume_mounts,omitempty"`
SecurityContext *SecurityContext `protobuf:"bytes,8,opt,name=security_context,json=securityContext,proto3" json:"security_context,omitempty"`
// resources are the cgroup limits for this container, resolved by
// ate-api-server from the ActorTemplate. Unset means no limits.
Resources *ResourceLimits `protobuf:"bytes,9,opt,name=resources,proto3" json:"resources,omitempty"`
// contains filtered or unexported fields
}
func (*Container) Descriptor
deprecated
func (*Container) GetCommand ¶
func (*Container) GetResources ¶
func (x *Container) GetResources() *ResourceLimits
func (*Container) GetSecurityContext ¶
func (x *Container) GetSecurityContext() *SecurityContext
func (*Container) GetVolumeMounts ¶
func (x *Container) GetVolumeMounts() []*VolumeMount
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
type CredentialBrokerClient ¶
type CredentialBrokerClient interface {
MintActorCertificate(ctx context.Context, in *MintActorCertificateRequest, opts ...grpc.CallOption) (*MintActorCertificateResponse, error)
}
CredentialBrokerClient is the client API for CredentialBroker 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.
CredentialBroker gives an authenticated worker its current actor credential.
func NewCredentialBrokerClient ¶
func NewCredentialBrokerClient(cc grpc.ClientConnInterface) CredentialBrokerClient
type CredentialBrokerServer ¶
type CredentialBrokerServer interface {
MintActorCertificate(context.Context, *MintActorCertificateRequest) (*MintActorCertificateResponse, error)
// contains filtered or unexported methods
}
CredentialBrokerServer is the server API for CredentialBroker service. All implementations must embed UnimplementedCredentialBrokerServer for forward compatibility.
CredentialBroker gives an authenticated worker its current actor credential.
type DurableDirVolume ¶
type DurableDirVolume struct {
// contains filtered or unexported fields
}
func (*DurableDirVolume) Descriptor
deprecated
func (*DurableDirVolume) Descriptor() ([]byte, []int)
Deprecated: Use DurableDirVolume.ProtoReflect.Descriptor instead.
func (*DurableDirVolume) ProtoMessage ¶
func (*DurableDirVolume) ProtoMessage()
func (*DurableDirVolume) ProtoReflect ¶
func (x *DurableDirVolume) ProtoReflect() protoreflect.Message
func (*DurableDirVolume) Reset ¶
func (x *DurableDirVolume) Reset()
func (*DurableDirVolume) String ¶
func (x *DurableDirVolume) String() string
type EgressGateway ¶
type EgressGateway struct {
// address is required and identifies the remote gateway as an IP address or
// DNS name followed by its port.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
EgressGateway configures tunneled egress for one actor activation.
func (*EgressGateway) Descriptor
deprecated
func (*EgressGateway) Descriptor() ([]byte, []int)
Deprecated: Use EgressGateway.ProtoReflect.Descriptor instead.
func (*EgressGateway) GetAddress ¶
func (x *EgressGateway) GetAddress() string
func (*EgressGateway) ProtoMessage ¶
func (*EgressGateway) ProtoMessage()
func (*EgressGateway) ProtoReflect ¶
func (x *EgressGateway) ProtoReflect() protoreflect.Message
func (*EgressGateway) Reset ¶
func (x *EgressGateway) Reset()
func (*EgressGateway) String ¶
func (x *EgressGateway) String() string
type EnvEntry ¶
type EnvEntry struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*EnvEntry) Descriptor
deprecated
func (*EnvEntry) ProtoMessage ¶
func (*EnvEntry) ProtoMessage()
func (*EnvEntry) ProtoReflect ¶
func (x *EnvEntry) ProtoReflect() protoreflect.Message
type ExternalCheckpointConfiguration ¶
type ExternalCheckpointConfiguration struct {
// The object storage URI of the snapshot to write. Object names are appended
// to it, so it addresses the snapshot as a whole rather than any one object.
SnapshotUri string `protobuf:"bytes,1,opt,name=snapshot_uri,json=snapshotUri,proto3" json:"snapshot_uri,omitempty"`
// contains filtered or unexported fields
}
func (*ExternalCheckpointConfiguration) Descriptor
deprecated
func (*ExternalCheckpointConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use ExternalCheckpointConfiguration.ProtoReflect.Descriptor instead.
func (*ExternalCheckpointConfiguration) GetSnapshotUri ¶
func (x *ExternalCheckpointConfiguration) GetSnapshotUri() string
func (*ExternalCheckpointConfiguration) ProtoMessage ¶
func (*ExternalCheckpointConfiguration) ProtoMessage()
func (*ExternalCheckpointConfiguration) ProtoReflect ¶
func (x *ExternalCheckpointConfiguration) ProtoReflect() protoreflect.Message
func (*ExternalCheckpointConfiguration) Reset ¶
func (x *ExternalCheckpointConfiguration) Reset()
func (*ExternalCheckpointConfiguration) String ¶
func (x *ExternalCheckpointConfiguration) String() string
type ExternalVolumeSource ¶
type ExternalVolumeSource struct {
StorageVolumeId string `protobuf:"bytes,1,opt,name=storage_volume_id,json=storageVolumeId,proto3" json:"storage_volume_id,omitempty"`
VolumeType string `protobuf:"bytes,2,opt,name=volume_type,json=volumeType,proto3" json:"volume_type,omitempty"`
VolumeContext map[string]string `` /* 174-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*ExternalVolumeSource) Descriptor
deprecated
func (*ExternalVolumeSource) Descriptor() ([]byte, []int)
Deprecated: Use ExternalVolumeSource.ProtoReflect.Descriptor instead.
func (*ExternalVolumeSource) GetStorageVolumeId ¶
func (x *ExternalVolumeSource) GetStorageVolumeId() string
func (*ExternalVolumeSource) GetVolumeContext ¶
func (x *ExternalVolumeSource) GetVolumeContext() map[string]string
func (*ExternalVolumeSource) GetVolumeType ¶
func (x *ExternalVolumeSource) GetVolumeType() string
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 HTTPGetAction ¶
type HTTPGetAction struct {
// Path to access on the HTTP server. Empty means "/readyz".
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
// TCP port to connect to (1..65535).
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// contains filtered or unexported fields
}
HTTPGetAction performs an HTTP GET against the container.
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 ImageVolumeSource ¶
type ImageVolumeSource struct {
Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
// contains filtered or unexported fields
}
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 LocalCheckpointConfiguration ¶
type LocalCheckpointConfiguration struct {
// Names a sub-directory on the local filesystem below which the checkpoint
// data will be stored. atelet decides where that directory lives, from the
// actor's UID, so this is a bare name and must not contain a path separator.
// The structure of the checkpoint should generally be treated as opaque.
SnapshotName string `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
// contains filtered or unexported fields
}
func (*LocalCheckpointConfiguration) Descriptor
deprecated
func (*LocalCheckpointConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use LocalCheckpointConfiguration.ProtoReflect.Descriptor instead.
func (*LocalCheckpointConfiguration) GetSnapshotName ¶
func (x *LocalCheckpointConfiguration) GetSnapshotName() string
func (*LocalCheckpointConfiguration) ProtoMessage ¶
func (*LocalCheckpointConfiguration) ProtoMessage()
func (*LocalCheckpointConfiguration) ProtoReflect ¶
func (x *LocalCheckpointConfiguration) ProtoReflect() protoreflect.Message
func (*LocalCheckpointConfiguration) Reset ¶
func (x *LocalCheckpointConfiguration) Reset()
func (*LocalCheckpointConfiguration) String ¶
func (x *LocalCheckpointConfiguration) String() string
type MintActorCertificateRequest ¶
type MintActorCertificateRequest struct {
// DER-encoded PKCS #10 certificate signing request. Atunnel retains the
// corresponding private key.
CertificateSigningRequest []byte `` /* 138-byte string literal not displayed */
// Actor incarnation this activation expects. Ateapi resolves the actor from
// the authenticated worker and rejects the request if its UID differs.
ExpectedActorUid string `protobuf:"bytes,2,opt,name=expected_actor_uid,json=expectedActorUid,proto3" json:"expected_actor_uid,omitempty"`
// contains filtered or unexported fields
}
func (*MintActorCertificateRequest) Descriptor
deprecated
func (*MintActorCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use MintActorCertificateRequest.ProtoReflect.Descriptor instead.
func (*MintActorCertificateRequest) GetCertificateSigningRequest ¶
func (x *MintActorCertificateRequest) GetCertificateSigningRequest() []byte
func (*MintActorCertificateRequest) GetExpectedActorUid ¶
func (x *MintActorCertificateRequest) GetExpectedActorUid() string
func (*MintActorCertificateRequest) ProtoMessage ¶
func (*MintActorCertificateRequest) ProtoMessage()
func (*MintActorCertificateRequest) ProtoReflect ¶
func (x *MintActorCertificateRequest) ProtoReflect() protoreflect.Message
func (*MintActorCertificateRequest) Reset ¶
func (x *MintActorCertificateRequest) Reset()
func (*MintActorCertificateRequest) String ¶
func (x *MintActorCertificateRequest) String() string
type MintActorCertificateResponse ¶
type MintActorCertificateResponse struct {
// DER-encoded leaf followed by any intermediate certificates.
ActorCertificates [][]byte `protobuf:"bytes,1,rep,name=actor_certificates,json=actorCertificates,proto3" json:"actor_certificates,omitempty"`
// contains filtered or unexported fields
}
func (*MintActorCertificateResponse) Descriptor
deprecated
func (*MintActorCertificateResponse) Descriptor() ([]byte, []int)
Deprecated: Use MintActorCertificateResponse.ProtoReflect.Descriptor instead.
func (*MintActorCertificateResponse) GetActorCertificates ¶
func (x *MintActorCertificateResponse) GetActorCertificates() [][]byte
func (*MintActorCertificateResponse) ProtoMessage ¶
func (*MintActorCertificateResponse) ProtoMessage()
func (*MintActorCertificateResponse) ProtoReflect ¶
func (x *MintActorCertificateResponse) ProtoReflect() protoreflect.Message
func (*MintActorCertificateResponse) Reset ¶
func (x *MintActorCertificateResponse) Reset()
func (*MintActorCertificateResponse) String ¶
func (x *MintActorCertificateResponse) String() string
type Readyz ¶
type Readyz struct {
HttpGet *HTTPGetAction `protobuf:"bytes,1,opt,name=http_get,json=httpGet,proto3" json:"http_get,omitempty"`
// How long to keep polling before giving up and failing the actor start.
// Zero means the ateom's default.
TimeoutSeconds int32 `protobuf:"varint,2,opt,name=timeout_seconds,json=timeoutSeconds,proto3" json:"timeout_seconds,omitempty"`
// contains filtered or unexported fields
}
Readyz describes how to check that a container is ready to serve. Only HTTP is supported today.
func (*Readyz) Descriptor
deprecated
func (*Readyz) GetHttpGet ¶
func (x *Readyz) GetHttpGet() *HTTPGetAction
func (*Readyz) GetTimeoutSeconds ¶
func (*Readyz) ProtoMessage ¶
func (*Readyz) ProtoMessage()
func (*Readyz) ProtoReflect ¶
func (x *Readyz) ProtoReflect() protoreflect.Message
type ResourceLimits ¶
type ResourceLimits struct {
// memory_bytes is the memory limit in bytes. 0 means unset.
MemoryBytes int64 `protobuf:"varint,1,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"`
// cpu_millis is the CPU limit in milli-cores (1000 = one core). 0 means unset.
CpuMillis int64 `protobuf:"varint,2,opt,name=cpu_millis,json=cpuMillis,proto3" json:"cpu_millis,omitempty"`
// contains filtered or unexported fields
}
ResourceLimits are the cgroup limits for one container. Scalars rather than a map so each resource.Quantity is parsed exactly once, in ate-api-server.
func (*ResourceLimits) Descriptor
deprecated
func (*ResourceLimits) Descriptor() ([]byte, []int)
Deprecated: Use ResourceLimits.ProtoReflect.Descriptor instead.
func (*ResourceLimits) GetCpuMillis ¶
func (x *ResourceLimits) GetCpuMillis() int64
func (*ResourceLimits) GetMemoryBytes ¶
func (x *ResourceLimits) GetMemoryBytes() int64
func (*ResourceLimits) ProtoMessage ¶
func (*ResourceLimits) ProtoMessage()
func (*ResourceLimits) ProtoReflect ¶
func (x *ResourceLimits) ProtoReflect() protoreflect.Message
func (*ResourceLimits) Reset ¶
func (x *ResourceLimits) Reset()
func (*ResourceLimits) String ¶
func (x *ResourceLimits) String() string
type RestoreRequest ¶
type RestoreRequest struct {
TargetAteomUid string `protobuf:"bytes,1,opt,name=target_ateom_uid,json=targetAteomUid,proto3" json:"target_ateom_uid,omitempty"`
Atespace string `protobuf:"bytes,2,opt,name=atespace,proto3" json:"atespace,omitempty"`
ActorName string `protobuf:"bytes,3,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"`
ActorUid string `protobuf:"bytes,4,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
ActorTemplateAtespace string `` /* 126-byte string literal not displayed */
ActorTemplateName string `protobuf:"bytes,6,opt,name=actor_template_name,json=actorTemplateName,proto3" json:"actor_template_name,omitempty"`
// Sandbox binary config is not sent on restore: the snapshot is
// self-describing. atelet reads the snapshot manifest to recover the pinned
// sandbox version that created it.
Spec *WorkloadSpec `protobuf:"bytes,7,opt,name=spec,proto3" json:"spec,omitempty"`
Type CheckpointType `protobuf:"varint,8,opt,name=type,proto3,enum=atelet.CheckpointType" json:"type,omitempty"`
// The checkpoint configuration, depending on the type.
//
// Types that are valid to be assigned to Config:
//
// *RestoreRequest_LocalConfig
// *RestoreRequest_ExternalConfig
Config isRestoreRequest_Config `protobuf_oneof:"config"`
// What content to restore from the checkpoint.
Scope SnapshotScope `protobuf:"varint,11,opt,name=scope,proto3,enum=atelet.SnapshotScope" json:"scope,omitempty"`
// The object storage URI of the ActorTemplate's golden snapshot.
// Set only when scope is SNAPSHOT_SCOPE_DATA_ON_GOLDEN: restore combines
// the golden snapshot (memory + full fs delta) with the durable data in
// the snapshot referenced by `config`. A top-level field rather than part
// of the `config` oneof: the actor's snapshot may be local (a pause
// checkpoint) while the golden snapshot is always external.
GoldenSnapshotUri string `protobuf:"bytes,12,opt,name=golden_snapshot_uri,json=goldenSnapshotUri,proto3" json:"golden_snapshot_uri,omitempty"`
// When absent, actor traffic uses direct egress instead of atunnel.
EgressGateway *EgressGateway `protobuf:"bytes,13,opt,name=egress_gateway,json=egressGateway,proto3,oneof" json:"egress_gateway,omitempty"`
// The actor's declared size, from the ActorTemplate's resource limits. For
// gVisor and micro-VM DATA-scope restores the sandbox is (re)sized to these;
// for a FULL micro-VM restore the size baked into the snapshot wins. Zero
// means "unset": keep the runtime default.
CpuMilli int64 `protobuf:"varint,14,opt,name=cpu_milli,json=cpuMilli,proto3" json:"cpu_milli,omitempty"` // CPU limit in millicores (1000 = one core).
MemoryBytes int64 `protobuf:"varint,15,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"` // Memory limit in bytes.
// contains filtered or unexported fields
}
func (*RestoreRequest) Descriptor
deprecated
func (*RestoreRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestoreRequest.ProtoReflect.Descriptor instead.
func (*RestoreRequest) GetActorName ¶
func (x *RestoreRequest) GetActorName() string
func (*RestoreRequest) GetActorTemplateAtespace ¶
func (x *RestoreRequest) GetActorTemplateAtespace() string
func (*RestoreRequest) GetActorTemplateName ¶
func (x *RestoreRequest) GetActorTemplateName() string
func (*RestoreRequest) GetActorUid ¶
func (x *RestoreRequest) GetActorUid() string
func (*RestoreRequest) GetAtespace ¶
func (x *RestoreRequest) GetAtespace() string
func (*RestoreRequest) GetConfig ¶
func (x *RestoreRequest) GetConfig() isRestoreRequest_Config
func (*RestoreRequest) GetCpuMilli ¶
func (x *RestoreRequest) GetCpuMilli() int64
func (*RestoreRequest) GetEgressGateway ¶
func (x *RestoreRequest) GetEgressGateway() *EgressGateway
func (*RestoreRequest) GetExternalConfig ¶
func (x *RestoreRequest) GetExternalConfig() *ExternalCheckpointConfiguration
func (*RestoreRequest) GetGoldenSnapshotUri ¶
func (x *RestoreRequest) GetGoldenSnapshotUri() string
func (*RestoreRequest) GetLocalConfig ¶
func (x *RestoreRequest) GetLocalConfig() *LocalCheckpointConfiguration
func (*RestoreRequest) GetMemoryBytes ¶
func (x *RestoreRequest) GetMemoryBytes() int64
func (*RestoreRequest) GetScope ¶
func (x *RestoreRequest) GetScope() SnapshotScope
func (*RestoreRequest) GetSpec ¶
func (x *RestoreRequest) GetSpec() *WorkloadSpec
func (*RestoreRequest) GetTargetAteomUid ¶
func (x *RestoreRequest) GetTargetAteomUid() string
func (*RestoreRequest) GetType ¶
func (x *RestoreRequest) GetType() CheckpointType
func (*RestoreRequest) ProtoMessage ¶
func (*RestoreRequest) ProtoMessage()
func (*RestoreRequest) ProtoReflect ¶
func (x *RestoreRequest) ProtoReflect() protoreflect.Message
func (*RestoreRequest) Reset ¶
func (x *RestoreRequest) Reset()
func (*RestoreRequest) String ¶
func (x *RestoreRequest) String() string
type RestoreRequest_ExternalConfig ¶
type RestoreRequest_ExternalConfig struct {
ExternalConfig *ExternalCheckpointConfiguration `protobuf:"bytes,10,opt,name=external_config,json=externalConfig,proto3,oneof"`
}
type RestoreRequest_LocalConfig ¶
type RestoreRequest_LocalConfig struct {
LocalConfig *LocalCheckpointConfiguration `protobuf:"bytes,9,opt,name=local_config,json=localConfig,proto3,oneof"`
}
type RestoreResponse ¶
type RestoreResponse struct {
// contains filtered or unexported fields
}
func (*RestoreResponse) Descriptor
deprecated
func (*RestoreResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestoreResponse.ProtoReflect.Descriptor instead.
func (*RestoreResponse) ProtoMessage ¶
func (*RestoreResponse) ProtoMessage()
func (*RestoreResponse) ProtoReflect ¶
func (x *RestoreResponse) ProtoReflect() protoreflect.Message
func (*RestoreResponse) Reset ¶
func (x *RestoreResponse) Reset()
func (*RestoreResponse) String ¶
func (x *RestoreResponse) String() string
type RunRequest ¶
type RunRequest struct {
TargetAteomUid string `protobuf:"bytes,1,opt,name=target_ateom_uid,json=targetAteomUid,proto3" json:"target_ateom_uid,omitempty"`
Atespace string `protobuf:"bytes,2,opt,name=atespace,proto3" json:"atespace,omitempty"`
ActorName string `protobuf:"bytes,3,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"`
ActorUid string `protobuf:"bytes,4,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
ActorTemplateAtespace string `` /* 126-byte string literal not displayed */
ActorTemplateName string `protobuf:"bytes,6,opt,name=actor_template_name,json=actorTemplateName,proto3" json:"actor_template_name,omitempty"`
Spec *WorkloadSpec `protobuf:"bytes,7,opt,name=spec,proto3" json:"spec,omitempty"`
// The sandbox binaries to use for booting this actor from scratch. atelet
// fetches the relevant assets and records them with the actor's on-node state
// so a later Checkpoint can pin the same version into the snapshot manifest.
SandboxAssets *SandboxAssets `protobuf:"bytes,8,opt,name=sandbox_assets,json=sandboxAssets,proto3" json:"sandbox_assets,omitempty"`
// When absent, actor traffic uses direct egress instead of atunnel.
EgressGateway *EgressGateway `protobuf:"bytes,9,opt,name=egress_gateway,json=egressGateway,proto3,oneof" json:"egress_gateway,omitempty"`
// The actor's declared size, from the ActorTemplate's resource limits. atelet
// passes these through to the sandbox so it is sized to the actor (not the
// whole host or worker pod). Zero means "unset": keep the runtime default.
CpuMilli int64 `protobuf:"varint,10,opt,name=cpu_milli,json=cpuMilli,proto3" json:"cpu_milli,omitempty"` // CPU limit in millicores (1000 = one core).
MemoryBytes int64 `protobuf:"varint,11,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"` // Memory limit in bytes.
// contains filtered or unexported fields
}
func (*RunRequest) Descriptor
deprecated
func (*RunRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunRequest.ProtoReflect.Descriptor instead.
func (*RunRequest) GetActorName ¶
func (x *RunRequest) GetActorName() string
func (*RunRequest) GetActorTemplateAtespace ¶
func (x *RunRequest) GetActorTemplateAtespace() string
func (*RunRequest) GetActorTemplateName ¶
func (x *RunRequest) GetActorTemplateName() string
func (*RunRequest) GetActorUid ¶
func (x *RunRequest) GetActorUid() string
func (*RunRequest) GetAtespace ¶
func (x *RunRequest) GetAtespace() string
func (*RunRequest) GetCpuMilli ¶
func (x *RunRequest) GetCpuMilli() int64
func (*RunRequest) GetEgressGateway ¶
func (x *RunRequest) GetEgressGateway() *EgressGateway
func (*RunRequest) GetMemoryBytes ¶
func (x *RunRequest) GetMemoryBytes() int64
func (*RunRequest) GetSandboxAssets ¶
func (x *RunRequest) GetSandboxAssets() *SandboxAssets
func (*RunRequest) GetSpec ¶
func (x *RunRequest) GetSpec() *WorkloadSpec
func (*RunRequest) GetTargetAteomUid ¶
func (x *RunRequest) GetTargetAteomUid() string
func (*RunRequest) ProtoMessage ¶
func (*RunRequest) ProtoMessage()
func (*RunRequest) ProtoReflect ¶
func (x *RunRequest) ProtoReflect() protoreflect.Message
func (*RunRequest) Reset ¶
func (x *RunRequest) Reset()
func (*RunRequest) String ¶
func (x *RunRequest) String() string
type RunResponse ¶
type RunResponse struct {
// contains filtered or unexported fields
}
func (*RunResponse) Descriptor
deprecated
func (*RunResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunResponse.ProtoReflect.Descriptor instead.
func (*RunResponse) ProtoMessage ¶
func (*RunResponse) ProtoMessage()
func (*RunResponse) ProtoReflect ¶
func (x *RunResponse) ProtoReflect() protoreflect.Message
func (*RunResponse) Reset ¶
func (x *RunResponse) Reset()
func (*RunResponse) String ¶
func (x *RunResponse) String() string
type SandboxAssets ¶
type SandboxAssets struct {
SandboxClass string `protobuf:"bytes,1,opt,name=sandbox_class,json=sandboxClass,proto3" json:"sandbox_class,omitempty"` // e.g. "gvisor"
Assets map[string]*ArchAssets `` // arch -> {name -> file}
/* 139-byte string literal not displayed */
// pause_image is the image for the sandbox's root container. Like the
// binaries above it is sandbox configuration, not workload configuration,
// and atelet pins it into the snapshot manifest so a restore rebuilds the
// sandbox from the same image.
PauseImage string `protobuf:"bytes,3,opt,name=pause_image,json=pauseImage,proto3" json:"pause_image,omitempty"`
// contains filtered or unexported fields
}
SandboxAssets is the generic, backend-agnostic description of the sandbox an actor runs in: a sandbox class, the pause image holding its namespaces, and binaries keyed first by architecture (GOARCH) and then by asset name. atelet's backend code interprets the asset names (gVisor expects "gvisor", the release tarball; legacy "runsc", a bare binary, is still accepted).
func (*SandboxAssets) Descriptor
deprecated
func (*SandboxAssets) Descriptor() ([]byte, []int)
Deprecated: Use SandboxAssets.ProtoReflect.Descriptor instead.
func (*SandboxAssets) GetAssets ¶
func (x *SandboxAssets) GetAssets() map[string]*ArchAssets
func (*SandboxAssets) GetPauseImage ¶
func (x *SandboxAssets) GetPauseImage() string
func (*SandboxAssets) GetSandboxClass ¶
func (x *SandboxAssets) GetSandboxClass() string
func (*SandboxAssets) ProtoMessage ¶
func (*SandboxAssets) ProtoMessage()
func (*SandboxAssets) ProtoReflect ¶
func (x *SandboxAssets) ProtoReflect() protoreflect.Message
func (*SandboxAssets) Reset ¶
func (x *SandboxAssets) Reset()
func (*SandboxAssets) String ¶
func (x *SandboxAssets) String() string
type SecurityContext ¶
type SecurityContext struct {
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.
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 SetWorkerCapacityRequest ¶
type SetWorkerCapacityRequest struct {
// What the worker can supply, in the same vocabulary the control plane
// records and an ActorTemplate asks in.
Capacity *ateapipb.WorkerResources `protobuf:"bytes,1,opt,name=capacity,proto3" json:"capacity,omitempty"`
// contains filtered or unexported fields
}
func (*SetWorkerCapacityRequest) Descriptor
deprecated
func (*SetWorkerCapacityRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetWorkerCapacityRequest.ProtoReflect.Descriptor instead.
func (*SetWorkerCapacityRequest) GetCapacity ¶
func (x *SetWorkerCapacityRequest) GetCapacity() *ateapipb.WorkerResources
func (*SetWorkerCapacityRequest) ProtoMessage ¶
func (*SetWorkerCapacityRequest) ProtoMessage()
func (*SetWorkerCapacityRequest) ProtoReflect ¶
func (x *SetWorkerCapacityRequest) ProtoReflect() protoreflect.Message
func (*SetWorkerCapacityRequest) Reset ¶
func (x *SetWorkerCapacityRequest) Reset()
func (*SetWorkerCapacityRequest) String ¶
func (x *SetWorkerCapacityRequest) String() string
type SetWorkerCapacityResponse ¶
type SetWorkerCapacityResponse struct {
// contains filtered or unexported fields
}
func (*SetWorkerCapacityResponse) Descriptor
deprecated
func (*SetWorkerCapacityResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetWorkerCapacityResponse.ProtoReflect.Descriptor instead.
func (*SetWorkerCapacityResponse) ProtoMessage ¶
func (*SetWorkerCapacityResponse) ProtoMessage()
func (*SetWorkerCapacityResponse) ProtoReflect ¶
func (x *SetWorkerCapacityResponse) ProtoReflect() protoreflect.Message
func (*SetWorkerCapacityResponse) Reset ¶
func (x *SetWorkerCapacityResponse) Reset()
func (*SetWorkerCapacityResponse) String ¶
func (x *SetWorkerCapacityResponse) String() string
type SnapshotScope ¶
type SnapshotScope int32
const ( // Not valid option; should never happen. SnapshotScope_SNAPSHOT_SCOPE_UNSPECIFIED SnapshotScope = 0 // Capture process memory plus the full filesystem delta on top of the OCI // image (including any attached DurableDir volumes). SnapshotScope_SNAPSHOT_SCOPE_FULL SnapshotScope = 1 // Capture only the contents of attached volumes that support snapshots // (currently DurableDir-typed volumes). Memory and the rest of rootfs are // excluded. SnapshotScope_SNAPSHOT_SCOPE_DATA SnapshotScope = 2 // Restore-only: restore the ActorTemplate's golden snapshot's guest state // (memory + full filesystem delta) combined with the snapshot's durable // data. Never valid for Checkpoint — snapshots only ever capture FULL or // DATA; whether a snapshot restores from its own content or on the golden // is decided by the control plane from the template's onResume // configuration. SnapshotScope_SNAPSHOT_SCOPE_DATA_ON_GOLDEN SnapshotScope = 3 )
func (SnapshotScope) Descriptor ¶
func (SnapshotScope) Descriptor() protoreflect.EnumDescriptor
func (SnapshotScope) Enum ¶
func (x SnapshotScope) Enum() *SnapshotScope
func (SnapshotScope) EnumDescriptor
deprecated
func (SnapshotScope) EnumDescriptor() ([]byte, []int)
Deprecated: Use SnapshotScope.Descriptor instead.
func (SnapshotScope) Number ¶
func (x SnapshotScope) Number() protoreflect.EnumNumber
func (SnapshotScope) String ¶
func (x SnapshotScope) String() string
func (SnapshotScope) Type ¶
func (SnapshotScope) Type() protoreflect.EnumType
type SystemInfoDataSource ¶
type SystemInfoDataSource struct {
// Types that are valid to be assigned to DataSource:
//
// *SystemInfoDataSource_ActorMetadata
// *SystemInfoDataSource_TrustBundle
DataSource isSystemInfoDataSource_DataSource `protobuf_oneof:"data_source"`
// 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) GetDataSource ¶
func (x *SystemInfoDataSource) GetDataSource() isSystemInfoDataSource_DataSource
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 SystemInfoDataSource_ActorMetadata ¶
type SystemInfoDataSource_ActorMetadata struct {
ActorMetadata *ActorMetadataDataSource `protobuf:"bytes,1,opt,name=actor_metadata,json=actorMetadata,proto3,oneof"`
}
type SystemInfoDataSource_TrustBundle ¶
type SystemInfoDataSource_TrustBundle struct {
TrustBundle *TrustBundleDataSource `protobuf:"bytes,2,opt,name=trust_bundle,json=trustBundle,proto3,oneof"`
}
type SystemInfoVolume ¶
type SystemInfoVolume struct {
DataSources []*SystemInfoDataSource `protobuf:"bytes,1,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"`
// contains filtered or unexported fields
}
SystemInfoVolume is a read-only volume whose files are generated by atelet on every Run/Restore, so they carry the values of the actor actually being started, whatever checkpointed state it boots from.
func (*SystemInfoVolume) Descriptor
deprecated
func (*SystemInfoVolume) Descriptor() ([]byte, []int)
Deprecated: Use SystemInfoVolume.ProtoReflect.Descriptor instead.
func (*SystemInfoVolume) GetDataSources ¶
func (x *SystemInfoVolume) GetDataSources() []*SystemInfoDataSource
func (*SystemInfoVolume) ProtoMessage ¶
func (*SystemInfoVolume) ProtoMessage()
func (*SystemInfoVolume) ProtoReflect ¶
func (x *SystemInfoVolume) ProtoReflect() protoreflect.Message
func (*SystemInfoVolume) Reset ¶
func (x *SystemInfoVolume) Reset()
func (*SystemInfoVolume) String ¶
func (x *SystemInfoVolume) String() string
type TerminateRequest ¶
type TerminateRequest struct {
TargetAteomUid string `protobuf:"bytes,1,opt,name=target_ateom_uid,json=targetAteomUid,proto3" json:"target_ateom_uid,omitempty"`
Atespace string `protobuf:"bytes,2,opt,name=atespace,proto3" json:"atespace,omitempty"`
ActorName string `protobuf:"bytes,3,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"`
ActorUid string `protobuf:"bytes,4,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
ActorTemplateAtespace string `` /* 126-byte string literal not displayed */
ActorTemplateName string `protobuf:"bytes,6,opt,name=actor_template_name,json=actorTemplateName,proto3" json:"actor_template_name,omitempty"`
Spec *WorkloadSpec `protobuf:"bytes,7,opt,name=spec,proto3" json:"spec,omitempty"`
// contains filtered or unexported fields
}
func (*TerminateRequest) Descriptor
deprecated
func (*TerminateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TerminateRequest.ProtoReflect.Descriptor instead.
func (*TerminateRequest) GetActorName ¶
func (x *TerminateRequest) GetActorName() string
func (*TerminateRequest) GetActorTemplateAtespace ¶
func (x *TerminateRequest) GetActorTemplateAtespace() string
func (*TerminateRequest) GetActorTemplateName ¶
func (x *TerminateRequest) GetActorTemplateName() string
func (*TerminateRequest) GetActorUid ¶
func (x *TerminateRequest) GetActorUid() string
func (*TerminateRequest) GetAtespace ¶
func (x *TerminateRequest) GetAtespace() string
func (*TerminateRequest) GetSpec ¶
func (x *TerminateRequest) GetSpec() *WorkloadSpec
func (*TerminateRequest) GetTargetAteomUid ¶
func (x *TerminateRequest) GetTargetAteomUid() string
func (*TerminateRequest) ProtoMessage ¶
func (*TerminateRequest) ProtoMessage()
func (*TerminateRequest) ProtoReflect ¶
func (x *TerminateRequest) ProtoReflect() protoreflect.Message
func (*TerminateRequest) Reset ¶
func (x *TerminateRequest) Reset()
func (*TerminateRequest) String ¶
func (x *TerminateRequest) String() string
type TerminateResponse ¶
type TerminateResponse struct {
// contains filtered or unexported fields
}
func (*TerminateResponse) Descriptor
deprecated
func (*TerminateResponse) Descriptor() ([]byte, []int)
Deprecated: Use TerminateResponse.ProtoReflect.Descriptor instead.
func (*TerminateResponse) ProtoMessage ¶
func (*TerminateResponse) ProtoMessage()
func (*TerminateResponse) ProtoReflect ¶
func (x *TerminateResponse) ProtoReflect() protoreflect.Message
func (*TerminateResponse) Reset ¶
func (x *TerminateResponse) Reset()
func (*TerminateResponse) String ¶
func (x *TerminateResponse) String() string
type TrustBundleDataSource ¶
type TrustBundleDataSource struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
TrustBundleDataSource projects the trust anchors of a named trust bundle to a file at the given path, relative to the root of the enclosing system-info volume. atelet resolves the name against its supported-bundle allowlist and reads the backing ClusterTrustBundle through its informer at write time, sanitizing kubelet-style; an unsupported name or missing bundle fails the actor start.
func (*TrustBundleDataSource) Descriptor
deprecated
func (*TrustBundleDataSource) Descriptor() ([]byte, []int)
Deprecated: Use TrustBundleDataSource.ProtoReflect.Descriptor instead.
func (*TrustBundleDataSource) GetName ¶
func (x *TrustBundleDataSource) GetName() 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 UnimplementedAteomHerderServer ¶
type UnimplementedAteomHerderServer struct{}
UnimplementedAteomHerderServer 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 (UnimplementedAteomHerderServer) Checkpoint ¶
func (UnimplementedAteomHerderServer) Checkpoint(context.Context, *CheckpointRequest) (*CheckpointResponse, error)
func (UnimplementedAteomHerderServer) Restore ¶
func (UnimplementedAteomHerderServer) Restore(context.Context, *RestoreRequest) (*RestoreResponse, error)
func (UnimplementedAteomHerderServer) Run ¶
func (UnimplementedAteomHerderServer) Run(context.Context, *RunRequest) (*RunResponse, error)
func (UnimplementedAteomHerderServer) Terminate ¶
func (UnimplementedAteomHerderServer) Terminate(context.Context, *TerminateRequest) (*TerminateResponse, error)
func (UnimplementedAteomHerderServer) UploadPausedCheckpoint ¶
func (UnimplementedAteomHerderServer) UploadPausedCheckpoint(context.Context, *UploadPausedCheckpointRequest) (*UploadPausedCheckpointResponse, error)
type UnimplementedCredentialBrokerServer ¶
type UnimplementedCredentialBrokerServer struct{}
UnimplementedCredentialBrokerServer 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 (UnimplementedCredentialBrokerServer) MintActorCertificate ¶
func (UnimplementedCredentialBrokerServer) MintActorCertificate(context.Context, *MintActorCertificateRequest) (*MintActorCertificateResponse, error)
type UnimplementedWorkerCapacityServer ¶
type UnimplementedWorkerCapacityServer struct{}
UnimplementedWorkerCapacityServer 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 (UnimplementedWorkerCapacityServer) SetWorkerCapacity ¶
func (UnimplementedWorkerCapacityServer) SetWorkerCapacity(context.Context, *SetWorkerCapacityRequest) (*SetWorkerCapacityResponse, error)
type UnsafeAteomHerderServer ¶
type UnsafeAteomHerderServer interface {
// contains filtered or unexported methods
}
UnsafeAteomHerderServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AteomHerderServer will result in compilation errors.
type UnsafeCredentialBrokerServer ¶
type UnsafeCredentialBrokerServer interface {
// contains filtered or unexported methods
}
UnsafeCredentialBrokerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CredentialBrokerServer will result in compilation errors.
type UnsafeWorkerCapacityServer ¶
type UnsafeWorkerCapacityServer interface {
// contains filtered or unexported methods
}
UnsafeWorkerCapacityServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WorkerCapacityServer will result in compilation errors.
type UploadPausedCheckpointRequest ¶
type UploadPausedCheckpointRequest struct {
Atespace string `protobuf:"bytes,1,opt,name=atespace,proto3" json:"atespace,omitempty"`
ActorName string `protobuf:"bytes,2,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"`
ActorUid string `protobuf:"bytes,3,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
// For metrics attribution, like on CheckpointRequest.
ActorTemplateAtespace string `` /* 126-byte string literal not displayed */
ActorTemplateName string `protobuf:"bytes,5,opt,name=actor_template_name,json=actorTemplateName,proto3" json:"actor_template_name,omitempty"`
// The local checkpoint to upload: LocalSnapshotInfo.snapshot_name recorded
// at pause time.
LocalSnapshotName string `protobuf:"bytes,6,opt,name=local_snapshot_name,json=localSnapshotName,proto3" json:"local_snapshot_name,omitempty"`
// Destination object-storage URI (the actor's in-progress snapshot URI).
DestinationSnapshotUri string `` /* 129-byte string literal not displayed */
// Scope the uploaded snapshot must have (the commit scope; FULL or DATA).
// The scope the pause checkpoint captured is not sent: atelet reads it from
// the local snapshot's own manifest, which is authoritative. When they
// differ, atelet converts where possible (micro-VM FULL capture to a DATA
// upload by selecting the durable-dir tar) and rejects otherwise.
DesiredScope SnapshotScope `protobuf:"varint,8,opt,name=desired_scope,json=desiredScope,proto3,enum=atelet.SnapshotScope" json:"desired_scope,omitempty"`
// contains filtered or unexported fields
}
func (*UploadPausedCheckpointRequest) Descriptor
deprecated
func (*UploadPausedCheckpointRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadPausedCheckpointRequest.ProtoReflect.Descriptor instead.
func (*UploadPausedCheckpointRequest) GetActorName ¶
func (x *UploadPausedCheckpointRequest) GetActorName() string
func (*UploadPausedCheckpointRequest) GetActorTemplateAtespace ¶
func (x *UploadPausedCheckpointRequest) GetActorTemplateAtespace() string
func (*UploadPausedCheckpointRequest) GetActorTemplateName ¶
func (x *UploadPausedCheckpointRequest) GetActorTemplateName() string
func (*UploadPausedCheckpointRequest) GetActorUid ¶
func (x *UploadPausedCheckpointRequest) GetActorUid() string
func (*UploadPausedCheckpointRequest) GetAtespace ¶
func (x *UploadPausedCheckpointRequest) GetAtespace() string
func (*UploadPausedCheckpointRequest) GetDesiredScope ¶
func (x *UploadPausedCheckpointRequest) GetDesiredScope() SnapshotScope
func (*UploadPausedCheckpointRequest) GetDestinationSnapshotUri ¶
func (x *UploadPausedCheckpointRequest) GetDestinationSnapshotUri() string
func (*UploadPausedCheckpointRequest) GetLocalSnapshotName ¶
func (x *UploadPausedCheckpointRequest) GetLocalSnapshotName() string
func (*UploadPausedCheckpointRequest) ProtoMessage ¶
func (*UploadPausedCheckpointRequest) ProtoMessage()
func (*UploadPausedCheckpointRequest) ProtoReflect ¶
func (x *UploadPausedCheckpointRequest) ProtoReflect() protoreflect.Message
func (*UploadPausedCheckpointRequest) Reset ¶
func (x *UploadPausedCheckpointRequest) Reset()
func (*UploadPausedCheckpointRequest) String ¶
func (x *UploadPausedCheckpointRequest) String() string
type UploadPausedCheckpointResponse ¶
type UploadPausedCheckpointResponse struct {
// contains filtered or unexported fields
}
func (*UploadPausedCheckpointResponse) Descriptor
deprecated
func (*UploadPausedCheckpointResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadPausedCheckpointResponse.ProtoReflect.Descriptor instead.
func (*UploadPausedCheckpointResponse) ProtoMessage ¶
func (*UploadPausedCheckpointResponse) ProtoMessage()
func (*UploadPausedCheckpointResponse) ProtoReflect ¶
func (x *UploadPausedCheckpointResponse) ProtoReflect() protoreflect.Message
func (*UploadPausedCheckpointResponse) Reset ¶
func (x *UploadPausedCheckpointResponse) Reset()
func (*UploadPausedCheckpointResponse) String ¶
func (x *UploadPausedCheckpointResponse) String() string
type Volume ¶
type Volume struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Types that are valid to be assigned to Source:
//
// *Volume_DurableDir
// *Volume_External
// *Volume_SystemInfo
// *Volume_Image
Source isVolume_Source `protobuf_oneof:"source"`
// contains filtered or unexported fields
}
func (*Volume) Descriptor
deprecated
func (*Volume) GetDurableDir ¶
func (x *Volume) GetDurableDir() *DurableDirVolume
func (*Volume) GetExternal ¶
func (x *Volume) GetExternal() *ExternalVolumeSource
func (*Volume) GetImage ¶
func (x *Volume) GetImage() *ImageVolumeSource
func (*Volume) GetSystemInfo ¶
func (x *Volume) GetSystemInfo() *SystemInfoVolume
func (*Volume) ProtoMessage ¶
func (*Volume) ProtoMessage()
func (*Volume) ProtoReflect ¶
func (x *Volume) ProtoReflect() protoreflect.Message
type VolumeMount ¶
type VolumeMount struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
MountPath string `protobuf:"bytes,2,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"`
// contains filtered or unexported fields
}
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 Volume_DurableDir ¶
type Volume_DurableDir struct {
DurableDir *DurableDirVolume `protobuf:"bytes,2,opt,name=durable_dir,json=durableDir,proto3,oneof"`
}
type Volume_External ¶
type Volume_External struct {
External *ExternalVolumeSource `protobuf:"bytes,3,opt,name=external,proto3,oneof"`
}
type Volume_Image ¶
type Volume_Image struct {
Image *ImageVolumeSource `protobuf:"bytes,5,opt,name=image,proto3,oneof"`
}
type Volume_SystemInfo ¶
type Volume_SystemInfo struct {
SystemInfo *SystemInfoVolume `protobuf:"bytes,4,opt,name=system_info,json=systemInfo,proto3,oneof"`
}
type WorkerCapacityClient ¶
type WorkerCapacityClient interface {
SetWorkerCapacity(ctx context.Context, in *SetWorkerCapacityRequest, opts ...grpc.CallOption) (*SetWorkerCapacityResponse, error)
}
WorkerCapacityClient is the client API for WorkerCapacity 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.
WorkerCapacity is how a worker tells the node-local atelet what it can supply to the actors it hosts, for atelet to forward to the control plane's WorkerService.SetWorkerCapacity, which this mirrors. The worker is identified by its mTLS certificate, never by the request.
func NewWorkerCapacityClient ¶
func NewWorkerCapacityClient(cc grpc.ClientConnInterface) WorkerCapacityClient
type WorkerCapacityServer ¶
type WorkerCapacityServer interface {
SetWorkerCapacity(context.Context, *SetWorkerCapacityRequest) (*SetWorkerCapacityResponse, error)
// contains filtered or unexported methods
}
WorkerCapacityServer is the server API for WorkerCapacity service. All implementations must embed UnimplementedWorkerCapacityServer for forward compatibility.
WorkerCapacity is how a worker tells the node-local atelet what it can supply to the actors it hosts, for atelet to forward to the control plane's WorkerService.SetWorkerCapacity, which this mirrors. The worker is identified by its mTLS certificate, never by the request.
type WorkloadSpec ¶
type WorkloadSpec struct {
Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"`
Volumes []*Volume `protobuf:"bytes,3,rep,name=volumes,proto3" json:"volumes,omitempty"`
// contains filtered or unexported fields
}
WorkloadSpec parallels Pod, but with far fewer configurable fields.
func (*WorkloadSpec) Descriptor
deprecated
func (*WorkloadSpec) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadSpec.ProtoReflect.Descriptor instead.
func (*WorkloadSpec) GetContainers ¶
func (x *WorkloadSpec) GetContainers() []*Container
func (*WorkloadSpec) GetVolumes ¶
func (x *WorkloadSpec) GetVolumes() []*Volume
func (*WorkloadSpec) ProtoMessage ¶
func (*WorkloadSpec) ProtoMessage()
func (*WorkloadSpec) ProtoReflect ¶
func (x *WorkloadSpec) ProtoReflect() protoreflect.Message
func (*WorkloadSpec) Reset ¶
func (x *WorkloadSpec) Reset()
func (*WorkloadSpec) String ¶
func (x *WorkloadSpec) String() string