ateapipb

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2026 License: MIT, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package ateapipb contains the unmodified upstream Agent Substrate control protocol, generated with an Orka-local Go import path. The source and provider commit are pinned together in hack/agent-substrate/upstream.env.

Index

Constants

View Source
const (
	Control_GetActor_FullMethodName                   = "/ateapi.Control/GetActor"
	Control_CreateActor_FullMethodName                = "/ateapi.Control/CreateActor"
	Control_UpdateActor_FullMethodName                = "/ateapi.Control/UpdateActor"
	Control_SuspendActor_FullMethodName               = "/ateapi.Control/SuspendActor"
	Control_PauseActor_FullMethodName                 = "/ateapi.Control/PauseActor"
	Control_ResumeActor_FullMethodName                = "/ateapi.Control/ResumeActor"
	Control_DeleteActor_FullMethodName                = "/ateapi.Control/DeleteActor"
	Control_GetActorEgressPolicy_FullMethodName       = "/ateapi.Control/GetActorEgressPolicy"
	Control_CreateActorEgressPolicy_FullMethodName    = "/ateapi.Control/CreateActorEgressPolicy"
	Control_UpdateActorEgressPolicy_FullMethodName    = "/ateapi.Control/UpdateActorEgressPolicy"
	Control_DeleteActorEgressPolicy_FullMethodName    = "/ateapi.Control/DeleteActorEgressPolicy"
	Control_CreateTag_FullMethodName                  = "/ateapi.Control/CreateTag"
	Control_GetTag_FullMethodName                     = "/ateapi.Control/GetTag"
	Control_ListTags_FullMethodName                   = "/ateapi.Control/ListTags"
	Control_UpdateTag_FullMethodName                  = "/ateapi.Control/UpdateTag"
	Control_DeleteTag_FullMethodName                  = "/ateapi.Control/DeleteTag"
	Control_ListWorkers_FullMethodName                = "/ateapi.Control/ListWorkers"
	Control_GetWorker_FullMethodName                  = "/ateapi.Control/GetWorker"
	Control_CreateWorker_FullMethodName               = "/ateapi.Control/CreateWorker"
	Control_UpdateWorker_FullMethodName               = "/ateapi.Control/UpdateWorker"
	Control_DeleteWorker_FullMethodName               = "/ateapi.Control/DeleteWorker"
	Control_DrainWorker_FullMethodName                = "/ateapi.Control/DrainWorker"
	Control_ListWorkerActorAssignments_FullMethodName = "/ateapi.Control/ListWorkerActorAssignments"
	Control_ListActors_FullMethodName                 = "/ateapi.Control/ListActors"
	Control_CreateAtespace_FullMethodName             = "/ateapi.Control/CreateAtespace"
	Control_GetAtespace_FullMethodName                = "/ateapi.Control/GetAtespace"
	Control_ListAtespaces_FullMethodName              = "/ateapi.Control/ListAtespaces"
	Control_DeleteAtespace_FullMethodName             = "/ateapi.Control/DeleteAtespace"
	Control_CreateActorTemplate_FullMethodName        = "/ateapi.Control/CreateActorTemplate"
	Control_GetActorTemplate_FullMethodName           = "/ateapi.Control/GetActorTemplate"
	Control_ListActorTemplates_FullMethodName         = "/ateapi.Control/ListActorTemplates"
	Control_DeleteActorTemplate_FullMethodName        = "/ateapi.Control/DeleteActorTemplate"
)
View Source
const (
	ActorIdentity_MintJWT_FullMethodName  = "/ateapi.ActorIdentity/MintJWT"
	ActorIdentity_MintCert_FullMethodName = "/ateapi.ActorIdentity/MintCert"
)
View Source
const (
	WorkerService_SetWorkerCapacity_FullMethodName = "/ateapi.WorkerService/SetWorkerCapacity"
)

Variables

View Source
var (
	SnapshotContentScope_name = map[int32]string{
		0: "SNAPSHOT_CONTENT_SCOPE_UNSPECIFIED",
		1: "SNAPSHOT_CONTENT_SCOPE_FULL",
		2: "SNAPSHOT_CONTENT_SCOPE_DATA",
	}
	SnapshotContentScope_value = map[string]int32{
		"SNAPSHOT_CONTENT_SCOPE_UNSPECIFIED": 0,
		"SNAPSHOT_CONTENT_SCOPE_FULL":        1,
		"SNAPSHOT_CONTENT_SCOPE_DATA":        2,
	}
)

Enum value maps for SnapshotContentScope.

View Source
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.

View Source
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_PAUSING",
		6: "ACTOR_STATE_PAUSED",
		7: "ACTOR_STATE_CRASHED",
		8: "ACTOR_STATE_DELETING",
	}
	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_PAUSING":     5,
		"ACTOR_STATE_PAUSED":      6,
		"ACTOR_STATE_CRASHED":     7,
		"ACTOR_STATE_DELETING":    8,
	}
)

Enum value maps for ActorState.

View Source
var (
	SandboxClass_name = map[int32]string{
		0: "SANDBOX_CLASS_UNSPECIFIED",
		1: "SANDBOX_CLASS_GVISOR",
		2: "SANDBOX_CLASS_MICROVM",
	}
	SandboxClass_value = map[string]int32{
		"SANDBOX_CLASS_UNSPECIFIED": 0,
		"SANDBOX_CLASS_GVISOR":      1,
		"SANDBOX_CLASS_MICROVM":     2,
	}
)

Enum value maps for SandboxClass.

View Source
var (
	ResumeSource_name = map[int32]string{
		0: "RESUME_SOURCE_UNSPECIFIED",
		1: "RESUME_SOURCE_COLD_BOOT",
		2: "RESUME_SOURCE_GOLDEN",
	}
	ResumeSource_value = map[string]int32{
		"RESUME_SOURCE_UNSPECIFIED": 0,
		"RESUME_SOURCE_COLD_BOOT":   1,
		"RESUME_SOURCE_GOLDEN":      2,
	}
)

Enum value maps for ResumeSource.

View Source
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.

View Source
var (
	WorkerState_name = map[int32]string{
		0: "WORKER_STATE_UNSPECIFIED",
		1: "WORKER_STATE_ACTIVE",
		2: "WORKER_STATE_DRAINING",
	}
	WorkerState_value = map[string]int32{
		"WORKER_STATE_UNSPECIFIED": 0,
		"WORKER_STATE_ACTIVE":      1,
		"WORKER_STATE_DRAINING":    2,
	}
)

Enum value maps for WorkerState.

View Source
var (
	ActorCertificatePurpose_name = map[int32]string{
		0: "ACTOR_CERTIFICATE_PURPOSE_UNSPECIFIED",
		1: "ACTOR_CERTIFICATE_PURPOSE_ATUNNEL",
	}
	ActorCertificatePurpose_value = map[string]int32{
		"ACTOR_CERTIFICATE_PURPOSE_UNSPECIFIED": 0,
		"ACTOR_CERTIFICATE_PURPOSE_ATUNNEL":     1,
	}
)

Enum value maps for ActorCertificatePurpose.

View Source
var (
	ExternalVolume_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "STATUS_PENDING",
		2: "STATUS_CREATED",
		3: "STATUS_DELETING",
	}
	ExternalVolume_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"STATUS_PENDING":     1,
		"STATUS_CREATED":     2,
		"STATUS_DELETING":    3,
	}
)

Enum value maps for ExternalVolume_Status.

View Source
var ActorIdentity_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ateapi.ActorIdentity",
	HandlerType: (*ActorIdentityServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "MintJWT",
			Handler:    _ActorIdentity_MintJWT_Handler,
		},
		{
			MethodName: "MintCert",
			Handler:    _ActorIdentity_MintCert_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ateapi.proto",
}

ActorIdentity_ServiceDesc is the grpc.ServiceDesc for ActorIdentity service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Control_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ateapi.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: "PauseActor",
			Handler:    _Control_PauseActor_Handler,
		},
		{
			MethodName: "ResumeActor",
			Handler:    _Control_ResumeActor_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: "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: "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,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "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)

View Source
var File_ateapi_proto protoreflect.FileDescriptor
View Source
var WorkerService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ateapi.WorkerService",
	HandlerType: (*WorkerServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetWorkerCapacity",
			Handler:    _WorkerService_SetWorkerCapacity_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "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 RegisterActorIdentityServer added in v0.2.0

func RegisterActorIdentityServer(s grpc.ServiceRegistrar, srv ActorIdentityServer)

func RegisterControlServer

func RegisterControlServer(s grpc.ServiceRegistrar, srv ControlServer)

func RegisterWorkerServiceServer added in v0.2.0

func RegisterWorkerServiceServer(s grpc.ServiceRegistrar, srv WorkerServiceServer)

Types

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"`
	// 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,4,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.
	// Changes take effect on the next ResumeActor call.
	//
	// +k8s:optional
	WorkerSelector *Selector `protobuf:"bytes,5,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,6,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,7,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*Actor) Descriptor deprecated

func (*Actor) Descriptor() ([]byte, []int)

Deprecated: Use Actor.ProtoReflect.Descriptor instead.

func (*Actor) GetActorTemplate added in v0.2.0

func (x *Actor) GetActorTemplate() *ObjectRef

func (*Actor) GetMetadata added in v0.2.0

func (x *Actor) GetMetadata() *ResourceMetadata

func (*Actor) GetSourceTag added in v0.2.0

func (x *Actor) GetSourceTag() *ObjectRef

func (*Actor) GetStatus

func (x *Actor) GetStatus() *ActorStatus

func (*Actor) GetWorkerSelector added in v0.2.0

func (x *Actor) GetWorkerSelector() *Selector

func (*Actor) ProtoMessage

func (*Actor) ProtoMessage()

func (*Actor) ProtoReflect

func (x *Actor) ProtoReflect() protoreflect.Message

func (*Actor) Reset

func (x *Actor) Reset()

func (*Actor) String

func (x *Actor) String() string

type ActorAssignment added in v0.2.0

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,6,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"`
	// actor_template_ref names the ActorTemplate resource the assigned Actor
	// uses.
	//
	// +k8s:required
	// +k8s:subfield(atespace)=+k8s:required
	ActorTemplateRef *ObjectRef `protobuf:"bytes,4,opt,name=actor_template_ref,json=actorTemplateRef,proto3" json:"actor_template_ref,omitempty"`
	// The resources allocated to the Actor when it was assigned.
	//
	// +k8s:optional
	Resources *Resources `protobuf:"bytes,5,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 added in v0.2.0

func (*ActorAssignment) Descriptor() ([]byte, []int)

Deprecated: Use ActorAssignment.ProtoReflect.Descriptor instead.

func (*ActorAssignment) GetActor added in v0.2.0

func (x *ActorAssignment) GetActor() *ObjectRef

func (*ActorAssignment) GetActorTemplateRef added in v0.2.0

func (x *ActorAssignment) GetActorTemplateRef() *ObjectRef

func (*ActorAssignment) GetActorUid added in v0.2.0

func (x *ActorAssignment) GetActorUid() string

func (*ActorAssignment) GetMetadata added in v0.2.0

func (x *ActorAssignment) GetMetadata() *ResourceMetadata

func (*ActorAssignment) GetResources added in v0.2.0

func (x *ActorAssignment) GetResources() *Resources

func (*ActorAssignment) ProtoMessage added in v0.2.0

func (*ActorAssignment) ProtoMessage()

func (*ActorAssignment) ProtoReflect added in v0.2.0

func (x *ActorAssignment) ProtoReflect() protoreflect.Message

func (*ActorAssignment) Reset added in v0.2.0

func (x *ActorAssignment) Reset()

func (*ActorAssignment) String added in v0.2.0

func (x *ActorAssignment) String() string

type ActorCertificatePurpose added in v0.2.0

type ActorCertificatePurpose int32
const (
	ActorCertificatePurpose_ACTOR_CERTIFICATE_PURPOSE_UNSPECIFIED ActorCertificatePurpose = 0
	ActorCertificatePurpose_ACTOR_CERTIFICATE_PURPOSE_ATUNNEL     ActorCertificatePurpose = 1 // Keep this in sync with MintCertRequest.purpose's maximum.
)

func (ActorCertificatePurpose) Descriptor added in v0.2.0

func (ActorCertificatePurpose) Enum added in v0.2.0

func (ActorCertificatePurpose) EnumDescriptor deprecated added in v0.2.0

func (ActorCertificatePurpose) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActorCertificatePurpose.Descriptor instead.

func (ActorCertificatePurpose) Number added in v0.2.0

func (ActorCertificatePurpose) String added in v0.2.0

func (x ActorCertificatePurpose) String() string

func (ActorCertificatePurpose) Type added in v0.2.0

type ActorIdentityClient added in v0.2.0

type ActorIdentityClient interface {
	// Request an Actor Identity JWT.
	//
	// To call this RPC, you must be authenticated as the Kubernetes Pod that is
	// currently running the requested actor.
	MintJWT(ctx context.Context, in *MintJWTRequest, opts ...grpc.CallOption) (*MintJWTResponse, error)
	// Request an Actor Identity Certificate for an actor.
	//
	// Actors do not call this RPC themselves. The atelet hosting the actor calls
	// it on the actor's behalf, authenticating with its own client certificate
	// rather than a bearer token.
	//
	// Authorization is decided on that client certificate and the worker
	// identity attested by atelet. Ateapi verifies that the worker is assigned to
	// the actor and that the actor points back to that exact worker before signing.
	//
	// The certificate in the response is the actor's identity, not the atelet's.
	MintCert(ctx context.Context, in *MintCertRequest, opts ...grpc.CallOption) (*MintCertResponse, error)
}

ActorIdentityClient is the client API for ActorIdentity 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.

ActorIdentity allows substrate workloads to exchange their infrastructure-level credentials (k8s service account token, etc.) for a substrate actor-level credential. A given substrate actor might migrate between many different physical workers over the course of its lifecycle, whereas the actor credential's identity will be stable for the life of the actor.

func NewActorIdentityClient added in v0.2.0

func NewActorIdentityClient(cc grpc.ClientConnInterface) ActorIdentityClient

type ActorIdentityServer added in v0.2.0

type ActorIdentityServer interface {
	// Request an Actor Identity JWT.
	//
	// To call this RPC, you must be authenticated as the Kubernetes Pod that is
	// currently running the requested actor.
	MintJWT(context.Context, *MintJWTRequest) (*MintJWTResponse, error)
	// Request an Actor Identity Certificate for an actor.
	//
	// Actors do not call this RPC themselves. The atelet hosting the actor calls
	// it on the actor's behalf, authenticating with its own client certificate
	// rather than a bearer token.
	//
	// Authorization is decided on that client certificate and the worker
	// identity attested by atelet. Ateapi verifies that the worker is assigned to
	// the actor and that the actor points back to that exact worker before signing.
	//
	// The certificate in the response is the actor's identity, not the atelet's.
	MintCert(context.Context, *MintCertRequest) (*MintCertResponse, error)
	// contains filtered or unexported methods
}

ActorIdentityServer is the server API for ActorIdentity service. All implementations must embed UnimplementedActorIdentityServer for forward compatibility.

ActorIdentity allows substrate workloads to exchange their infrastructure-level credentials (k8s service account token, etc.) for a substrate actor-level credential. A given substrate actor might migrate between many different physical workers over the course of its lifecycle, whereas the actor credential's identity will be stable for the life of the actor.

type ActorMetadataDataSource added in v0.2.0

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 added in v0.2.0

func (*ActorMetadataDataSource) Descriptor() ([]byte, []int)

Deprecated: Use ActorMetadataDataSource.ProtoReflect.Descriptor instead.

func (*ActorMetadataDataSource) GetItems added in v0.2.0

func (x *ActorMetadataDataSource) GetItems() []*ActorMetadataItem

func (*ActorMetadataDataSource) ProtoMessage added in v0.2.0

func (*ActorMetadataDataSource) ProtoMessage()

func (*ActorMetadataDataSource) ProtoReflect added in v0.2.0

func (x *ActorMetadataDataSource) ProtoReflect() protoreflect.Message

func (*ActorMetadataDataSource) Reset added in v0.2.0

func (x *ActorMetadataDataSource) Reset()

func (*ActorMetadataDataSource) String added in v0.2.0

func (x *ActorMetadataDataSource) String() string

type ActorMetadataField added in v0.2.0

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 added in v0.2.0

func (ActorMetadataField) Enum added in v0.2.0

func (ActorMetadataField) EnumDescriptor deprecated added in v0.2.0

func (ActorMetadataField) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActorMetadataField.Descriptor instead.

func (ActorMetadataField) Number added in v0.2.0

func (ActorMetadataField) String added in v0.2.0

func (x ActorMetadataField) String() string

func (ActorMetadataField) Type added in v0.2.0

type ActorMetadataItem added in v0.2.0

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=ateapi.ActorMetadataField" json:"field,omitempty"`
	// +k8s:required
	// +k8s:minLength=1
	// +k8s:maxLength=255
	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 added in v0.2.0

func (*ActorMetadataItem) Descriptor() ([]byte, []int)

Deprecated: Use ActorMetadataItem.ProtoReflect.Descriptor instead.

func (*ActorMetadataItem) GetField added in v0.2.0

func (x *ActorMetadataItem) GetField() ActorMetadataField

func (*ActorMetadataItem) GetPath added in v0.2.0

func (x *ActorMetadataItem) GetPath() string

func (*ActorMetadataItem) ProtoMessage added in v0.2.0

func (*ActorMetadataItem) ProtoMessage()

func (*ActorMetadataItem) ProtoReflect added in v0.2.0

func (x *ActorMetadataItem) ProtoReflect() protoreflect.Message

func (*ActorMetadataItem) Reset added in v0.2.0

func (x *ActorMetadataItem) Reset()

func (*ActorMetadataItem) String added in v0.2.0

func (x *ActorMetadataItem) String() string

type ActorState added in v0.2.0

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_PAUSING     ActorState = 5
	ActorState_ACTOR_STATE_PAUSED      ActorState = 6
	ActorState_ACTOR_STATE_CRASHED     ActorState = 7
	ActorState_ACTOR_STATE_DELETING    ActorState = 8 // Keep this in sync with ActorStatus.state's maximum.
)

func (ActorState) Descriptor added in v0.2.0

func (ActorState) Descriptor() protoreflect.EnumDescriptor

func (ActorState) Enum added in v0.2.0

func (x ActorState) Enum() *ActorState

func (ActorState) EnumDescriptor deprecated added in v0.2.0

func (ActorState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActorState.Descriptor instead.

func (ActorState) Number added in v0.2.0

func (x ActorState) Number() protoreflect.EnumNumber

func (ActorState) String added in v0.2.0

func (x ActorState) String() string

func (ActorState) Type added in v0.2.0

type ActorStatus added in v0.2.0

type ActorStatus struct {

	// state is the Actor's current lifecycle state.
	//
	// +k8s:required
	// +k8s:minimum=1
	// +k8s:maximum=8 # keep this in sync with the ActorState enum
	State ActorState `protobuf:"varint,1,opt,name=state,proto3,enum=ateapi.ActorState" json:"state,omitempty"`
	// worker_assignment points at the worker currently hosting this Actor.
	// Unset whenever the Actor has no worker (SUSPENDED, PAUSED, CRASHED).
	//
	// +k8s:optional
	// +k8s:update=NoModify # can be set and cleared, but not changed in place
	WorkerAssignment *WorkerAssignment `protobuf:"bytes,2,opt,name=worker_assignment,json=workerAssignment,proto3" json:"worker_assignment,omitempty"`
	// The name the in-progress durable snapshot will be stored under. Snapshot
	// names are server-generated UUIDs, but any resource name is valid here.
	//
	// +k8s:optional
	// +k8s:format=k8s-short-name
	InProgressSnapshotName string `` /* 131-byte string literal not displayed */
	// external_snapshot is the Actor's current external snapshot.
	// If the Actor was created from a Tag this is the tag's snapshot, borrowed
	// until the Actor's first suspend writes one of its own. Otherwise it is
	// unset until the Actor is first suspended.
	// +k8s:optional
	ExternalSnapshot *ExternalSnapshot `protobuf:"bytes,4,opt,name=external_snapshot,json=externalSnapshot,proto3" json:"external_snapshot,omitempty"`
	// Node-local state used only while the Actor is paused.
	//
	// +k8s:optional
	LocalSnapshotInfo *LocalSnapshotInfo `protobuf:"bytes,5,opt,name=local_snapshot_info,json=localSnapshotInfo,proto3" json:"local_snapshot_info,omitempty"`
	// Volumes attached to the actor. These volumes only live as long as the actor.
	// They are deleted when the actor is deleted. Each template volume
	// appears at most once.
	//
	// TODO: consider a literal map keyed by volume_name instead of a list-map.
	//
	// +k8s:optional
	// +k8s:maxItems=32 # matches the template's volumes bound
	// +k8s:listType=map
	// +k8s:listMapKey=volume_name
	ActorVolumes []*ExternalVolume `protobuf:"bytes,7,rep,name=actor_volumes,json=actorVolumes,proto3" json:"actor_volumes,omitempty"`
	// The name of the in-progress node-local checkpoint. Like durable snapshot
	// names, these are server-generated UUIDs.
	//
	// +k8s:optional
	// +k8s:format=k8s-short-name
	InProgressLocalSnapshotName string `` /* 148-byte string literal not displayed */
	// The UID of the actor template the Actor's guest state is currently built
	// on: the one its latest sprint booted with, recorded when the resume (or
	// first boot) commits RUNNING, or at creation for an Actor seeded from a tag,
	// since that Actor borrows guest state that was already built. Empty means
	// the Actor has no guest state yet.
	// Diverges from the UID of the Actor's actor_template ref when a suspended
	// Actor is repointed at a replacement template, which forces the next
	// restore to data-only.
	//
	// +k8s:optional
	CurrentActorTemplateUid string `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ActorStatus) Descriptor deprecated added in v0.2.0

func (*ActorStatus) Descriptor() ([]byte, []int)

Deprecated: Use ActorStatus.ProtoReflect.Descriptor instead.

func (*ActorStatus) GetActorVolumes added in v0.2.0

func (x *ActorStatus) GetActorVolumes() []*ExternalVolume

func (*ActorStatus) GetCurrentActorTemplateUid added in v0.2.0

func (x *ActorStatus) GetCurrentActorTemplateUid() string

func (*ActorStatus) GetExternalSnapshot added in v0.2.0

func (x *ActorStatus) GetExternalSnapshot() *ExternalSnapshot

func (*ActorStatus) GetInProgressLocalSnapshotName added in v0.2.0

func (x *ActorStatus) GetInProgressLocalSnapshotName() string

func (*ActorStatus) GetInProgressSnapshotName added in v0.2.0

func (x *ActorStatus) GetInProgressSnapshotName() string

func (*ActorStatus) GetLocalSnapshotInfo added in v0.2.0

func (x *ActorStatus) GetLocalSnapshotInfo() *LocalSnapshotInfo

func (*ActorStatus) GetState added in v0.2.0

func (x *ActorStatus) GetState() ActorState

func (*ActorStatus) GetWorkerAssignment added in v0.2.0

func (x *ActorStatus) GetWorkerAssignment() *WorkerAssignment

func (*ActorStatus) ProtoMessage added in v0.2.0

func (*ActorStatus) ProtoMessage()

func (*ActorStatus) ProtoReflect added in v0.2.0

func (x *ActorStatus) ProtoReflect() protoreflect.Message

func (*ActorStatus) Reset added in v0.2.0

func (x *ActorStatus) Reset()

func (*ActorStatus) String added in v0.2.0

func (x *ActorStatus) String() string

type ActorTemplate added in v0.2.0

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.
	//
	// +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"`
	// +k8s:required
	SnapshotsConfig *SnapshotsConfig `protobuf:"bytes,5,opt,name=snapshots_config,json=snapshotsConfig,proto3" json:"snapshots_config,omitempty"`
	// sandbox_config selects the sandbox runtime this version's actors run on.
	//
	// +k8s:required
	SandboxConfig *SandboxConfig `protobuf:"bytes,6,opt,name=sandbox_config,json=sandboxConfig,proto3" json:"sandbox_config,omitempty"`
	// Resource usage configuration.
	//
	// +k8s:optional
	Resources *Resources `protobuf:"bytes,7,opt,name=resources,proto3" json:"resources,omitempty"`
	// +k8s:optional
	Status *ActorTemplateStatus `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ActorTemplate) Descriptor deprecated added in v0.2.0

func (*ActorTemplate) Descriptor() ([]byte, []int)

Deprecated: Use ActorTemplate.ProtoReflect.Descriptor instead.

func (*ActorTemplate) GetContainers added in v0.2.0

func (x *ActorTemplate) GetContainers() []*Container

func (*ActorTemplate) GetMetadata added in v0.2.0

func (x *ActorTemplate) GetMetadata() *ResourceMetadata

func (*ActorTemplate) GetResources added in v0.2.0

func (x *ActorTemplate) GetResources() *Resources

func (*ActorTemplate) GetSandboxConfig added in v0.2.0

func (x *ActorTemplate) GetSandboxConfig() *SandboxConfig

func (*ActorTemplate) GetSnapshotsConfig added in v0.2.0

func (x *ActorTemplate) GetSnapshotsConfig() *SnapshotsConfig

func (*ActorTemplate) GetStatus added in v0.2.0

func (x *ActorTemplate) GetStatus() *ActorTemplateStatus

func (*ActorTemplate) GetVolumes added in v0.2.0

func (x *ActorTemplate) GetVolumes() []*Volume

func (*ActorTemplate) GetWorkerSelector added in v0.2.0

func (x *ActorTemplate) GetWorkerSelector() *Selector

func (*ActorTemplate) ProtoMessage added in v0.2.0

func (*ActorTemplate) ProtoMessage()

func (*ActorTemplate) ProtoReflect added in v0.2.0

func (x *ActorTemplate) ProtoReflect() protoreflect.Message

func (*ActorTemplate) Reset added in v0.2.0

func (x *ActorTemplate) Reset()

func (*ActorTemplate) String added in v0.2.0

func (x *ActorTemplate) String() string

type ActorTemplateStatus added in v0.2.0

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 added in v0.2.0

func (*ActorTemplateStatus) Descriptor() ([]byte, []int)

Deprecated: Use ActorTemplateStatus.ProtoReflect.Descriptor instead.

func (*ActorTemplateStatus) GetGoldenSnapshotStatus added in v0.2.0

func (x *ActorTemplateStatus) GetGoldenSnapshotStatus() *GoldenSnapshotStatus

func (*ActorTemplateStatus) ProtoMessage added in v0.2.0

func (*ActorTemplateStatus) ProtoMessage()

func (*ActorTemplateStatus) ProtoReflect added in v0.2.0

func (x *ActorTemplateStatus) ProtoReflect() protoreflect.Message

func (*ActorTemplateStatus) Reset added in v0.2.0

func (x *ActorTemplateStatus) Reset()

func (*ActorTemplateStatus) String added in v0.2.0

func (x *ActorTemplateStatus) String() string

type Atespace added in v0.2.0

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 added in v0.2.0

func (*Atespace) Descriptor() ([]byte, []int)

Deprecated: Use Atespace.ProtoReflect.Descriptor instead.

func (*Atespace) GetMetadata added in v0.2.0

func (x *Atespace) GetMetadata() *ResourceMetadata

func (*Atespace) ProtoMessage added in v0.2.0

func (*Atespace) ProtoMessage()

func (*Atespace) ProtoReflect added in v0.2.0

func (x *Atespace) ProtoReflect() protoreflect.Message

func (*Atespace) Reset added in v0.2.0

func (x *Atespace) Reset()

func (*Atespace) String added in v0.2.0

func (x *Atespace) String() string

type Capabilities added in v0.2.0

type Capabilities struct {

	// add lists capabilities to grant on top of the default set. "ALL" is
	// rejected: name the individual capabilities the container needs.
	//
	// +k8s:optional
	// +k8s:maxItems=64
	// +k8s:listType=set
	// +k8s:customValidation # capability grammar; "ALL" not accepted
	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 # capability grammar
	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 added in v0.2.0

func (*Capabilities) Descriptor() ([]byte, []int)

Deprecated: Use Capabilities.ProtoReflect.Descriptor instead.

func (*Capabilities) GetAdd added in v0.2.0

func (x *Capabilities) GetAdd() []string

func (*Capabilities) GetDrop added in v0.2.0

func (x *Capabilities) GetDrop() []string

func (*Capabilities) ProtoMessage added in v0.2.0

func (*Capabilities) ProtoMessage()

func (*Capabilities) ProtoReflect added in v0.2.0

func (x *Capabilities) ProtoReflect() protoreflect.Message

func (*Capabilities) Reset added in v0.2.0

func (x *Capabilities) Reset()

func (*Capabilities) String added in v0.2.0

func (x *Capabilities) String() string

type Container added in v0.2.0

type Container struct {

	// +k8s:required
	// +k8s:format=k8s-short-name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// +k8s:required
	// +k8s:maxLength=512 # matches ImageVolumeSource.reference's bound
	// TODO: validate that this is a well-formed image reference
	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"`
	// readyz is an optional HTTP readiness probe; when set the actor is not
	// ready until the endpoint returns 200.
	//
	// +k8s:optional
	Readyz *ContainerReadyz `protobuf:"bytes,6,opt,name=readyz,proto3" json:"readyz,omitempty"`
	// TODO: Kubernetes permits mounting a single volume at multiple paths
	// (which requires keying by mountPath). We restrict it to one mount per
	// volume (keyed by name).
	//
	// +k8s:optional
	// +k8s:maxItems=32
	// +k8s:listType=map
	// +k8s:listMapKey=name
	// +k8s:customValidation # mount_path must be unique within the container
	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. Only cpu and memory limits are supported.
	//
	// +k8s:optional
	Resources *Resources `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 added in v0.2.0

func (*Container) Descriptor() ([]byte, []int)

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetArgs added in v0.2.0

func (x *Container) GetArgs() []string

func (*Container) GetCommand added in v0.2.0

func (x *Container) GetCommand() []string

func (*Container) GetEnv added in v0.2.0

func (x *Container) GetEnv() []*EnvVar

func (*Container) GetImage added in v0.2.0

func (x *Container) GetImage() string

func (*Container) GetName added in v0.2.0

func (x *Container) GetName() string

func (*Container) GetReadyz added in v0.2.0

func (x *Container) GetReadyz() *ContainerReadyz

func (*Container) GetResources added in v0.2.0

func (x *Container) GetResources() *Resources

func (*Container) GetSecurityContext added in v0.2.0

func (x *Container) GetSecurityContext() *SecurityContext

func (*Container) GetVolumeMounts added in v0.2.0

func (x *Container) GetVolumeMounts() []*VolumeMount

func (*Container) ProtoMessage added in v0.2.0

func (*Container) ProtoMessage()

func (*Container) ProtoReflect added in v0.2.0

func (x *Container) ProtoReflect() protoreflect.Message

func (*Container) Reset added in v0.2.0

func (x *Container) Reset()

func (*Container) String added in v0.2.0

func (x *Container) String() string

type ContainerReadyz added in v0.2.0

type ContainerReadyz struct {

	// http_get specifies the HTTP request to perform. Required.
	//
	// +k8s:required
	HttpGet *HTTPGetAction `protobuf:"bytes,1,opt,name=http_get,json=httpGet,proto3" json:"http_get,omitempty"`
	// timeout_seconds bounds how long to poll http_get before failing the
	// actor start. 0 means the server-applied default (30s).
	//
	// +k8s:optional
	// +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
}

ContainerReadyz configures the readiness signal for a container.

func (*ContainerReadyz) Descriptor deprecated added in v0.2.0

func (*ContainerReadyz) Descriptor() ([]byte, []int)

Deprecated: Use ContainerReadyz.ProtoReflect.Descriptor instead.

func (*ContainerReadyz) GetHttpGet added in v0.2.0

func (x *ContainerReadyz) GetHttpGet() *HTTPGetAction

func (*ContainerReadyz) GetTimeoutSeconds added in v0.2.0

func (x *ContainerReadyz) GetTimeoutSeconds() int32

func (*ContainerReadyz) ProtoMessage added in v0.2.0

func (*ContainerReadyz) ProtoMessage()

func (*ContainerReadyz) ProtoReflect added in v0.2.0

func (x *ContainerReadyz) ProtoReflect() protoreflect.Message

func (*ContainerReadyz) Reset added in v0.2.0

func (x *ContainerReadyz) Reset()

func (*ContainerReadyz) String added in v0.2.0

func (x *ContainerReadyz) String() string

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 paused actor's node-local snapshot is uploaded, narrowed
	// to the template's commit scope where required (Full capture, Data commit).
	SuspendActor(ctx context.Context, in *SuspendActorRequest, opts ...grpc.CallOption) (*SuspendActorResponse, error)
	// Pause a given actor and keep its snapshots on node VM.
	PauseActor(ctx context.Context, in *PauseActorRequest, opts ...grpc.CallOption) (*PauseActorResponse, error)
	// Resume an actor from its latest snapshot.
	ResumeActor(ctx context.Context, in *ResumeActorRequest, opts ...grpc.CallOption) (*ResumeActorResponse, error)
	// Delete an actor. Only suspended actors can be deleted.
	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)
	// 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.
	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 is Ready and has an IP.
	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) (*Worker, 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
	// snapshot in the ActorTemplate's namespace.
	DeleteActorTemplate(ctx context.Context, in *DeleteActorTemplateRequest, opts ...grpc.CallOption) (*ActorTemplate, 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 paused actor's node-local snapshot is uploaded, narrowed
	// to the template's commit scope where required (Full capture, Data commit).
	SuspendActor(context.Context, *SuspendActorRequest) (*SuspendActorResponse, error)
	// Pause a given actor and keep its snapshots on node VM.
	PauseActor(context.Context, *PauseActorRequest) (*PauseActorResponse, error)
	// Resume an actor from its latest snapshot.
	ResumeActor(context.Context, *ResumeActorRequest) (*ResumeActorResponse, error)
	// Delete an actor. Only suspended actors can be deleted.
	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)
	// 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.
	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 is Ready and has an IP.
	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) (*Worker, 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
	// snapshot in the ActorTemplate's namespace.
	DeleteActorTemplate(context.Context, *DeleteActorTemplateRequest) (*ActorTemplate, 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 added in v0.2.0

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 added in v0.2.0

func (*CreateActorEgressPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateActorEgressPolicyRequest.ProtoReflect.Descriptor instead.

func (*CreateActorEgressPolicyRequest) GetActor added in v0.2.0

func (*CreateActorEgressPolicyRequest) GetEgressPolicy added in v0.2.0

func (x *CreateActorEgressPolicyRequest) GetEgressPolicy() *EgressPolicy

func (*CreateActorEgressPolicyRequest) ProtoMessage added in v0.2.0

func (*CreateActorEgressPolicyRequest) ProtoMessage()

func (*CreateActorEgressPolicyRequest) ProtoReflect added in v0.2.0

func (*CreateActorEgressPolicyRequest) Reset added in v0.2.0

func (x *CreateActorEgressPolicyRequest) Reset()

func (*CreateActorEgressPolicyRequest) String added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

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
	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 added in v0.2.0

func (*CreateActorTemplateRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateActorTemplateRequest.ProtoReflect.Descriptor instead.

func (*CreateActorTemplateRequest) GetActorTemplate added in v0.2.0

func (x *CreateActorTemplateRequest) GetActorTemplate() *ActorTemplate

func (*CreateActorTemplateRequest) ProtoMessage added in v0.2.0

func (*CreateActorTemplateRequest) ProtoMessage()

func (*CreateActorTemplateRequest) ProtoReflect added in v0.2.0

func (*CreateActorTemplateRequest) Reset added in v0.2.0

func (x *CreateActorTemplateRequest) Reset()

func (*CreateActorTemplateRequest) String added in v0.2.0

func (x *CreateActorTemplateRequest) String() string

type CreateAtespaceRequest added in v0.2.0

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 added in v0.2.0

func (*CreateAtespaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateAtespaceRequest.ProtoReflect.Descriptor instead.

func (*CreateAtespaceRequest) GetAtespace added in v0.2.0

func (x *CreateAtespaceRequest) GetAtespace() *Atespace

func (*CreateAtespaceRequest) ProtoMessage added in v0.2.0

func (*CreateAtespaceRequest) ProtoMessage()

func (*CreateAtespaceRequest) ProtoReflect added in v0.2.0

func (x *CreateAtespaceRequest) ProtoReflect() protoreflect.Message

func (*CreateAtespaceRequest) Reset added in v0.2.0

func (x *CreateAtespaceRequest) Reset()

func (*CreateAtespaceRequest) String added in v0.2.0

func (x *CreateAtespaceRequest) String() string

type CreateTagRequest added in v0.2.0

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 added in v0.2.0

func (*CreateTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTagRequest.ProtoReflect.Descriptor instead.

func (*CreateTagRequest) GetTag added in v0.2.0

func (x *CreateTagRequest) GetTag() *Tag

func (*CreateTagRequest) ProtoMessage added in v0.2.0

func (*CreateTagRequest) ProtoMessage()

func (*CreateTagRequest) ProtoReflect added in v0.2.0

func (x *CreateTagRequest) ProtoReflect() protoreflect.Message

func (*CreateTagRequest) Reset added in v0.2.0

func (x *CreateTagRequest) Reset()

func (*CreateTagRequest) String added in v0.2.0

func (x *CreateTagRequest) String() string

type CreateWorkerRequest added in v0.2.0

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 added in v0.2.0

func (*CreateWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateWorkerRequest.ProtoReflect.Descriptor instead.

func (*CreateWorkerRequest) GetWorker added in v0.2.0

func (x *CreateWorkerRequest) GetWorker() *Worker

func (*CreateWorkerRequest) ProtoMessage added in v0.2.0

func (*CreateWorkerRequest) ProtoMessage()

func (*CreateWorkerRequest) ProtoReflect added in v0.2.0

func (x *CreateWorkerRequest) ProtoReflect() protoreflect.Message

func (*CreateWorkerRequest) Reset added in v0.2.0

func (x *CreateWorkerRequest) Reset()

func (*CreateWorkerRequest) String added in v0.2.0

func (x *CreateWorkerRequest) String() string

type CredentialHeaderInjection added in v0.2.0

type CredentialHeaderInjection struct {

	// The case-insensitive HTTP request header to inject.
	//
	// +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:
	// substrate-secret://<provider-class>/<provider-name>/<provider-specific-tail>
	//
	// +k8s:required
	// +k8s:customValidation # format
	CredentialUri string `protobuf:"bytes,3,opt,name=credential_uri,json=credentialUri,proto3" json:"credential_uri,omitempty"`
	// contains filtered or unexported fields
}

CredentialHeaderInjection injects credential-provider material into an HTTP request header.

func (*CredentialHeaderInjection) Descriptor deprecated added in v0.2.0

func (*CredentialHeaderInjection) Descriptor() ([]byte, []int)

Deprecated: Use CredentialHeaderInjection.ProtoReflect.Descriptor instead.

func (*CredentialHeaderInjection) GetCredentialUri added in v0.2.0

func (x *CredentialHeaderInjection) GetCredentialUri() string

func (*CredentialHeaderInjection) GetHeader added in v0.2.0

func (x *CredentialHeaderInjection) GetHeader() string

func (*CredentialHeaderInjection) GetPrefix added in v0.2.0

func (x *CredentialHeaderInjection) GetPrefix() string

func (*CredentialHeaderInjection) ProtoMessage added in v0.2.0

func (*CredentialHeaderInjection) ProtoMessage()

func (*CredentialHeaderInjection) ProtoReflect added in v0.2.0

func (*CredentialHeaderInjection) Reset added in v0.2.0

func (x *CredentialHeaderInjection) Reset()

func (*CredentialHeaderInjection) String added in v0.2.0

func (x *CredentialHeaderInjection) String() string

type DeleteActorEgressPolicyRequest added in v0.2.0

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"`
	// contains filtered or unexported fields
}

DeleteActorEgressPolicyRequest identifies an Actor's egress policy.

func (*DeleteActorEgressPolicyRequest) Descriptor deprecated added in v0.2.0

func (*DeleteActorEgressPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteActorEgressPolicyRequest.ProtoReflect.Descriptor instead.

func (*DeleteActorEgressPolicyRequest) GetActor added in v0.2.0

func (*DeleteActorEgressPolicyRequest) ProtoMessage added in v0.2.0

func (*DeleteActorEgressPolicyRequest) ProtoMessage()

func (*DeleteActorEgressPolicyRequest) ProtoReflect added in v0.2.0

func (*DeleteActorEgressPolicyRequest) Reset added in v0.2.0

func (x *DeleteActorEgressPolicyRequest) Reset()

func (*DeleteActorEgressPolicyRequest) String added in v0.2.0

type DeleteActorRequest

type DeleteActorRequest struct {

	// +k8s:required
	// +k8s:subfield(atespace)=+k8s:required
	Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
	// If true, delete the actor regardless of its state.
	//
	// +k8s:optional
	AnyState bool `protobuf:"varint,2,opt,name=any_state,json=anyState,proto3" json:"any_state,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteActorRequest) Descriptor deprecated

func (*DeleteActorRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteActorRequest.ProtoReflect.Descriptor instead.

func (*DeleteActorRequest) GetActor added in v0.2.0

func (x *DeleteActorRequest) GetActor() *ObjectRef

func (*DeleteActorRequest) GetAnyState added in v0.2.0

func (x *DeleteActorRequest) GetAnyState() bool

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 added in v0.2.0

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"`
	// contains filtered or unexported fields
}

func (*DeleteActorTemplateRequest) Descriptor deprecated added in v0.2.0

func (*DeleteActorTemplateRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteActorTemplateRequest.ProtoReflect.Descriptor instead.

func (*DeleteActorTemplateRequest) GetActorTemplate added in v0.2.0

func (x *DeleteActorTemplateRequest) GetActorTemplate() *ObjectRef

func (*DeleteActorTemplateRequest) ProtoMessage added in v0.2.0

func (*DeleteActorTemplateRequest) ProtoMessage()

func (*DeleteActorTemplateRequest) ProtoReflect added in v0.2.0

func (*DeleteActorTemplateRequest) Reset added in v0.2.0

func (x *DeleteActorTemplateRequest) Reset()

func (*DeleteActorTemplateRequest) String added in v0.2.0

func (x *DeleteActorTemplateRequest) String() string

type DeleteAtespaceRequest added in v0.2.0

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"`
	// contains filtered or unexported fields
}

func (*DeleteAtespaceRequest) Descriptor deprecated added in v0.2.0

func (*DeleteAtespaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAtespaceRequest.ProtoReflect.Descriptor instead.

func (*DeleteAtespaceRequest) GetAtespace added in v0.2.0

func (x *DeleteAtespaceRequest) GetAtespace() *ObjectRef

func (*DeleteAtespaceRequest) ProtoMessage added in v0.2.0

func (*DeleteAtespaceRequest) ProtoMessage()

func (*DeleteAtespaceRequest) ProtoReflect added in v0.2.0

func (x *DeleteAtespaceRequest) ProtoReflect() protoreflect.Message

func (*DeleteAtespaceRequest) Reset added in v0.2.0

func (x *DeleteAtespaceRequest) Reset()

func (*DeleteAtespaceRequest) String added in v0.2.0

func (x *DeleteAtespaceRequest) String() string

type DeleteOptions added in v0.2.0

type DeleteOptions struct {

	// If non-zero, delete only if the server's current version matches.
	//
	// +k8s:optional
	// +k8s:minimum=1
	Version int64 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	// If non-empty, delete only if the server's current uid matches. Guards
	// against name reuse across lifecycles.
	//
	// +k8s:optional
	// +k8s:format=k8s-uuid
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

DeleteOptions carries per-delete controls. Today it holds optional preconditions that guard against acting on a resource that is not in the state the caller expects. Future delete-specific controls (e.g. dry-run) should be added here.

Intended to be reused across every Delete<Type>Request; only DeleteWorkerRequest carries it so far.

func (*DeleteOptions) Descriptor deprecated added in v0.2.0

func (*DeleteOptions) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOptions.ProtoReflect.Descriptor instead.

func (*DeleteOptions) GetUid added in v0.2.0

func (x *DeleteOptions) GetUid() string

func (*DeleteOptions) GetVersion added in v0.2.0

func (x *DeleteOptions) GetVersion() int64

func (*DeleteOptions) ProtoMessage added in v0.2.0

func (*DeleteOptions) ProtoMessage()

func (*DeleteOptions) ProtoReflect added in v0.2.0

func (x *DeleteOptions) ProtoReflect() protoreflect.Message

func (*DeleteOptions) Reset added in v0.2.0

func (x *DeleteOptions) Reset()

func (*DeleteOptions) String added in v0.2.0

func (x *DeleteOptions) String() string

type DeleteTagRequest added in v0.2.0

type DeleteTagRequest 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 (*DeleteTagRequest) Descriptor deprecated added in v0.2.0

func (*DeleteTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteTagRequest.ProtoReflect.Descriptor instead.

func (*DeleteTagRequest) GetTag added in v0.2.0

func (x *DeleteTagRequest) GetTag() *ObjectRef

func (*DeleteTagRequest) ProtoMessage added in v0.2.0

func (*DeleteTagRequest) ProtoMessage()

func (*DeleteTagRequest) ProtoReflect added in v0.2.0

func (x *DeleteTagRequest) ProtoReflect() protoreflect.Message

func (*DeleteTagRequest) Reset added in v0.2.0

func (x *DeleteTagRequest) Reset()

func (*DeleteTagRequest) String added in v0.2.0

func (x *DeleteTagRequest) String() string

type DeleteWorkerRequest added in v0.2.0

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 added in v0.2.0

func (*DeleteWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteWorkerRequest.ProtoReflect.Descriptor instead.

func (*DeleteWorkerRequest) GetOptions added in v0.2.0

func (x *DeleteWorkerRequest) GetOptions() *DeleteOptions

func (*DeleteWorkerRequest) GetWorker added in v0.2.0

func (x *DeleteWorkerRequest) GetWorker() *ObjectRef

func (*DeleteWorkerRequest) ProtoMessage added in v0.2.0

func (*DeleteWorkerRequest) ProtoMessage()

func (*DeleteWorkerRequest) ProtoReflect added in v0.2.0

func (x *DeleteWorkerRequest) ProtoReflect() protoreflect.Message

func (*DeleteWorkerRequest) Reset added in v0.2.0

func (x *DeleteWorkerRequest) Reset()

func (*DeleteWorkerRequest) String added in v0.2.0

func (x *DeleteWorkerRequest) String() string

type DrainWorkerRequest added in v0.2.0

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 added in v0.2.0

func (*DrainWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use DrainWorkerRequest.ProtoReflect.Descriptor instead.

func (*DrainWorkerRequest) GetWorker added in v0.2.0

func (x *DrainWorkerRequest) GetWorker() *ObjectRef

func (*DrainWorkerRequest) ProtoMessage added in v0.2.0

func (*DrainWorkerRequest) ProtoMessage()

func (*DrainWorkerRequest) ProtoReflect added in v0.2.0

func (x *DrainWorkerRequest) ProtoReflect() protoreflect.Message

func (*DrainWorkerRequest) Reset added in v0.2.0

func (x *DrainWorkerRequest) Reset()

func (*DrainWorkerRequest) String added in v0.2.0

func (x *DrainWorkerRequest) String() string

type DurableDirVolumeSource added in v0.2.0

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 added in v0.2.0

func (*DurableDirVolumeSource) Descriptor() ([]byte, []int)

Deprecated: Use DurableDirVolumeSource.ProtoReflect.Descriptor instead.

func (*DurableDirVolumeSource) ProtoMessage added in v0.2.0

func (*DurableDirVolumeSource) ProtoMessage()

func (*DurableDirVolumeSource) ProtoReflect added in v0.2.0

func (x *DurableDirVolumeSource) ProtoReflect() protoreflect.Message

func (*DurableDirVolumeSource) Reset added in v0.2.0

func (x *DurableDirVolumeSource) Reset()

func (*DurableDirVolumeSource) String added in v0.2.0

func (x *DurableDirVolumeSource) String() string

type EgressPolicy added in v0.2.0

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 evaluated in order. The first matching rule authorizes the
	// request, only that rule's effects are applied, and evaluation stops even if
	// later rules would also match. A request is denied when no rule matches.
	//
	// +k8s:optional
	// +k8s:maxItems=256
	// +k8s:listType=atomic # rule order matters
	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 added in v0.2.0

func (*EgressPolicy) Descriptor() ([]byte, []int)

Deprecated: Use EgressPolicy.ProtoReflect.Descriptor instead.

func (*EgressPolicy) GetMetadata added in v0.2.0

func (x *EgressPolicy) GetMetadata() *ResourceMetadata

func (*EgressPolicy) GetRules added in v0.2.0

func (x *EgressPolicy) GetRules() []*EgressRule

func (*EgressPolicy) ProtoMessage added in v0.2.0

func (*EgressPolicy) ProtoMessage()

func (*EgressPolicy) ProtoReflect added in v0.2.0

func (x *EgressPolicy) ProtoReflect() protoreflect.Message

func (*EgressPolicy) Reset added in v0.2.0

func (x *EgressPolicy) Reset()

func (*EgressPolicy) String added in v0.2.0

func (x *EgressPolicy) String() string

type EgressRule added in v0.2.0

type EgressRule struct {

	// Matches when the request hostname matches any configured pattern. Effects
	// are applied once when the rule matches.
	//
	// +k8s:optional
	// +k8s:unionMember
	Hostnames *HostnameRule `protobuf:"bytes,1,opt,name=hostnames,proto3" json:"hostnames,omitempty"`
	// Matches when the original destination IP belongs to any configured block.
	//
	// +k8s:optional
	// +k8s:unionMember
	IpBlocks *IPBlockRule `protobuf:"bytes,2,opt,name=ip_blocks,json=ipBlocks,proto3" json:"ip_blocks,omitempty"`
	// Matches every destination.
	//
	// +k8s:optional
	// +k8s:unionMember
	All *emptypb.Empty `protobuf:"bytes,3,opt,name=all,proto3" json:"all,omitempty"`
	// contains filtered or unexported fields
}

EgressRule authorizes a request using exactly one destination matcher.

func (*EgressRule) Descriptor deprecated added in v0.2.0

func (*EgressRule) Descriptor() ([]byte, []int)

Deprecated: Use EgressRule.ProtoReflect.Descriptor instead.

func (*EgressRule) GetAll added in v0.2.0

func (x *EgressRule) GetAll() *emptypb.Empty

func (*EgressRule) GetHostnames added in v0.2.0

func (x *EgressRule) GetHostnames() *HostnameRule

func (*EgressRule) GetIpBlocks added in v0.2.0

func (x *EgressRule) GetIpBlocks() *IPBlockRule

func (*EgressRule) ProtoMessage added in v0.2.0

func (*EgressRule) ProtoMessage()

func (*EgressRule) ProtoReflect added in v0.2.0

func (x *EgressRule) ProtoReflect() protoreflect.Message

func (*EgressRule) Reset added in v0.2.0

func (x *EgressRule) Reset()

func (*EgressRule) String added in v0.2.0

func (x *EgressRule) String() string

type EgressRuleEffects added in v0.2.0

type EgressRuleEffects struct {

	// Injects values retrieved from credential providers into request headers.
	// Header names must be unique case-insensitively.
	//
	// +k8s:optional
	// +k8s:maxItems=16
	// +k8s:listType=map
	// +k8s:listMapKey=header
	// +k8s:customUnique # case-insensitive
	// +k8s:customValidation # for duplicate headers
	InjectStaticHeaders []*CredentialHeaderInjection `protobuf:"bytes,1,rep,name=inject_static_headers,json=injectStaticHeaders,proto3" json:"inject_static_headers,omitempty"`
	// contains filtered or unexported fields
}

EgressRuleEffects contains effects applied by a matching hostname rule.

+k8s:customValidation # for "at least one" and duplicate headers

func (*EgressRuleEffects) Descriptor deprecated added in v0.2.0

func (*EgressRuleEffects) Descriptor() ([]byte, []int)

Deprecated: Use EgressRuleEffects.ProtoReflect.Descriptor instead.

func (*EgressRuleEffects) GetInjectStaticHeaders added in v0.2.0

func (x *EgressRuleEffects) GetInjectStaticHeaders() []*CredentialHeaderInjection

func (*EgressRuleEffects) ProtoMessage added in v0.2.0

func (*EgressRuleEffects) ProtoMessage()

func (*EgressRuleEffects) ProtoReflect added in v0.2.0

func (x *EgressRuleEffects) ProtoReflect() protoreflect.Message

func (*EgressRuleEffects) Reset added in v0.2.0

func (x *EgressRuleEffects) Reset()

func (*EgressRuleEffects) String added in v0.2.0

func (x *EgressRuleEffects) String() string

type EnvVar added in v0.2.0

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 added in v0.2.0

func (*EnvVar) Descriptor() ([]byte, []int)

Deprecated: Use EnvVar.ProtoReflect.Descriptor instead.

func (*EnvVar) GetName added in v0.2.0

func (x *EnvVar) GetName() string

func (*EnvVar) GetValue added in v0.2.0

func (x *EnvVar) GetValue() string

func (*EnvVar) ProtoMessage added in v0.2.0

func (*EnvVar) ProtoMessage()

func (*EnvVar) ProtoReflect added in v0.2.0

func (x *EnvVar) ProtoReflect() protoreflect.Message

func (*EnvVar) Reset added in v0.2.0

func (x *EnvVar) Reset()

func (*EnvVar) String added in v0.2.0

func (x *EnvVar) String() string

type ExternalSnapshot added in v0.2.0

type ExternalSnapshot struct {

	// snapshot_uri addresses the snapshot's prefix in object storage.
	//
	// +k8s:required
	SnapshotUri string `protobuf:"bytes,1,opt,name=snapshot_uri,json=snapshotUri,proto3" json:"snapshot_uri,omitempty"`
	// content_scope is what the snapshot captured.
	//
	// +k8s:optional
	// +k8s:minimum=1
	// +k8s:maximum=2 # keep this in sync with the SnapshotContentScope enum
	ContentScope SnapshotContentScope `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

ExternalSnapshot addresses a snapshot held in object storage.

func (*ExternalSnapshot) Descriptor deprecated added in v0.2.0

func (*ExternalSnapshot) Descriptor() ([]byte, []int)

Deprecated: Use ExternalSnapshot.ProtoReflect.Descriptor instead.

func (*ExternalSnapshot) GetContentScope added in v0.2.0

func (x *ExternalSnapshot) GetContentScope() SnapshotContentScope

func (*ExternalSnapshot) GetSnapshotUri added in v0.2.0

func (x *ExternalSnapshot) GetSnapshotUri() string

func (*ExternalSnapshot) ProtoMessage added in v0.2.0

func (*ExternalSnapshot) ProtoMessage()

func (*ExternalSnapshot) ProtoReflect added in v0.2.0

func (x *ExternalSnapshot) ProtoReflect() protoreflect.Message

func (*ExternalSnapshot) Reset added in v0.2.0

func (x *ExternalSnapshot) Reset()

func (*ExternalSnapshot) String added in v0.2.0

func (x *ExternalSnapshot) String() string

type ExternalVolume added in v0.2.0

type ExternalVolume 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
	VolumeName string `protobuf:"bytes,1,opt,name=volume_name,json=volumeName,proto3" json:"volume_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 volume_name above
	// +k8s:customValidation
	VolumeType string `protobuf:"bytes,3,opt,name=volume_type,json=volumeType,proto3" json:"volume_type,omitempty"`
	// +k8s:optional
	// +k8s:minimum=1
	// +k8s:maximum=3 # keep this in sync with the Status enum
	Status ExternalVolume_Status `protobuf:"varint,4,opt,name=status,proto3,enum=ateapi.ExternalVolume_Status" json:"status,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 they are only bounded,
	// not validated.
	//
	// +k8s:optional
	// +k8s:maxProperties=32
	// +k8s:eachKey=+k8s:maxLength=128
	// +k8s:eachVal=+k8s:maxLength=256
	VolumeContext map[string]string `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ExternalVolume) Descriptor deprecated added in v0.2.0

func (*ExternalVolume) Descriptor() ([]byte, []int)

Deprecated: Use ExternalVolume.ProtoReflect.Descriptor instead.

func (*ExternalVolume) GetStatus added in v0.2.0

func (x *ExternalVolume) GetStatus() ExternalVolume_Status

func (*ExternalVolume) GetStorageVolumeId added in v0.2.0

func (x *ExternalVolume) GetStorageVolumeId() string

func (*ExternalVolume) GetVolumeContext added in v0.2.0

func (x *ExternalVolume) GetVolumeContext() map[string]string

func (*ExternalVolume) GetVolumeName added in v0.2.0

func (x *ExternalVolume) GetVolumeName() string

func (*ExternalVolume) GetVolumeType added in v0.2.0

func (x *ExternalVolume) GetVolumeType() string

func (*ExternalVolume) ProtoMessage added in v0.2.0

func (*ExternalVolume) ProtoMessage()

func (*ExternalVolume) ProtoReflect added in v0.2.0

func (x *ExternalVolume) ProtoReflect() protoreflect.Message

func (*ExternalVolume) Reset added in v0.2.0

func (x *ExternalVolume) Reset()

func (*ExternalVolume) String added in v0.2.0

func (x *ExternalVolume) String() string

type ExternalVolumeTemplate added in v0.2.0

type ExternalVolumeTemplate struct {

	// capacity of the volume to create, in Kubernetes resource.Quantity string
	// form (e.g. "10Gi"). Required.
	//
	// +k8s:required
	// +k8s:customValidation # must parse as a resource.Quantity
	Capacity string `protobuf:"bytes,1,opt,name=capacity,proto3" json:"capacity,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. Not supported with SANDBOX_CLASS_MICROVM.

func (*ExternalVolumeTemplate) Descriptor deprecated added in v0.2.0

func (*ExternalVolumeTemplate) Descriptor() ([]byte, []int)

Deprecated: Use ExternalVolumeTemplate.ProtoReflect.Descriptor instead.

func (*ExternalVolumeTemplate) GetCapacity added in v0.2.0

func (x *ExternalVolumeTemplate) GetCapacity() string

func (*ExternalVolumeTemplate) GetStorageClassName added in v0.2.0

func (x *ExternalVolumeTemplate) GetStorageClassName() string

func (*ExternalVolumeTemplate) ProtoMessage added in v0.2.0

func (*ExternalVolumeTemplate) ProtoMessage()

func (*ExternalVolumeTemplate) ProtoReflect added in v0.2.0

func (x *ExternalVolumeTemplate) ProtoReflect() protoreflect.Message

func (*ExternalVolumeTemplate) Reset added in v0.2.0

func (x *ExternalVolumeTemplate) Reset()

func (*ExternalVolumeTemplate) String added in v0.2.0

func (x *ExternalVolumeTemplate) String() string

type ExternalVolume_Status added in v0.2.0

type ExternalVolume_Status int32
const (
	ExternalVolume_STATUS_UNSPECIFIED ExternalVolume_Status = 0
	// Volume creation pending in the storage system.
	ExternalVolume_STATUS_PENDING ExternalVolume_Status = 1
	// Volume successfully created in the storage system.
	ExternalVolume_STATUS_CREATED ExternalVolume_Status = 2
	// Volume being deleted from the storage system.
	ExternalVolume_STATUS_DELETING ExternalVolume_Status = 3 // Keep this in sync with ExternalVolume.status's maximum.
)

func (ExternalVolume_Status) Descriptor added in v0.2.0

func (ExternalVolume_Status) Enum added in v0.2.0

func (ExternalVolume_Status) EnumDescriptor deprecated added in v0.2.0

func (ExternalVolume_Status) EnumDescriptor() ([]byte, []int)

Deprecated: Use ExternalVolume_Status.Descriptor instead.

func (ExternalVolume_Status) Number added in v0.2.0

func (ExternalVolume_Status) String added in v0.2.0

func (x ExternalVolume_Status) String() string

func (ExternalVolume_Status) Type added in v0.2.0

type GetActorEgressPolicyRequest added in v0.2.0

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"`
	// contains filtered or unexported fields
}

GetActorEgressPolicyRequest identifies an Actor's egress policy.

func (*GetActorEgressPolicyRequest) Descriptor deprecated added in v0.2.0

func (*GetActorEgressPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetActorEgressPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetActorEgressPolicyRequest) GetActor added in v0.2.0

func (x *GetActorEgressPolicyRequest) GetActor() *ObjectRef

func (*GetActorEgressPolicyRequest) ProtoMessage added in v0.2.0

func (*GetActorEgressPolicyRequest) ProtoMessage()

func (*GetActorEgressPolicyRequest) ProtoReflect added in v0.2.0

func (*GetActorEgressPolicyRequest) Reset added in v0.2.0

func (x *GetActorEgressPolicyRequest) Reset()

func (*GetActorEgressPolicyRequest) String added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (*GetActorTemplateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetActorTemplateRequest.ProtoReflect.Descriptor instead.

func (*GetActorTemplateRequest) GetActorTemplate added in v0.2.0

func (x *GetActorTemplateRequest) GetActorTemplate() *ObjectRef

func (*GetActorTemplateRequest) ProtoMessage added in v0.2.0

func (*GetActorTemplateRequest) ProtoMessage()

func (*GetActorTemplateRequest) ProtoReflect added in v0.2.0

func (x *GetActorTemplateRequest) ProtoReflect() protoreflect.Message

func (*GetActorTemplateRequest) Reset added in v0.2.0

func (x *GetActorTemplateRequest) Reset()

func (*GetActorTemplateRequest) String added in v0.2.0

func (x *GetActorTemplateRequest) String() string

type GetAtespaceRequest added in v0.2.0

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 added in v0.2.0

func (*GetAtespaceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAtespaceRequest.ProtoReflect.Descriptor instead.

func (*GetAtespaceRequest) GetAtespace added in v0.2.0

func (x *GetAtespaceRequest) GetAtespace() *ObjectRef

func (*GetAtespaceRequest) ProtoMessage added in v0.2.0

func (*GetAtespaceRequest) ProtoMessage()

func (*GetAtespaceRequest) ProtoReflect added in v0.2.0

func (x *GetAtespaceRequest) ProtoReflect() protoreflect.Message

func (*GetAtespaceRequest) Reset added in v0.2.0

func (x *GetAtespaceRequest) Reset()

func (*GetAtespaceRequest) String added in v0.2.0

func (x *GetAtespaceRequest) String() string

type GetTagRequest added in v0.2.0

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 added in v0.2.0

func (*GetTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTagRequest.ProtoReflect.Descriptor instead.

func (*GetTagRequest) GetTag added in v0.2.0

func (x *GetTagRequest) GetTag() *ObjectRef

func (*GetTagRequest) ProtoMessage added in v0.2.0

func (*GetTagRequest) ProtoMessage()

func (*GetTagRequest) ProtoReflect added in v0.2.0

func (x *GetTagRequest) ProtoReflect() protoreflect.Message

func (*GetTagRequest) Reset added in v0.2.0

func (x *GetTagRequest) Reset()

func (*GetTagRequest) String added in v0.2.0

func (x *GetTagRequest) String() string

type GetWorkerRequest added in v0.2.0

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 added in v0.2.0

func (*GetWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetWorkerRequest.ProtoReflect.Descriptor instead.

func (*GetWorkerRequest) GetWorker added in v0.2.0

func (x *GetWorkerRequest) GetWorker() *ObjectRef

func (*GetWorkerRequest) ProtoMessage added in v0.2.0

func (*GetWorkerRequest) ProtoMessage()

func (*GetWorkerRequest) ProtoReflect added in v0.2.0

func (x *GetWorkerRequest) ProtoReflect() protoreflect.Message

func (*GetWorkerRequest) Reset added in v0.2.0

func (x *GetWorkerRequest) Reset()

func (*GetWorkerRequest) String added in v0.2.0

func (x *GetWorkerRequest) String() string

type GoldenSnapshotStatus added in v0.2.0

type GoldenSnapshotStatus struct {

	// golden_snapshot is the external snapshot built for this version by
	// ate-api, taken from the golden Actor in the reserved ate-golden system
	// atespace. Set once state is READY. The golden Actor owns it.
	//
	// +k8s:optional
	GoldenSnapshot *ExternalSnapshot `protobuf:"bytes,1,opt,name=golden_snapshot,json=goldenSnapshot,proto3" json:"golden_snapshot,omitempty"`
	// take_golden_snapshot_at is when the golden-actor warmup ends and the
	// golden snapshot may be taken.
	TakeGoldenSnapshotAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=take_golden_snapshot_at,json=takeGoldenSnapshotAt,proto3" json:"take_golden_snapshot_at,omitempty"`
	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 added in v0.2.0

func (*GoldenSnapshotStatus) Descriptor() ([]byte, []int)

Deprecated: Use GoldenSnapshotStatus.ProtoReflect.Descriptor instead.

func (*GoldenSnapshotStatus) GetErrorMessage added in v0.2.0

func (x *GoldenSnapshotStatus) GetErrorMessage() string

func (*GoldenSnapshotStatus) GetGoldenSnapshot added in v0.2.0

func (x *GoldenSnapshotStatus) GetGoldenSnapshot() *ExternalSnapshot

func (*GoldenSnapshotStatus) GetTakeGoldenSnapshotAt added in v0.2.0

func (x *GoldenSnapshotStatus) GetTakeGoldenSnapshotAt() *timestamppb.Timestamp

func (*GoldenSnapshotStatus) ProtoMessage added in v0.2.0

func (*GoldenSnapshotStatus) ProtoMessage()

func (*GoldenSnapshotStatus) ProtoReflect added in v0.2.0

func (x *GoldenSnapshotStatus) ProtoReflect() protoreflect.Message

func (*GoldenSnapshotStatus) Reset added in v0.2.0

func (x *GoldenSnapshotStatus) Reset()

func (*GoldenSnapshotStatus) String added in v0.2.0

func (x *GoldenSnapshotStatus) String() string

type HTTPGetAction added in v0.2.0

type HTTPGetAction struct {

	// path defaults to "/readyz". Must be a URL path starting with "/", using
	// only RFC 3986 path-segment characters, without query or fragment.
	//
	// +k8s:optional
	// +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"`
	// +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 an HTTP GET against the container's interior IP.

func (*HTTPGetAction) Descriptor deprecated added in v0.2.0

func (*HTTPGetAction) Descriptor() ([]byte, []int)

Deprecated: Use HTTPGetAction.ProtoReflect.Descriptor instead.

func (*HTTPGetAction) GetPath added in v0.2.0

func (x *HTTPGetAction) GetPath() string

func (*HTTPGetAction) GetPort added in v0.2.0

func (x *HTTPGetAction) GetPort() int32

func (*HTTPGetAction) ProtoMessage added in v0.2.0

func (*HTTPGetAction) ProtoMessage()

func (*HTTPGetAction) ProtoReflect added in v0.2.0

func (x *HTTPGetAction) ProtoReflect() protoreflect.Message

func (*HTTPGetAction) Reset added in v0.2.0

func (x *HTTPGetAction) Reset()

func (*HTTPGetAction) String added in v0.2.0

func (x *HTTPGetAction) String() string

type HostnameRule added in v0.2.0

type HostnameRule struct {

	// DNS names, or DNS names with a wildcard "*" in the 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". No other wildcard syntax is
	// accepted. A pattern without a wildcard matches only the complete normalized
	// name.
	//
	// 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
	Patterns []string `protobuf:"bytes,1,rep,name=patterns,proto3" json:"patterns,omitempty"`
	// Effects do not authorize traffic. They are applied only when this is the
	// first matching rule.
	//
	// +k8s:optional
	Effects *EgressRuleEffects `protobuf:"bytes,2,opt,name=effects,proto3" json:"effects,omitempty"`
	// contains filtered or unexported fields
}

HostnameRule matches requests by destination hostname.

func (*HostnameRule) Descriptor deprecated added in v0.2.0

func (*HostnameRule) Descriptor() ([]byte, []int)

Deprecated: Use HostnameRule.ProtoReflect.Descriptor instead.

func (*HostnameRule) GetEffects added in v0.2.0

func (x *HostnameRule) GetEffects() *EgressRuleEffects

func (*HostnameRule) GetPatterns added in v0.2.0

func (x *HostnameRule) GetPatterns() []string

func (*HostnameRule) ProtoMessage added in v0.2.0

func (*HostnameRule) ProtoMessage()

func (*HostnameRule) ProtoReflect added in v0.2.0

func (x *HostnameRule) ProtoReflect() protoreflect.Message

func (*HostnameRule) Reset added in v0.2.0

func (x *HostnameRule) Reset()

func (*HostnameRule) String added in v0.2.0

func (x *HostnameRule) String() string

type IPBlockRule added in v0.2.0

type IPBlockRule struct {

	// Canonical IPv4 or IPv6 CIDR prefixes. IPv4 uses dotted-decimal notation,
	// such as "192.0.2.0/24". IPv6 uses lowercase compressed notation, such as
	// "2001:db8::/32". Bits after the prefix length must be zero. The rule
	// matches when the original destination IP belongs to any prefix.
	//
	// +k8s:required
	// +k8s:maxItems=256
	// +k8s:listType=set
	// +k8s:customValidation # format
	Cidrs []string `protobuf:"bytes,1,rep,name=cidrs,proto3" json:"cidrs,omitempty"`
	// contains filtered or unexported fields
}

IPBlockRule matches requests by original destination IP address.

func (*IPBlockRule) Descriptor deprecated added in v0.2.0

func (*IPBlockRule) Descriptor() ([]byte, []int)

Deprecated: Use IPBlockRule.ProtoReflect.Descriptor instead.

func (*IPBlockRule) GetCidrs added in v0.2.0

func (x *IPBlockRule) GetCidrs() []string

func (*IPBlockRule) ProtoMessage added in v0.2.0

func (*IPBlockRule) ProtoMessage()

func (*IPBlockRule) ProtoReflect added in v0.2.0

func (x *IPBlockRule) ProtoReflect() protoreflect.Message

func (*IPBlockRule) Reset added in v0.2.0

func (x *IPBlockRule) Reset()

func (*IPBlockRule) String added in v0.2.0

func (x *IPBlockRule) String() string

type ImageVolumeSource added in v0.2.0

type ImageVolumeSource struct {

	// reference is the OCI image reference, pinned by digest.
	//
	// +k8s:required
	// +k8s:maxLength=512
	// +k8s:customValidation # must be pinned by digest; no contains tag exists
	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 be pinned by digest: changing the image invalidates snapshots.

func (*ImageVolumeSource) Descriptor deprecated added in v0.2.0

func (*ImageVolumeSource) Descriptor() ([]byte, []int)

Deprecated: Use ImageVolumeSource.ProtoReflect.Descriptor instead.

func (*ImageVolumeSource) GetReference added in v0.2.0

func (x *ImageVolumeSource) GetReference() string

func (*ImageVolumeSource) ProtoMessage added in v0.2.0

func (*ImageVolumeSource) ProtoMessage()

func (*ImageVolumeSource) ProtoReflect added in v0.2.0

func (x *ImageVolumeSource) ProtoReflect() protoreflect.Message

func (*ImageVolumeSource) Reset added in v0.2.0

func (x *ImageVolumeSource) Reset()

func (*ImageVolumeSource) String added in v0.2.0

func (x *ImageVolumeSource) String() string

type Limits added in v0.2.0

type Limits struct {

	// +k8s:required
	// +k8s:maxLength=16 # the hook on Resources.limits restricts values to cpu/memory
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// quantity is in Kubernetes resource.Quantity string form (e.g. "500m",
	// "2Gi").
	//
	// +k8s:required
	// +k8s:maxLength=32 # the hook on Resources.limits requires a parseable quantity
	Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// contains filtered or unexported fields
}

func (*Limits) Descriptor deprecated added in v0.2.0

func (*Limits) Descriptor() ([]byte, []int)

Deprecated: Use Limits.ProtoReflect.Descriptor instead.

func (*Limits) GetName added in v0.2.0

func (x *Limits) GetName() string

func (*Limits) GetQuantity added in v0.2.0

func (x *Limits) GetQuantity() string

func (*Limits) ProtoMessage added in v0.2.0

func (*Limits) ProtoMessage()

func (*Limits) ProtoReflect added in v0.2.0

func (x *Limits) ProtoReflect() protoreflect.Message

func (*Limits) Reset added in v0.2.0

func (x *Limits) Reset()

func (*Limits) String added in v0.2.0

func (x *Limits) String() string

type ListActorTemplatesRequest added in v0.2.0

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"`
	// 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,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Pagination token from a previous ListActorTemplates response.
	// Omit or leave empty for the first request.
	//
	// +k8s:optional
	// +k8s:maxLength=256
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListActorTemplatesRequest) Descriptor deprecated added in v0.2.0

func (*ListActorTemplatesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListActorTemplatesRequest.ProtoReflect.Descriptor instead.

func (*ListActorTemplatesRequest) GetAtespace added in v0.2.0

func (x *ListActorTemplatesRequest) GetAtespace() string

func (*ListActorTemplatesRequest) GetPageSize added in v0.2.0

func (x *ListActorTemplatesRequest) GetPageSize() int32

func (*ListActorTemplatesRequest) GetPageToken added in v0.2.0

func (x *ListActorTemplatesRequest) GetPageToken() string

func (*ListActorTemplatesRequest) ProtoMessage added in v0.2.0

func (*ListActorTemplatesRequest) ProtoMessage()

func (*ListActorTemplatesRequest) ProtoReflect added in v0.2.0

func (*ListActorTemplatesRequest) Reset added in v0.2.0

func (x *ListActorTemplatesRequest) Reset()

func (*ListActorTemplatesRequest) String added in v0.2.0

func (x *ListActorTemplatesRequest) String() string

type ListActorTemplatesResponse added in v0.2.0

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 added in v0.2.0

func (*ListActorTemplatesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListActorTemplatesResponse.ProtoReflect.Descriptor instead.

func (*ListActorTemplatesResponse) GetActorTemplates added in v0.2.0

func (x *ListActorTemplatesResponse) GetActorTemplates() []*ActorTemplate

func (*ListActorTemplatesResponse) GetNextPageToken added in v0.2.0

func (x *ListActorTemplatesResponse) GetNextPageToken() string

func (*ListActorTemplatesResponse) ProtoMessage added in v0.2.0

func (*ListActorTemplatesResponse) ProtoMessage()

func (*ListActorTemplatesResponse) ProtoReflect added in v0.2.0

func (*ListActorTemplatesResponse) Reset added in v0.2.0

func (x *ListActorTemplatesResponse) Reset()

func (*ListActorTemplatesResponse) String added in v0.2.0

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"`
	// 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,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Pagination token from a previous ListActors response.
	// Omit or leave empty for the first request.
	//
	// +k8s:optional
	// +k8s:maxLength=256
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,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 added in v0.2.0

func (x *ListActorsRequest) GetAtespace() string

func (*ListActorsRequest) GetPageSize added in v0.2.0

func (x *ListActorsRequest) GetPageSize() int32

func (*ListActorsRequest) GetPageToken added in v0.2.0

func (x *ListActorsRequest) GetPageToken() string

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 added in v0.2.0

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 added in v0.2.0

type ListAtespacesRequest 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 ListAtespaces response.
	// 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
}

func (*ListAtespacesRequest) Descriptor deprecated added in v0.2.0

func (*ListAtespacesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAtespacesRequest.ProtoReflect.Descriptor instead.

func (*ListAtespacesRequest) GetPageSize added in v0.2.0

func (x *ListAtespacesRequest) GetPageSize() int32

func (*ListAtespacesRequest) GetPageToken added in v0.2.0

func (x *ListAtespacesRequest) GetPageToken() string

func (*ListAtespacesRequest) ProtoMessage added in v0.2.0

func (*ListAtespacesRequest) ProtoMessage()

func (*ListAtespacesRequest) ProtoReflect added in v0.2.0

func (x *ListAtespacesRequest) ProtoReflect() protoreflect.Message

func (*ListAtespacesRequest) Reset added in v0.2.0

func (x *ListAtespacesRequest) Reset()

func (*ListAtespacesRequest) String added in v0.2.0

func (x *ListAtespacesRequest) String() string

type ListAtespacesResponse added in v0.2.0

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 added in v0.2.0

func (*ListAtespacesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAtespacesResponse.ProtoReflect.Descriptor instead.

func (*ListAtespacesResponse) GetAtespaces added in v0.2.0

func (x *ListAtespacesResponse) GetAtespaces() []*Atespace

func (*ListAtespacesResponse) GetNextPageToken added in v0.2.0

func (x *ListAtespacesResponse) GetNextPageToken() string

func (*ListAtespacesResponse) ProtoMessage added in v0.2.0

func (*ListAtespacesResponse) ProtoMessage()

func (*ListAtespacesResponse) ProtoReflect added in v0.2.0

func (x *ListAtespacesResponse) ProtoReflect() protoreflect.Message

func (*ListAtespacesResponse) Reset added in v0.2.0

func (x *ListAtespacesResponse) Reset()

func (*ListAtespacesResponse) String added in v0.2.0

func (x *ListAtespacesResponse) String() string

type ListTagsRequest added in v0.2.0

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"`
	// 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,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Pagination token from a previous ListTags response.
	// Omit or leave empty for the first request.
	//
	// +k8s:optional
	// +k8s:maxLength=256
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTagsRequest) Descriptor deprecated added in v0.2.0

func (*ListTagsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListTagsRequest.ProtoReflect.Descriptor instead.

func (*ListTagsRequest) GetAtespace added in v0.2.0

func (x *ListTagsRequest) GetAtespace() string

func (*ListTagsRequest) GetPageSize added in v0.2.0

func (x *ListTagsRequest) GetPageSize() int32

func (*ListTagsRequest) GetPageToken added in v0.2.0

func (x *ListTagsRequest) GetPageToken() string

func (*ListTagsRequest) ProtoMessage added in v0.2.0

func (*ListTagsRequest) ProtoMessage()

func (*ListTagsRequest) ProtoReflect added in v0.2.0

func (x *ListTagsRequest) ProtoReflect() protoreflect.Message

func (*ListTagsRequest) Reset added in v0.2.0

func (x *ListTagsRequest) Reset()

func (*ListTagsRequest) String added in v0.2.0

func (x *ListTagsRequest) String() string

type ListTagsResponse added in v0.2.0

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 added in v0.2.0

func (*ListTagsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListTagsResponse.ProtoReflect.Descriptor instead.

func (*ListTagsResponse) GetNextPageToken added in v0.2.0

func (x *ListTagsResponse) GetNextPageToken() string

func (*ListTagsResponse) GetTags added in v0.2.0

func (x *ListTagsResponse) GetTags() []*Tag

func (*ListTagsResponse) ProtoMessage added in v0.2.0

func (*ListTagsResponse) ProtoMessage()

func (*ListTagsResponse) ProtoReflect added in v0.2.0

func (x *ListTagsResponse) ProtoReflect() protoreflect.Message

func (*ListTagsResponse) Reset added in v0.2.0

func (x *ListTagsResponse) Reset()

func (*ListTagsResponse) String added in v0.2.0

func (x *ListTagsResponse) String() string

type ListWorkerActorAssignmentsRequest added in v0.2.0

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"`
	// Requested page size; the server may return fewer. If unspecified, defaults
	// to a server-chosen value; values above 1000 are coerced to 1000.
	//
	// +k8s:optional
	// +k8s:minimum=1
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Pagination token from a previous ListWorkerActorAssignments response.
	// Omit or leave empty for the first request.
	//
	// +k8s:optional
	// +k8s:maxLength=256
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

ListWorkerActorAssignmentsRequest asks for a page of the Actors hosted by a given Worker.

func (*ListWorkerActorAssignmentsRequest) Descriptor deprecated added in v0.2.0

func (*ListWorkerActorAssignmentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkerActorAssignmentsRequest.ProtoReflect.Descriptor instead.

func (*ListWorkerActorAssignmentsRequest) GetPageSize added in v0.2.0

func (x *ListWorkerActorAssignmentsRequest) GetPageSize() int32

func (*ListWorkerActorAssignmentsRequest) GetPageToken added in v0.2.0

func (x *ListWorkerActorAssignmentsRequest) GetPageToken() string

func (*ListWorkerActorAssignmentsRequest) GetWorker added in v0.2.0

func (*ListWorkerActorAssignmentsRequest) ProtoMessage added in v0.2.0

func (*ListWorkerActorAssignmentsRequest) ProtoMessage()

func (*ListWorkerActorAssignmentsRequest) ProtoReflect added in v0.2.0

func (*ListWorkerActorAssignmentsRequest) Reset added in v0.2.0

func (*ListWorkerActorAssignmentsRequest) String added in v0.2.0

type ListWorkerActorAssignmentsResponse added in v0.2.0

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 added in v0.2.0

func (*ListWorkerActorAssignmentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkerActorAssignmentsResponse.ProtoReflect.Descriptor instead.

func (*ListWorkerActorAssignmentsResponse) GetActorAssignments added in v0.2.0

func (x *ListWorkerActorAssignmentsResponse) GetActorAssignments() []*ActorAssignment

func (*ListWorkerActorAssignmentsResponse) GetNextPageToken added in v0.2.0

func (x *ListWorkerActorAssignmentsResponse) GetNextPageToken() string

func (*ListWorkerActorAssignmentsResponse) ProtoMessage added in v0.2.0

func (*ListWorkerActorAssignmentsResponse) ProtoMessage()

func (*ListWorkerActorAssignmentsResponse) ProtoReflect added in v0.2.0

func (*ListWorkerActorAssignmentsResponse) Reset added in v0.2.0

func (*ListWorkerActorAssignmentsResponse) String added in v0.2.0

type ListWorkersRequest

type ListWorkersRequest 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 ListWorkers response.
	// 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
}

func (*ListWorkersRequest) Descriptor deprecated

func (*ListWorkersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListWorkersRequest.ProtoReflect.Descriptor instead.

func (*ListWorkersRequest) GetPageSize added in v0.2.0

func (x *ListWorkersRequest) GetPageSize() int32

func (*ListWorkersRequest) GetPageToken added in v0.2.0

func (x *ListWorkersRequest) GetPageToken() string

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 added in v0.2.0

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 LocalSnapshotInfo added in v0.2.0

type LocalSnapshotInfo struct {

	// The name of the local checkpoint on each of the nodes below. Checkpoint
	// names are server-generated UUIDs, but any resource name is valid here.
	//
	// +k8s:optional
	// +k8s:format=k8s-short-name
	SnapshotName string `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
	// Node VMs that have local snapshots for this actor, while it's PAUSED.
	// Each node appears at most once.
	//
	// TODO: revisit this design; a snapshot propagated to every node would
	// grow this list with the fleet, and the bound below is provisional.
	//
	// +k8s:optional
	// +k8s:maxItems=256
	// +k8s:listType=set
	// +k8s:eachVal=+k8s:format=k8s-long-name
	NodeVmsWithLocalSnapshots []string `` /* 142-byte string literal not displayed */
	// Scope the pause checkpoint captured (the template's onPause at pause
	// time). UNSPECIFIED is tolerated for compatibility and reads as FULL.
	//
	// +k8s:optional
	// +k8s:minimum=1
	// +k8s:maximum=2 # keep this in sync with the SnapshotContentScope enum
	ContentScope SnapshotContentScope `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LocalSnapshotInfo) Descriptor deprecated added in v0.2.0

func (*LocalSnapshotInfo) Descriptor() ([]byte, []int)

Deprecated: Use LocalSnapshotInfo.ProtoReflect.Descriptor instead.

func (*LocalSnapshotInfo) GetContentScope added in v0.2.0

func (x *LocalSnapshotInfo) GetContentScope() SnapshotContentScope

func (*LocalSnapshotInfo) GetNodeVmsWithLocalSnapshots added in v0.2.0

func (x *LocalSnapshotInfo) GetNodeVmsWithLocalSnapshots() []string

func (*LocalSnapshotInfo) GetSnapshotName added in v0.2.0

func (x *LocalSnapshotInfo) GetSnapshotName() string

func (*LocalSnapshotInfo) ProtoMessage added in v0.2.0

func (*LocalSnapshotInfo) ProtoMessage()

func (*LocalSnapshotInfo) ProtoReflect added in v0.2.0

func (x *LocalSnapshotInfo) ProtoReflect() protoreflect.Message

func (*LocalSnapshotInfo) Reset added in v0.2.0

func (x *LocalSnapshotInfo) Reset()

func (*LocalSnapshotInfo) String added in v0.2.0

func (x *LocalSnapshotInfo) String() string

type MintCertRequest

type MintCertRequest struct {

	// The Worker the certificate is minted for, as authenticated by the
	// node-local atelet. Workers are global-scoped, so this carries no atespace.
	// Ateapi resolves the worker's current actor assignment rather than trusting
	// actor metadata from the caller.
	//
	// This is the one caller that recovers a Worker name from a pod certificate:
	// the atelet has only the worker Pod's identity to go on. Everywhere else the
	// name is opaque and must be carried, not reconstructed.
	//
	// +k8s:beta(since: "0.0")=+k8s:subfield(atespace)=+k8s:forbidden # TODO: get rid of beta prefix
	// +k8s:required
	Worker *ObjectRef `protobuf:"bytes,1,opt,name=worker,proto3" json:"worker,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:customValidation # size bound; maxLength is string-only
	CertificateSigningRequest []byte `` /* 138-byte string literal not displayed */
	// Actor incarnation expected by the activation. This is only a stale-request
	// guard: ateapi derives the actor and its identity from the worker assignment.
	//
	// +k8s:required
	// +k8s:format=k8s-uuid
	ExpectedActorUid string `protobuf:"bytes,3,opt,name=expected_actor_uid,json=expectedActorUid,proto3" json:"expected_actor_uid,omitempty"`
	// +k8s:required
	// +k8s:minimum=1
	// +k8s:maximum=1 # keep this in sync with the ActorCertificatePurpose enum
	Purpose ActorCertificatePurpose `protobuf:"varint,4,opt,name=purpose,proto3,enum=ateapi.ActorCertificatePurpose" json:"purpose,omitempty"`
	// contains filtered or unexported fields
}

func (*MintCertRequest) Descriptor deprecated

func (*MintCertRequest) Descriptor() ([]byte, []int)

Deprecated: Use MintCertRequest.ProtoReflect.Descriptor instead.

func (*MintCertRequest) GetCertificateSigningRequest

func (x *MintCertRequest) GetCertificateSigningRequest() []byte

func (*MintCertRequest) GetExpectedActorUid added in v0.2.0

func (x *MintCertRequest) GetExpectedActorUid() string

func (*MintCertRequest) GetPurpose added in v0.2.0

func (x *MintCertRequest) GetPurpose() ActorCertificatePurpose

func (*MintCertRequest) GetWorker added in v0.2.0

func (x *MintCertRequest) GetWorker() *ObjectRef

func (*MintCertRequest) ProtoMessage

func (*MintCertRequest) ProtoMessage()

func (*MintCertRequest) ProtoReflect

func (x *MintCertRequest) ProtoReflect() protoreflect.Message

func (*MintCertRequest) Reset

func (x *MintCertRequest) Reset()

func (*MintCertRequest) String

func (x *MintCertRequest) String() string

type MintCertResponse

type MintCertResponse 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
}

func (*MintCertResponse) Descriptor deprecated

func (*MintCertResponse) Descriptor() ([]byte, []int)

Deprecated: Use MintCertResponse.ProtoReflect.Descriptor instead.

func (*MintCertResponse) GetActorCertificates added in v0.2.0

func (x *MintCertResponse) GetActorCertificates() [][]byte

func (*MintCertResponse) ProtoMessage

func (*MintCertResponse) ProtoMessage()

func (*MintCertResponse) ProtoReflect

func (x *MintCertResponse) ProtoReflect() protoreflect.Message

func (*MintCertResponse) Reset

func (x *MintCertResponse) Reset()

func (*MintCertResponse) String

func (x *MintCertResponse) String() string

type MintJWTRequest

type MintJWTRequest struct {

	// 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
	Audience []string `protobuf:"bytes,1,rep,name=audience,proto3" json:"audience,omitempty"`
	// +k8s:required
	// +k8s:format=k8s-short-name
	Atespace string `protobuf:"bytes,2,opt,name=atespace,proto3" json:"atespace,omitempty"`
	// +k8s:required
	// +k8s:format=k8s-short-name
	ActorName string `protobuf:"bytes,3,opt,name=actor_name,json=actorName,proto3" json:"actor_name,omitempty"`
	// +k8s:optional
	// +k8s:format=k8s-uuid
	ActorUid string `protobuf:"bytes,4,opt,name=actor_uid,json=actorUid,proto3" json:"actor_uid,omitempty"`
	// contains filtered or unexported fields
}

func (*MintJWTRequest) Descriptor deprecated

func (*MintJWTRequest) Descriptor() ([]byte, []int)

Deprecated: Use MintJWTRequest.ProtoReflect.Descriptor instead.

func (*MintJWTRequest) GetActorName added in v0.2.0

func (x *MintJWTRequest) GetActorName() string

func (*MintJWTRequest) GetActorUid added in v0.2.0

func (x *MintJWTRequest) GetActorUid() string

func (*MintJWTRequest) GetAtespace added in v0.2.0

func (x *MintJWTRequest) GetAtespace() string

func (*MintJWTRequest) GetAudience

func (x *MintJWTRequest) GetAudience() []string

func (*MintJWTRequest) ProtoMessage

func (*MintJWTRequest) ProtoMessage()

func (*MintJWTRequest) ProtoReflect

func (x *MintJWTRequest) ProtoReflect() protoreflect.Message

func (*MintJWTRequest) Reset

func (x *MintJWTRequest) Reset()

func (*MintJWTRequest) String

func (x *MintJWTRequest) String() string

type MintJWTResponse

type MintJWTResponse struct {

	// Actor JWT.  An OIDC Discovery-compatible JWT
	//
	// Claims:
	//
	// * iss: Issuer - a valid URL where a relying party can fetch the OIDC
	//   discovery documents.
	// * sub: Subject - a string expressing the identity carried in the
	// credential. Format
	//   `atespaces:${atespace}:actors:${actorname}`.
	// * aud: Audience - a string identifying the service this token will be used
	//   to authenticate to.
	// * nbf: Not Before - a numeric unix timestamp
	// * exp: Expiration - a numeric unix timestamp
	// * iat: Issued At - a numeric unix timestamp
	// * `ate.dev`: Ate/Substrate Extension - JSON object
	//   * atespace: (string) The atespace the actor belongs to
	//   * actorName: (string) The actor's name, unique within its atespace
	ActorJwt string `protobuf:"bytes,1,opt,name=actor_jwt,json=actorJwt,proto3" json:"actor_jwt,omitempty"`
	// contains filtered or unexported fields
}

TODO: check why k8s do ":" and not "/" as a seprator for the Subject format TODO: whats the right format for the subject? kubernetes follow "system:serviceaccount:<namespace>:<name>".

func (*MintJWTResponse) Descriptor deprecated

func (*MintJWTResponse) Descriptor() ([]byte, []int)

Deprecated: Use MintJWTResponse.ProtoReflect.Descriptor instead.

func (*MintJWTResponse) GetActorJwt added in v0.2.0

func (x *MintJWTResponse) GetActorJwt() string

func (*MintJWTResponse) ProtoMessage

func (*MintJWTResponse) ProtoMessage()

func (*MintJWTResponse) ProtoReflect

func (x *MintJWTResponse) ProtoReflect() protoreflect.Message

func (*MintJWTResponse) Reset

func (x *MintJWTResponse) Reset()

func (*MintJWTResponse) String

func (x *MintJWTResponse) String() string

type ObjectRef added in v0.2.0

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, name) identity.

func (*ObjectRef) Descriptor deprecated added in v0.2.0

func (*ObjectRef) Descriptor() ([]byte, []int)

Deprecated: Use ObjectRef.ProtoReflect.Descriptor instead.

func (*ObjectRef) GetAtespace added in v0.2.0

func (x *ObjectRef) GetAtespace() string

func (*ObjectRef) GetName added in v0.2.0

func (x *ObjectRef) GetName() string

func (*ObjectRef) ProtoMessage added in v0.2.0

func (*ObjectRef) ProtoMessage()

func (*ObjectRef) ProtoReflect added in v0.2.0

func (x *ObjectRef) ProtoReflect() protoreflect.Message

func (*ObjectRef) Reset added in v0.2.0

func (x *ObjectRef) Reset()

func (*ObjectRef) String added in v0.2.0

func (x *ObjectRef) String() string

type OnResumeConfig added in v0.2.0

type OnResumeConfig struct {

	// from_data applies when the resume uses a DATA-scope snapshot (from
	// on_pause or on_commit). UNSPECIFIED selects the documented default.
	//
	// +k8s:optional
	// +k8s:minimum=1
	// +k8s:maximum=2 # keep this in sync with the ResumeSource enum
	FromData ResumeSource `protobuf:"varint,1,opt,name=from_data,json=fromData,proto3,enum=ateapi.ResumeSource" json:"from_data,omitempty"`
	// contains filtered or unexported fields
}

OnResumeConfig selects, per snapshot situation, what supplies the guest state at resume. Each field names what is being resumed FROM; the value names the boot source. Full snapshots that are still valid always restore from their own content and are not configurable here.

func (*OnResumeConfig) Descriptor deprecated added in v0.2.0

func (*OnResumeConfig) Descriptor() ([]byte, []int)

Deprecated: Use OnResumeConfig.ProtoReflect.Descriptor instead.

func (*OnResumeConfig) GetFromData added in v0.2.0

func (x *OnResumeConfig) GetFromData() ResumeSource

func (*OnResumeConfig) ProtoMessage added in v0.2.0

func (*OnResumeConfig) ProtoMessage()

func (*OnResumeConfig) ProtoReflect added in v0.2.0

func (x *OnResumeConfig) ProtoReflect() protoreflect.Message

func (*OnResumeConfig) Reset added in v0.2.0

func (x *OnResumeConfig) Reset()

func (*OnResumeConfig) String added in v0.2.0

func (x *OnResumeConfig) String() string

type PauseActorRequest added in v0.2.0

type PauseActorRequest 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 (*PauseActorRequest) Descriptor deprecated added in v0.2.0

func (*PauseActorRequest) Descriptor() ([]byte, []int)

Deprecated: Use PauseActorRequest.ProtoReflect.Descriptor instead.

func (*PauseActorRequest) GetActor added in v0.2.0

func (x *PauseActorRequest) GetActor() *ObjectRef

func (*PauseActorRequest) ProtoMessage added in v0.2.0

func (*PauseActorRequest) ProtoMessage()

func (*PauseActorRequest) ProtoReflect added in v0.2.0

func (x *PauseActorRequest) ProtoReflect() protoreflect.Message

func (*PauseActorRequest) Reset added in v0.2.0

func (x *PauseActorRequest) Reset()

func (*PauseActorRequest) String added in v0.2.0

func (x *PauseActorRequest) String() string

type PauseActorResponse added in v0.2.0

type PauseActorResponse struct {
	Actor *Actor `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
	// contains filtered or unexported fields
}

func (*PauseActorResponse) Descriptor deprecated added in v0.2.0

func (*PauseActorResponse) Descriptor() ([]byte, []int)

Deprecated: Use PauseActorResponse.ProtoReflect.Descriptor instead.

func (*PauseActorResponse) GetActor added in v0.2.0

func (x *PauseActorResponse) GetActor() *Actor

func (*PauseActorResponse) ProtoMessage added in v0.2.0

func (*PauseActorResponse) ProtoMessage()

func (*PauseActorResponse) ProtoReflect added in v0.2.0

func (x *PauseActorResponse) ProtoReflect() protoreflect.Message

func (*PauseActorResponse) Reset added in v0.2.0

func (x *PauseActorResponse) Reset()

func (*PauseActorResponse) String added in v0.2.0

func (x *PauseActorResponse) String() string

type ResourceMetadata added in v0.2.0

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
	// TODO: validate that this is a valid timestamp
	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
	// TODO: validate that this is a valid timestamp
	// TODO: validate that UpdateTime >= CreateTime
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

ResourceMetadata holds the common fields carried by every Substrate resource.

func (*ResourceMetadata) Descriptor deprecated added in v0.2.0

func (*ResourceMetadata) Descriptor() ([]byte, []int)

Deprecated: Use ResourceMetadata.ProtoReflect.Descriptor instead.

func (*ResourceMetadata) GetAtespace added in v0.2.0

func (x *ResourceMetadata) GetAtespace() string

func (*ResourceMetadata) GetCreateTime added in v0.2.0

func (x *ResourceMetadata) GetCreateTime() *timestamppb.Timestamp

func (*ResourceMetadata) GetName added in v0.2.0

func (x *ResourceMetadata) GetName() string

func (*ResourceMetadata) GetUid added in v0.2.0

func (x *ResourceMetadata) GetUid() string

func (*ResourceMetadata) GetUpdateTime added in v0.2.0

func (x *ResourceMetadata) GetUpdateTime() *timestamppb.Timestamp

func (*ResourceMetadata) GetVersion added in v0.2.0

func (x *ResourceMetadata) GetVersion() int64

func (*ResourceMetadata) ProtoMessage added in v0.2.0

func (*ResourceMetadata) ProtoMessage()

func (*ResourceMetadata) ProtoReflect added in v0.2.0

func (x *ResourceMetadata) ProtoReflect() protoreflect.Message

func (*ResourceMetadata) Reset added in v0.2.0

func (x *ResourceMetadata) Reset()

func (*ResourceMetadata) String added in v0.2.0

func (x *ResourceMetadata) String() string

type Resources added in v0.2.0

type Resources struct {

	// limits is the maximum amount of compute resources allowed. Only "cpu"
	// and "memory" are supported, each at most once, and each quantity must be
	// greater than zero; the cpu limit must be less than 1000 cores.
	//
	// +k8s:optional
	// +k8s:maxItems=2
	// +k8s:listType=map
	// +k8s:listMapKey=name
	// +k8s:customValidation # names, quantity parse/positivity, cpu bound
	Limits []*Limits `protobuf:"bytes,1,rep,name=limits,proto3" json:"limits,omitempty"`
	// contains filtered or unexported fields
}

func (*Resources) Descriptor deprecated added in v0.2.0

func (*Resources) Descriptor() ([]byte, []int)

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetLimits added in v0.2.0

func (x *Resources) GetLimits() []*Limits

func (*Resources) ProtoMessage added in v0.2.0

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect added in v0.2.0

func (x *Resources) ProtoReflect() protoreflect.Message

func (*Resources) Reset added in v0.2.0

func (x *Resources) Reset()

func (*Resources) String added in v0.2.0

func (x *Resources) String() string

type ResumeActorRequest

type ResumeActorRequest struct {

	// +k8s:required
	// +k8s:subfield(atespace)=+k8s:required
	Actor *ObjectRef `protobuf:"bytes,1,opt,name=actor,proto3" json:"actor,omitempty"`
	// If true, skip golden snapshot and boot the workload from scratch.
	//
	// +k8s:optional
	Boot bool `protobuf:"varint,2,opt,name=boot,proto3" json:"boot,omitempty"`
	// contains filtered or unexported fields
}

func (*ResumeActorRequest) Descriptor deprecated

func (*ResumeActorRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResumeActorRequest.ProtoReflect.Descriptor instead.

func (*ResumeActorRequest) GetActor added in v0.2.0

func (x *ResumeActorRequest) GetActor() *ObjectRef

func (*ResumeActorRequest) GetBoot

func (x *ResumeActorRequest) GetBoot() bool

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 added in v0.2.0

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 ResumeSource added in v0.2.0

type ResumeSource int32

ResumeSource selects what supplies the guest state when an actor is resumed from one of the snapshot situations named by OnResumeConfig's fields.

const (
	ResumeSource_RESUME_SOURCE_UNSPECIFIED ResumeSource = 0
	// Starts the actor's containers afresh from the OCI image, with the
	// durable-dir volumes pre-populated from the snapshot.
	ResumeSource_RESUME_SOURCE_COLD_BOOT ResumeSource = 1
	// Restores with the version's golden snapshot and the actor's own
	// durable data.
	ResumeSource_RESUME_SOURCE_GOLDEN ResumeSource = 2 // Keep this in sync with OnResumeConfig.from_data's maximum.
)

func (ResumeSource) Descriptor added in v0.2.0

func (ResumeSource) Enum added in v0.2.0

func (x ResumeSource) Enum() *ResumeSource

func (ResumeSource) EnumDescriptor deprecated added in v0.2.0

func (ResumeSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use ResumeSource.Descriptor instead.

func (ResumeSource) Number added in v0.2.0

func (ResumeSource) String added in v0.2.0

func (x ResumeSource) String() string

func (ResumeSource) Type added in v0.2.0

type SandboxClass added in v0.2.0

type SandboxClass int32

SandboxClass selects the sandbox runtime family. Snapshots are not portable across classes.

const (
	SandboxClass_SANDBOX_CLASS_UNSPECIFIED SandboxClass = 0
	SandboxClass_SANDBOX_CLASS_GVISOR      SandboxClass = 1
	SandboxClass_SANDBOX_CLASS_MICROVM     SandboxClass = 2 // Keep this in sync with SandboxConfig.sandbox_class's maximum.
)

func (SandboxClass) Descriptor added in v0.2.0

func (SandboxClass) Enum added in v0.2.0

func (x SandboxClass) Enum() *SandboxClass

func (SandboxClass) EnumDescriptor deprecated added in v0.2.0

func (SandboxClass) EnumDescriptor() ([]byte, []int)

Deprecated: Use SandboxClass.Descriptor instead.

func (SandboxClass) Number added in v0.2.0

func (SandboxClass) String added in v0.2.0

func (x SandboxClass) String() string

func (SandboxClass) Type added in v0.2.0

type SandboxConfig added in v0.2.0

type SandboxConfig struct {

	// sandbox_class selects the sandbox runtime family.
	//
	// +k8s:required
	// +k8s:minimum=1
	// +k8s:maximum=2 # keep this in sync with the SandboxClass enum
	SandboxClass SandboxClass `protobuf:"varint,1,opt,name=sandbox_class,json=sandboxClass,proto3,enum=ateapi.SandboxClass" json:"sandbox_class,omitempty"`
	// config_name names the cluster-scoped SandboxConfig Kubernetes object
	// supplying the sandbox binaries. Required; must match sandbox_class.
	//
	// +k8s:required
	// +k8s:format=k8s-long-name
	ConfigName string `protobuf:"bytes,2,opt,name=config_name,json=configName,proto3" json:"config_name,omitempty"`
	// contains filtered or unexported fields
}

SandboxConfig selects the sandbox runtime for an ActorTemplate.

func (*SandboxConfig) Descriptor deprecated added in v0.2.0

func (*SandboxConfig) Descriptor() ([]byte, []int)

Deprecated: Use SandboxConfig.ProtoReflect.Descriptor instead.

func (*SandboxConfig) GetConfigName added in v0.2.0

func (x *SandboxConfig) GetConfigName() string

func (*SandboxConfig) GetSandboxClass added in v0.2.0

func (x *SandboxConfig) GetSandboxClass() SandboxClass

func (*SandboxConfig) ProtoMessage added in v0.2.0

func (*SandboxConfig) ProtoMessage()

func (*SandboxConfig) ProtoReflect added in v0.2.0

func (x *SandboxConfig) ProtoReflect() protoreflect.Message

func (*SandboxConfig) Reset added in v0.2.0

func (x *SandboxConfig) Reset()

func (*SandboxConfig) String added in v0.2.0

func (x *SandboxConfig) String() string

type SecurityContext added in v0.2.0

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 added in v0.2.0

func (*SecurityContext) Descriptor() ([]byte, []int)

Deprecated: Use SecurityContext.ProtoReflect.Descriptor instead.

func (*SecurityContext) GetCapabilities added in v0.2.0

func (x *SecurityContext) GetCapabilities() *Capabilities

func (*SecurityContext) ProtoMessage added in v0.2.0

func (*SecurityContext) ProtoMessage()

func (*SecurityContext) ProtoReflect added in v0.2.0

func (x *SecurityContext) ProtoReflect() protoreflect.Message

func (*SecurityContext) Reset added in v0.2.0

func (x *SecurityContext) Reset()

func (*SecurityContext) String added in v0.2.0

func (x *SecurityContext) String() string

type Selector added in v0.2.0

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 added in v0.2.0

func (*Selector) Descriptor() ([]byte, []int)

Deprecated: Use Selector.ProtoReflect.Descriptor instead.

func (*Selector) GetMatchLabels added in v0.2.0

func (x *Selector) GetMatchLabels() map[string]string

func (*Selector) ProtoMessage added in v0.2.0

func (*Selector) ProtoMessage()

func (*Selector) ProtoReflect added in v0.2.0

func (x *Selector) ProtoReflect() protoreflect.Message

func (*Selector) Reset added in v0.2.0

func (x *Selector) Reset()

func (*Selector) String added in v0.2.0

func (x *Selector) String() string

type SetWorkerCapacityRequest added in v0.2.0

type SetWorkerCapacityRequest struct {

	// The Worker being reported on. 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"`
	// 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 (*SetWorkerCapacityRequest) Descriptor deprecated added in v0.2.0

func (*SetWorkerCapacityRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetWorkerCapacityRequest.ProtoReflect.Descriptor instead.

func (*SetWorkerCapacityRequest) GetCapacity added in v0.2.0

func (x *SetWorkerCapacityRequest) GetCapacity() *WorkerResources

func (*SetWorkerCapacityRequest) GetWorker added in v0.2.0

func (x *SetWorkerCapacityRequest) GetWorker() *ObjectRef

func (*SetWorkerCapacityRequest) ProtoMessage added in v0.2.0

func (*SetWorkerCapacityRequest) ProtoMessage()

func (*SetWorkerCapacityRequest) ProtoReflect added in v0.2.0

func (x *SetWorkerCapacityRequest) ProtoReflect() protoreflect.Message

func (*SetWorkerCapacityRequest) Reset added in v0.2.0

func (x *SetWorkerCapacityRequest) Reset()

func (*SetWorkerCapacityRequest) String added in v0.2.0

func (x *SetWorkerCapacityRequest) String() string

type SetWorkerCapacityResponse added in v0.2.0

type SetWorkerCapacityResponse 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 (*SetWorkerCapacityResponse) Descriptor deprecated added in v0.2.0

func (*SetWorkerCapacityResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetWorkerCapacityResponse.ProtoReflect.Descriptor instead.

func (*SetWorkerCapacityResponse) GetWorker added in v0.2.0

func (x *SetWorkerCapacityResponse) GetWorker() *Worker

func (*SetWorkerCapacityResponse) ProtoMessage added in v0.2.0

func (*SetWorkerCapacityResponse) ProtoMessage()

func (*SetWorkerCapacityResponse) ProtoReflect added in v0.2.0

func (*SetWorkerCapacityResponse) Reset added in v0.2.0

func (x *SetWorkerCapacityResponse) Reset()

func (*SetWorkerCapacityResponse) String added in v0.2.0

func (x *SetWorkerCapacityResponse) String() string

type SnapshotContentScope added in v0.2.0

type SnapshotContentScope int32
const (
	// Defaults to FULL for compatibility with existing snapshot configuration.
	SnapshotContentScope_SNAPSHOT_CONTENT_SCOPE_UNSPECIFIED SnapshotContentScope = 0
	// Captures process memory, root filesystem changes, and durable data.
	SnapshotContentScope_SNAPSHOT_CONTENT_SCOPE_FULL SnapshotContentScope = 1
	// Captures durable data without process memory or root filesystem changes.
	SnapshotContentScope_SNAPSHOT_CONTENT_SCOPE_DATA SnapshotContentScope = 2 // Keep this in sync with the maximums on fields of this type.
)

func (SnapshotContentScope) Descriptor added in v0.2.0

func (SnapshotContentScope) Enum added in v0.2.0

func (SnapshotContentScope) EnumDescriptor deprecated added in v0.2.0

func (SnapshotContentScope) EnumDescriptor() ([]byte, []int)

Deprecated: Use SnapshotContentScope.Descriptor instead.

func (SnapshotContentScope) Number added in v0.2.0

func (SnapshotContentScope) String added in v0.2.0

func (x SnapshotContentScope) String() string

func (SnapshotContentScope) Type added in v0.2.0

type SnapshotsConfig added in v0.2.0

type SnapshotsConfig struct {

	// on_pause selects what is captured during pause actor. UNSPECIFIED is
	// tolerated for compatibility and reads as FULL.
	//
	// +k8s:optional
	// +k8s:minimum=1
	// +k8s:maximum=2 # keep this in sync with the SnapshotContentScope enum
	OnPause SnapshotContentScope `protobuf:"varint,1,opt,name=on_pause,json=onPause,proto3,enum=ateapi.SnapshotContentScope" json:"on_pause,omitempty"`
	// on_commit selects what captures.
	// Must be a subset of on_pause: FULL allows FULL or DATA, DATA allows DATA.
	//
	// +k8s:optional
	// +k8s:minimum=1
	// +k8s:maximum=2 # keep this in sync with the SnapshotContentScope enum
	OnCommit SnapshotContentScope `protobuf:"varint,2,opt,name=on_commit,json=onCommit,proto3,enum=ateapi.SnapshotContentScope" json:"on_commit,omitempty"`
	// on_resume selects, per snapshot situation, what supplies the guest state
	// at resume. Unset means the defaults documented on OnResumeConfig.
	//
	// +k8s:optional
	OnResume *OnResumeConfig `protobuf:"bytes,3,opt,name=on_resume,json=onResume,proto3" json:"on_resume,omitempty"`
	// storage_location is the base object-storage URI snapshots of actors on
	// this version are stored under. Required.
	//
	// +k8s:required
	// +k8s:maxLength=1024 # bound only; object-storage URI formats vary
	// TODO: validate that this is a well-formed object-storage URI
	StorageLocation string `protobuf:"bytes,4,opt,name=storage_location,json=storageLocation,proto3" json:"storage_location,omitempty"`
	// contains filtered or unexported fields
}

+k8s:customValidation # on_commit must be a subset of on_pause

func (*SnapshotsConfig) Descriptor deprecated added in v0.2.0

func (*SnapshotsConfig) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotsConfig.ProtoReflect.Descriptor instead.

func (*SnapshotsConfig) GetOnCommit added in v0.2.0

func (x *SnapshotsConfig) GetOnCommit() SnapshotContentScope

func (*SnapshotsConfig) GetOnPause added in v0.2.0

func (x *SnapshotsConfig) GetOnPause() SnapshotContentScope

func (*SnapshotsConfig) GetOnResume added in v0.2.0

func (x *SnapshotsConfig) GetOnResume() *OnResumeConfig

func (*SnapshotsConfig) GetStorageLocation added in v0.2.0

func (x *SnapshotsConfig) GetStorageLocation() string

func (*SnapshotsConfig) ProtoMessage added in v0.2.0

func (*SnapshotsConfig) ProtoMessage()

func (*SnapshotsConfig) ProtoReflect added in v0.2.0

func (x *SnapshotsConfig) ProtoReflect() protoreflect.Message

func (*SnapshotsConfig) Reset added in v0.2.0

func (x *SnapshotsConfig) Reset()

func (*SnapshotsConfig) String added in v0.2.0

func (x *SnapshotsConfig) String() string

type SuspendActorRequest

type SuspendActorRequest 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 (*SuspendActorRequest) Descriptor deprecated

func (*SuspendActorRequest) Descriptor() ([]byte, []int)

Deprecated: Use SuspendActorRequest.ProtoReflect.Descriptor instead.

func (*SuspendActorRequest) GetActor added in v0.2.0

func (x *SuspendActorRequest) GetActor() *ObjectRef

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 SystemInfoDataSource added in v0.2.0

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 added in v0.2.0

func (*SystemInfoDataSource) Descriptor() ([]byte, []int)

Deprecated: Use SystemInfoDataSource.ProtoReflect.Descriptor instead.

func (*SystemInfoDataSource) GetActorMetadata added in v0.2.0

func (x *SystemInfoDataSource) GetActorMetadata() *ActorMetadataDataSource

func (*SystemInfoDataSource) GetTrustBundle added in v0.2.0

func (x *SystemInfoDataSource) GetTrustBundle() *TrustBundleDataSource

func (*SystemInfoDataSource) ProtoMessage added in v0.2.0

func (*SystemInfoDataSource) ProtoMessage()

func (*SystemInfoDataSource) ProtoReflect added in v0.2.0

func (x *SystemInfoDataSource) ProtoReflect() protoreflect.Message

func (*SystemInfoDataSource) Reset added in v0.2.0

func (x *SystemInfoDataSource) Reset()

func (*SystemInfoDataSource) String added in v0.2.0

func (x *SystemInfoDataSource) String() string

type SystemInfoVolumeSource added in v0.2.0

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
	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 added in v0.2.0

func (*SystemInfoVolumeSource) Descriptor() ([]byte, []int)

Deprecated: Use SystemInfoVolumeSource.ProtoReflect.Descriptor instead.

func (*SystemInfoVolumeSource) GetDataSources added in v0.2.0

func (x *SystemInfoVolumeSource) GetDataSources() []*SystemInfoDataSource

func (*SystemInfoVolumeSource) ProtoMessage added in v0.2.0

func (*SystemInfoVolumeSource) ProtoMessage()

func (*SystemInfoVolumeSource) ProtoReflect added in v0.2.0

func (x *SystemInfoVolumeSource) ProtoReflect() protoreflect.Message

func (*SystemInfoVolumeSource) Reset added in v0.2.0

func (x *SystemInfoVolumeSource) Reset()

func (*SystemInfoVolumeSource) String added in v0.2.0

func (x *SystemInfoVolumeSource) String() string

type Tag added in v0.2.0

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=ateapi.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 added in v0.2.0

func (*Tag) Descriptor() ([]byte, []int)

Deprecated: Use Tag.ProtoReflect.Descriptor instead.

func (*Tag) GetMetadata added in v0.2.0

func (x *Tag) GetMetadata() *ResourceMetadata

func (*Tag) GetScope added in v0.2.0

func (x *Tag) GetScope() TagScope

func (*Tag) GetSourceActor added in v0.2.0

func (x *Tag) GetSourceActor() *ObjectRef

func (*Tag) GetStatus added in v0.2.0

func (x *Tag) GetStatus() *TagStatus

func (*Tag) ProtoMessage added in v0.2.0

func (*Tag) ProtoMessage()

func (*Tag) ProtoReflect added in v0.2.0

func (x *Tag) ProtoReflect() protoreflect.Message

func (*Tag) Reset added in v0.2.0

func (x *Tag) Reset()

func (*Tag) String added in v0.2.0

func (x *Tag) String() string

type TagScope added in v0.2.0

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 added in v0.2.0

func (TagScope) Descriptor() protoreflect.EnumDescriptor

func (TagScope) Enum added in v0.2.0

func (x TagScope) Enum() *TagScope

func (TagScope) EnumDescriptor deprecated added in v0.2.0

func (TagScope) EnumDescriptor() ([]byte, []int)

Deprecated: Use TagScope.Descriptor instead.

func (TagScope) Number added in v0.2.0

func (x TagScope) Number() protoreflect.EnumNumber

func (TagScope) String added in v0.2.0

func (x TagScope) String() string

func (TagScope) Type added in v0.2.0

type TagStatus added in v0.2.0

type TagStatus struct {

	// snapshot is the external snapshot this tag points at. Unset while the tag
	// is still being created, and immutable once set: a tag never moves between
	// snapshots. A tag is usable only once this is set.
	//
	// +k8s:optional
	Snapshot *ExternalSnapshot `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.
	ActorTemplateUid string `protobuf:"bytes,2,opt,name=actor_template_uid,json=actorTemplateUid,proto3" json:"actor_template_uid,omitempty"`
	// in_progress_snapshot_uri is where CreateTag is copying the tag's own
	// snapshot to. It is minted before a single object is written and cleared
	// once snapshot is set, so a tag left with it set names exactly the objects
	// its unfinished create stranded, and deleting the tag collects them.
	InProgressSnapshotUri string `` /* 128-byte string literal not displayed */
	// source_actor_uid is the UID of the Actor this tag's snapshot was copied
	// from.
	SourceActorUid string `protobuf:"bytes,4,opt,name=source_actor_uid,json=sourceActorUid,proto3" json:"source_actor_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 added in v0.2.0

func (*TagStatus) Descriptor() ([]byte, []int)

Deprecated: Use TagStatus.ProtoReflect.Descriptor instead.

func (*TagStatus) GetActorTemplateUid added in v0.2.0

func (x *TagStatus) GetActorTemplateUid() string

func (*TagStatus) GetInProgressSnapshotUri added in v0.2.0

func (x *TagStatus) GetInProgressSnapshotUri() string

func (*TagStatus) GetSnapshot added in v0.2.0

func (x *TagStatus) GetSnapshot() *ExternalSnapshot

func (*TagStatus) GetSourceActorUid added in v0.2.0

func (x *TagStatus) GetSourceActorUid() string

func (*TagStatus) ProtoMessage added in v0.2.0

func (*TagStatus) ProtoMessage()

func (*TagStatus) ProtoReflect added in v0.2.0

func (x *TagStatus) ProtoReflect() protoreflect.Message

func (*TagStatus) Reset added in v0.2.0

func (x *TagStatus) Reset()

func (*TagStatus) String added in v0.2.0

func (x *TagStatus) String() string

type TrustBundleDataSource added in v0.2.0

type TrustBundleDataSource struct {

	// +k8s:required
	// +k8s:minLength=1
	// +k8s:maxLength=253
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// +k8s:required
	// +k8s:minLength=1
	// +k8s:maxLength=255
	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 added in v0.2.0

func (*TrustBundleDataSource) Descriptor() ([]byte, []int)

Deprecated: Use TrustBundleDataSource.ProtoReflect.Descriptor instead.

func (*TrustBundleDataSource) GetName added in v0.2.0

func (x *TrustBundleDataSource) GetName() string

func (*TrustBundleDataSource) GetPath added in v0.2.0

func (x *TrustBundleDataSource) GetPath() string

func (*TrustBundleDataSource) ProtoMessage added in v0.2.0

func (*TrustBundleDataSource) ProtoMessage()

func (*TrustBundleDataSource) ProtoReflect added in v0.2.0

func (x *TrustBundleDataSource) ProtoReflect() protoreflect.Message

func (*TrustBundleDataSource) Reset added in v0.2.0

func (x *TrustBundleDataSource) Reset()

func (*TrustBundleDataSource) String added in v0.2.0

func (x *TrustBundleDataSource) String() string

type UnimplementedActorIdentityServer added in v0.2.0

type UnimplementedActorIdentityServer struct{}

UnimplementedActorIdentityServer 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 (UnimplementedActorIdentityServer) MintCert added in v0.2.0

func (UnimplementedActorIdentityServer) MintJWT added in v0.2.0

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) CreateActorEgressPolicy added in v0.2.0

func (UnimplementedControlServer) CreateActorTemplate added in v0.2.0

func (UnimplementedControlServer) CreateAtespace added in v0.2.0

func (UnimplementedControlServer) CreateTag added in v0.2.0

func (UnimplementedControlServer) CreateWorker added in v0.2.0

func (UnimplementedControlServer) DeleteActor

func (UnimplementedControlServer) DeleteActorEgressPolicy added in v0.2.0

func (UnimplementedControlServer) DeleteActorTemplate added in v0.2.0

func (UnimplementedControlServer) DeleteAtespace added in v0.2.0

func (UnimplementedControlServer) DeleteTag added in v0.2.0

func (UnimplementedControlServer) DeleteWorker added in v0.2.0

func (UnimplementedControlServer) DrainWorker added in v0.2.0

func (UnimplementedControlServer) GetActor

func (UnimplementedControlServer) GetActorEgressPolicy added in v0.2.0

func (UnimplementedControlServer) GetActorTemplate added in v0.2.0

func (UnimplementedControlServer) GetAtespace added in v0.2.0

func (UnimplementedControlServer) GetTag added in v0.2.0

func (UnimplementedControlServer) GetWorker added in v0.2.0

func (UnimplementedControlServer) ListActorTemplates added in v0.2.0

func (UnimplementedControlServer) ListActors

func (UnimplementedControlServer) ListAtespaces added in v0.2.0

func (UnimplementedControlServer) ListTags added in v0.2.0

func (UnimplementedControlServer) ListWorkerActorAssignments added in v0.2.0

func (UnimplementedControlServer) ListWorkers

func (UnimplementedControlServer) PauseActor added in v0.2.0

func (UnimplementedControlServer) ResumeActor

func (UnimplementedControlServer) SuspendActor

func (UnimplementedControlServer) UpdateActor added in v0.2.0

func (UnimplementedControlServer) UpdateActorEgressPolicy added in v0.2.0

func (UnimplementedControlServer) UpdateTag added in v0.2.0

func (UnimplementedControlServer) UpdateWorker added in v0.2.0

type UnimplementedWorkerServiceServer added in v0.2.0

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) SetWorkerCapacity added in v0.2.0

type UnsafeActorIdentityServer added in v0.2.0

type UnsafeActorIdentityServer interface {
	// contains filtered or unexported methods
}

UnsafeActorIdentityServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ActorIdentityServer will result in compilation errors.

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 added in v0.2.0

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 added in v0.2.0

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 added in v0.2.0

func (*UpdateActorEgressPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateActorEgressPolicyRequest.ProtoReflect.Descriptor instead.

func (*UpdateActorEgressPolicyRequest) GetActor added in v0.2.0

func (*UpdateActorEgressPolicyRequest) GetEgressPolicy added in v0.2.0

func (x *UpdateActorEgressPolicyRequest) GetEgressPolicy() *EgressPolicy

func (*UpdateActorEgressPolicyRequest) ProtoMessage added in v0.2.0

func (*UpdateActorEgressPolicyRequest) ProtoMessage()

func (*UpdateActorEgressPolicyRequest) ProtoReflect added in v0.2.0

func (*UpdateActorEgressPolicyRequest) Reset added in v0.2.0

func (x *UpdateActorEgressPolicyRequest) Reset()

func (*UpdateActorEgressPolicyRequest) String added in v0.2.0

type UpdateActorRequest added in v0.2.0

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 added in v0.2.0

func (*UpdateActorRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateActorRequest.ProtoReflect.Descriptor instead.

func (*UpdateActorRequest) GetActor added in v0.2.0

func (x *UpdateActorRequest) GetActor() *Actor

func (*UpdateActorRequest) ProtoMessage added in v0.2.0

func (*UpdateActorRequest) ProtoMessage()

func (*UpdateActorRequest) ProtoReflect added in v0.2.0

func (x *UpdateActorRequest) ProtoReflect() protoreflect.Message

func (*UpdateActorRequest) Reset added in v0.2.0

func (x *UpdateActorRequest) Reset()

func (*UpdateActorRequest) String added in v0.2.0

func (x *UpdateActorRequest) String() string

type UpdateTagRequest added in v0.2.0

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 added in v0.2.0

func (*UpdateTagRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTagRequest.ProtoReflect.Descriptor instead.

func (*UpdateTagRequest) GetTag added in v0.2.0

func (x *UpdateTagRequest) GetTag() *Tag

func (*UpdateTagRequest) ProtoMessage added in v0.2.0

func (*UpdateTagRequest) ProtoMessage()

func (*UpdateTagRequest) ProtoReflect added in v0.2.0

func (x *UpdateTagRequest) ProtoReflect() protoreflect.Message

func (*UpdateTagRequest) Reset added in v0.2.0

func (x *UpdateTagRequest) Reset()

func (*UpdateTagRequest) String added in v0.2.0

func (x *UpdateTagRequest) String() string

type UpdateWorkerRequest added in v0.2.0

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.
	//
	// sandbox_class and labels are the only fields 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 added in v0.2.0

func (*UpdateWorkerRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateWorkerRequest.ProtoReflect.Descriptor instead.

func (*UpdateWorkerRequest) GetWorker added in v0.2.0

func (x *UpdateWorkerRequest) GetWorker() *Worker

func (*UpdateWorkerRequest) ProtoMessage added in v0.2.0

func (*UpdateWorkerRequest) ProtoMessage()

func (*UpdateWorkerRequest) ProtoReflect added in v0.2.0

func (x *UpdateWorkerRequest) ProtoReflect() protoreflect.Message

func (*UpdateWorkerRequest) Reset added in v0.2.0

func (x *UpdateWorkerRequest) Reset()

func (*UpdateWorkerRequest) String added in v0.2.0

func (x *UpdateWorkerRequest) String() string

type Volume added in v0.2.0

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_volume_template / 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"`
	// +k8s:optional
	// +k8s:unionMember
	ExternalVolumeTemplate *ExternalVolumeTemplate `` /* 129-byte string literal not displayed */
	// +k8s:optional
	// +k8s:unionMember
	SystemInfo *SystemInfoVolumeSource `protobuf:"bytes,5,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,6,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

func (*Volume) Descriptor deprecated added in v0.2.0

func (*Volume) Descriptor() ([]byte, []int)

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetDurableDir added in v0.2.0

func (x *Volume) GetDurableDir() *DurableDirVolumeSource

func (*Volume) GetExternalVolumeTemplate added in v0.2.0

func (x *Volume) GetExternalVolumeTemplate() *ExternalVolumeTemplate

func (*Volume) GetImage added in v0.2.0

func (x *Volume) GetImage() *ImageVolumeSource

func (*Volume) GetName added in v0.2.0

func (x *Volume) GetName() string

func (*Volume) GetSystemInfo added in v0.2.0

func (x *Volume) GetSystemInfo() *SystemInfoVolumeSource

func (*Volume) ProtoMessage added in v0.2.0

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect added in v0.2.0

func (x *Volume) ProtoReflect() protoreflect.Message

func (*Volume) Reset added in v0.2.0

func (x *Volume) Reset()

func (*Volume) String added in v0.2.0

func (x *Volume) String() string

type VolumeMount added in v0.2.0

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.
	//
	// +k8s:required
	// +k8s:maxLength=4096
	// +k8s:customValidation # clean-absolute-path shape; no regex/pattern tag exists
	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 added in v0.2.0

func (*VolumeMount) Descriptor() ([]byte, []int)

Deprecated: Use VolumeMount.ProtoReflect.Descriptor instead.

func (*VolumeMount) GetMountPath added in v0.2.0

func (x *VolumeMount) GetMountPath() string

func (*VolumeMount) GetName added in v0.2.0

func (x *VolumeMount) GetName() string

func (*VolumeMount) ProtoMessage added in v0.2.0

func (*VolumeMount) ProtoMessage()

func (*VolumeMount) ProtoReflect added in v0.2.0

func (x *VolumeMount) ProtoReflect() protoreflect.Message

func (*VolumeMount) Reset added in v0.2.0

func (x *VolumeMount) Reset()

func (*VolumeMount) String added in v0.2.0

func (x *VolumeMount) 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"`
	// +k8s:required
	// +k8s:customValidation # until `format=k8s-ip` is supported
	// +k8s:immutable
	Ip string `protobuf:"bytes,7,opt,name=ip,proto3" json:"ip,omitempty"`
	// sandbox_class mirrors the WorkerPool's sandboxClass; its values are the
	// CRD's own vocabulary, so it is only bounded, not validated. Mutable.
	//
	// +k8s:optional
	// +k8s:maxLength=63
	SandboxClass string `protobuf:"bytes,8,opt,name=sandbox_class,json=sandboxClass,proto3" json:"sandbox_class,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. DrainWorker is the
	// only way a client moves state, and the assignments are the scheduler's.
	//
	// +k8s:optional
	Status *WorkerStatus `protobuf:"bytes,11,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.

sandbox_class and labels 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) Descriptor() ([]byte, []int)

Deprecated: Use Worker.ProtoReflect.Descriptor instead.

func (*Worker) GetIp

func (x *Worker) GetIp() string

func (*Worker) GetLabels added in v0.2.0

func (x *Worker) GetLabels() map[string]string

func (*Worker) GetMetadata added in v0.2.0

func (x *Worker) GetMetadata() *ResourceMetadata

func (*Worker) GetNodeName added in v0.2.0

func (x *Worker) GetNodeName() string

func (*Worker) GetSandboxClass added in v0.2.0

func (x *Worker) GetSandboxClass() string

func (*Worker) GetStatus added in v0.2.0

func (x *Worker) GetStatus() *WorkerStatus

func (*Worker) GetWorkerNamespace

func (x *Worker) GetWorkerNamespace() string

func (*Worker) GetWorkerPod

func (x *Worker) GetWorkerPod() string

func (*Worker) GetWorkerPodUid added in v0.2.0

func (x *Worker) GetWorkerPodUid() string

func (*Worker) GetWorkerPool

func (x *Worker) GetWorkerPool() string

func (*Worker) ProtoMessage

func (*Worker) ProtoMessage()

func (*Worker) ProtoReflect

func (x *Worker) ProtoReflect() protoreflect.Message

func (*Worker) Reset

func (x *Worker) Reset()

func (*Worker) String

func (x *Worker) String() string

type WorkerAssignment added in v0.2.0

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
	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
	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
	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
	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
	WorkerPodUid string `protobuf:"bytes,4,opt,name=worker_pod_uid,json=workerPodUid,proto3" json:"worker_pod_uid,omitempty"`
	// worker_pod_ip is the IP of worker_pod.
	//
	// +k8s:required
	// +k8s:customValidation # until `format=k8s-ip` is supported
	WorkerPodIp string `protobuf:"bytes,5,opt,name=worker_pod_ip,json=workerPodIp,proto3" json:"worker_pod_ip,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_ip on the request-routing path and must not need a second lookup, and kubectl-ate displays the pod name. The copies stay valid for the life of the assignment because a Worker's identity fields are immutable.

Pass `worker` to GetWorker; none of the denormalized fields identify the Worker to the API.

func (*WorkerAssignment) Descriptor deprecated added in v0.2.0

func (*WorkerAssignment) Descriptor() ([]byte, []int)

Deprecated: Use WorkerAssignment.ProtoReflect.Descriptor instead.

func (*WorkerAssignment) GetWorker added in v0.2.0

func (x *WorkerAssignment) GetWorker() *ObjectRef

func (*WorkerAssignment) GetWorkerNamespace added in v0.2.0

func (x *WorkerAssignment) GetWorkerNamespace() string

func (*WorkerAssignment) GetWorkerPod added in v0.2.0

func (x *WorkerAssignment) GetWorkerPod() string

func (*WorkerAssignment) GetWorkerPodIp added in v0.2.0

func (x *WorkerAssignment) GetWorkerPodIp() string

func (*WorkerAssignment) GetWorkerPodUid added in v0.2.0

func (x *WorkerAssignment) GetWorkerPodUid() string

func (*WorkerAssignment) GetWorkerPool added in v0.2.0

func (x *WorkerAssignment) GetWorkerPool() string

func (*WorkerAssignment) ProtoMessage added in v0.2.0

func (*WorkerAssignment) ProtoMessage()

func (*WorkerAssignment) ProtoReflect added in v0.2.0

func (x *WorkerAssignment) ProtoReflect() protoreflect.Message

func (*WorkerAssignment) Reset added in v0.2.0

func (x *WorkerAssignment) Reset()

func (*WorkerAssignment) String added in v0.2.0

func (x *WorkerAssignment) String() string

type WorkerResources added in v0.2.0

type WorkerResources struct {

	// Resources match the Actor's definition of resources.
	// They are matched by name and used for placement.
	//
	// +k8s:optional
	Resources *Resources `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,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,2,opt,name=actors,proto3" json:"actors,omitempty"`
	// contains filtered or unexported fields
}

WorkerResources represents a set of resources.

func (*WorkerResources) Descriptor deprecated added in v0.2.0

func (*WorkerResources) Descriptor() ([]byte, []int)

Deprecated: Use WorkerResources.ProtoReflect.Descriptor instead.

func (*WorkerResources) GetActors added in v0.2.0

func (x *WorkerResources) GetActors() int32

func (*WorkerResources) GetResources added in v0.2.0

func (x *WorkerResources) GetResources() *Resources

func (*WorkerResources) ProtoMessage added in v0.2.0

func (*WorkerResources) ProtoMessage()

func (*WorkerResources) ProtoReflect added in v0.2.0

func (x *WorkerResources) ProtoReflect() protoreflect.Message

func (*WorkerResources) Reset added in v0.2.0

func (x *WorkerResources) Reset()

func (*WorkerResources) String added in v0.2.0

func (x *WorkerResources) String() string

type WorkerServiceClient added in v0.2.0

type WorkerServiceClient interface {
	// SetWorkerCapacity records what a Worker can hold. Capacity is the Worker's
	// to report rather than the control plane's to infer: it is what the ateom
	// can actually supply, only its node can observe it, and a fleet may run
	// mixed ateom versions.
	//
	// atelet calls this with its own client certificate, as it does for
	// MintCert. Idempotent: re-sending the same capacity is not a write.
	SetWorkerCapacity(ctx context.Context, in *SetWorkerCapacityRequest, opts ...grpc.CallOption) (*SetWorkerCapacityResponse, 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 about itself. 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 added in v0.2.0

func NewWorkerServiceClient(cc grpc.ClientConnInterface) WorkerServiceClient

type WorkerServiceServer added in v0.2.0

type WorkerServiceServer interface {
	// SetWorkerCapacity records what a Worker can hold. Capacity is the Worker's
	// to report rather than the control plane's to infer: it is what the ateom
	// can actually supply, only its node can observe it, and a fleet may run
	// mixed ateom versions.
	//
	// atelet calls this with its own client certificate, as it does for
	// MintCert. Idempotent: re-sending the same capacity is not a write.
	SetWorkerCapacity(context.Context, *SetWorkerCapacityRequest) (*SetWorkerCapacityResponse, 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 about itself. 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 added in v0.2.0

type WorkerState int32
const (
	WorkerState_WORKER_STATE_UNSPECIFIED WorkerState = 0
	// Ready; schedulable.
	WorkerState_WORKER_STATE_ACTIVE WorkerState = 1
	// Pod terminating. Not schedulable.
	WorkerState_WORKER_STATE_DRAINING WorkerState = 2 // Keep this in sync with WorkerStatus.state's maximum.
)

func (WorkerState) Descriptor added in v0.2.0

func (WorkerState) Enum added in v0.2.0

func (x WorkerState) Enum() *WorkerState

func (WorkerState) EnumDescriptor deprecated added in v0.2.0

func (WorkerState) EnumDescriptor() ([]byte, []int)

Deprecated: Use WorkerState.Descriptor instead.

func (WorkerState) Number added in v0.2.0

func (x WorkerState) Number() protoreflect.EnumNumber

func (WorkerState) String added in v0.2.0

func (x WorkerState) String() string

func (WorkerState) Type added in v0.2.0

type WorkerStatus added in v0.2.0

type WorkerStatus struct {

	// +k8s:required
	// +k8s:minimum=1
	// +k8s:maximum=2 # keep this in sync with the WorkerState enum
	State WorkerState `protobuf:"varint,1,opt,name=state,proto3,enum=ateapi.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.
	//
	// +k8s:optional
	Allocated *WorkerResources `protobuf:"bytes,3,opt,name=allocated,proto3" json:"allocated,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkerStatus) Descriptor deprecated added in v0.2.0

func (*WorkerStatus) Descriptor() ([]byte, []int)

Deprecated: Use WorkerStatus.ProtoReflect.Descriptor instead.

func (*WorkerStatus) GetAllocated added in v0.2.0

func (x *WorkerStatus) GetAllocated() *WorkerResources

func (*WorkerStatus) GetCapacity added in v0.2.0

func (x *WorkerStatus) GetCapacity() *WorkerResources

func (*WorkerStatus) GetState added in v0.2.0

func (x *WorkerStatus) GetState() WorkerState

func (*WorkerStatus) ProtoMessage added in v0.2.0

func (*WorkerStatus) ProtoMessage()

func (*WorkerStatus) ProtoReflect added in v0.2.0

func (x *WorkerStatus) ProtoReflect() protoreflect.Message

func (*WorkerStatus) Reset added in v0.2.0

func (x *WorkerStatus) Reset()

func (*WorkerStatus) String added in v0.2.0

func (x *WorkerStatus) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL