Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterContainerServiceServer(s grpc.ServiceRegistrar, srv ContainerServiceServer)
- type Args
- type Command
- type Connectivity
- func (*Connectivity) Descriptor() ([]byte, []int)deprecated
- func (x *Connectivity) GetNetworkId() string
- func (x *Connectivity) GetSubnetIds() []string
- func (*Connectivity) ProtoMessage()
- func (x *Connectivity) ProtoReflect() protoreflect.Message
- func (x *Connectivity) Reset()
- func (m *Connectivity) SetNetworkId(v string)
- func (m *Connectivity) SetSubnetIds(v []string)
- func (x *Connectivity) String() string
- type Container
- func (*Container) Descriptor() ([]byte, []int)deprecated
- func (x *Container) GetCreatedAt() *timestamppb.Timestamp
- func (x *Container) GetDescription() string
- func (x *Container) GetFolderId() string
- func (x *Container) GetId() string
- func (x *Container) GetLabels() map[string]string
- func (x *Container) GetName() string
- func (x *Container) GetStatus() Container_Status
- func (x *Container) GetUrl() string
- func (*Container) ProtoMessage()
- func (x *Container) ProtoReflect() protoreflect.Message
- func (x *Container) Reset()
- func (m *Container) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Container) SetDescription(v string)
- func (m *Container) SetFolderId(v string)
- func (m *Container) SetId(v string)
- func (m *Container) SetLabels(v map[string]string)
- func (m *Container) SetName(v string)
- func (m *Container) SetStatus(v Container_Status)
- func (m *Container) SetUrl(v string)
- func (x *Container) String() string
- type ContainerServiceClient
- type ContainerServiceServer
- type Container_Status
- func (Container_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Container_Status) Enum() *Container_Status
- func (Container_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Container_Status) Number() protoreflect.EnumNumber
- func (x Container_Status) String() string
- func (Container_Status) Type() protoreflect.EnumType
- type CreateContainerMetadata
- func (*CreateContainerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerMetadata) GetContainerId() string
- func (*CreateContainerMetadata) ProtoMessage()
- func (x *CreateContainerMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateContainerMetadata) Reset()
- func (m *CreateContainerMetadata) SetContainerId(v string)
- func (x *CreateContainerMetadata) String() string
- type CreateContainerRequest
- func (*CreateContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateContainerRequest) GetDescription() string
- func (x *CreateContainerRequest) GetFolderId() string
- func (x *CreateContainerRequest) GetLabels() map[string]string
- func (x *CreateContainerRequest) GetName() string
- func (*CreateContainerRequest) ProtoMessage()
- func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *CreateContainerRequest) Reset()
- func (m *CreateContainerRequest) SetDescription(v string)
- func (m *CreateContainerRequest) SetFolderId(v string)
- func (m *CreateContainerRequest) SetLabels(v map[string]string)
- func (m *CreateContainerRequest) SetName(v string)
- func (x *CreateContainerRequest) String() string
- type DeleteContainerMetadata
- func (*DeleteContainerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteContainerMetadata) GetContainerId() string
- func (*DeleteContainerMetadata) ProtoMessage()
- func (x *DeleteContainerMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteContainerMetadata) Reset()
- func (m *DeleteContainerMetadata) SetContainerId(v string)
- func (x *DeleteContainerMetadata) String() string
- type DeleteContainerRequest
- func (*DeleteContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteContainerRequest) GetContainerId() string
- func (*DeleteContainerRequest) ProtoMessage()
- func (x *DeleteContainerRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteContainerRequest) Reset()
- func (m *DeleteContainerRequest) SetContainerId(v string)
- func (x *DeleteContainerRequest) String() string
- type DeployContainerRevisionMetadata
- func (*DeployContainerRevisionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeployContainerRevisionMetadata) GetContainerRevisionId() string
- func (*DeployContainerRevisionMetadata) ProtoMessage()
- func (x *DeployContainerRevisionMetadata) ProtoReflect() protoreflect.Message
- func (x *DeployContainerRevisionMetadata) Reset()
- func (m *DeployContainerRevisionMetadata) SetContainerRevisionId(v string)
- func (x *DeployContainerRevisionMetadata) String() string
- type DeployContainerRevisionRequest
- func (*DeployContainerRevisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeployContainerRevisionRequest) GetConcurrency() int64
- func (x *DeployContainerRevisionRequest) GetConnectivity() *Connectivity
- func (x *DeployContainerRevisionRequest) GetContainerId() string
- func (x *DeployContainerRevisionRequest) GetDescription() string
- func (x *DeployContainerRevisionRequest) GetExecutionTimeout() *durationpb.Duration
- func (x *DeployContainerRevisionRequest) GetImageSpec() *ImageSpec
- func (x *DeployContainerRevisionRequest) GetLogOptions() *LogOptions
- func (x *DeployContainerRevisionRequest) GetMounts() []*Mount
- func (x *DeployContainerRevisionRequest) GetProvisionPolicy() *ProvisionPolicy
- func (x *DeployContainerRevisionRequest) GetResources() *Resources
- func (x *DeployContainerRevisionRequest) GetRuntime() *Runtime
- func (x *DeployContainerRevisionRequest) GetScalingPolicy() *ScalingPolicy
- func (x *DeployContainerRevisionRequest) GetSecrets() []*Secret
- func (x *DeployContainerRevisionRequest) GetServiceAccountId() string
- func (x *DeployContainerRevisionRequest) GetStorageMounts() []*StorageMount
- func (*DeployContainerRevisionRequest) ProtoMessage()
- func (x *DeployContainerRevisionRequest) ProtoReflect() protoreflect.Message
- func (x *DeployContainerRevisionRequest) Reset()
- func (m *DeployContainerRevisionRequest) SetConcurrency(v int64)
- func (m *DeployContainerRevisionRequest) SetConnectivity(v *Connectivity)
- func (m *DeployContainerRevisionRequest) SetContainerId(v string)
- func (m *DeployContainerRevisionRequest) SetDescription(v string)
- func (m *DeployContainerRevisionRequest) SetExecutionTimeout(v *durationpb.Duration)
- func (m *DeployContainerRevisionRequest) SetImageSpec(v *ImageSpec)
- func (m *DeployContainerRevisionRequest) SetLogOptions(v *LogOptions)
- func (m *DeployContainerRevisionRequest) SetMounts(v []*Mount)
- func (m *DeployContainerRevisionRequest) SetProvisionPolicy(v *ProvisionPolicy)
- func (m *DeployContainerRevisionRequest) SetResources(v *Resources)
- func (m *DeployContainerRevisionRequest) SetRuntime(v *Runtime)
- func (m *DeployContainerRevisionRequest) SetScalingPolicy(v *ScalingPolicy)
- func (m *DeployContainerRevisionRequest) SetSecrets(v []*Secret)
- func (m *DeployContainerRevisionRequest) SetServiceAccountId(v string)
- func (m *DeployContainerRevisionRequest) SetStorageMounts(v []*StorageMount)
- func (x *DeployContainerRevisionRequest) String() string
- type GetContainerRequest
- func (*GetContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetContainerRequest) GetContainerId() string
- func (*GetContainerRequest) ProtoMessage()
- func (x *GetContainerRequest) ProtoReflect() protoreflect.Message
- func (x *GetContainerRequest) Reset()
- func (m *GetContainerRequest) SetContainerId(v string)
- func (x *GetContainerRequest) String() string
- type GetContainerRevisionRequest
- func (*GetContainerRevisionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetContainerRevisionRequest) GetContainerRevisionId() string
- func (*GetContainerRevisionRequest) ProtoMessage()
- func (x *GetContainerRevisionRequest) ProtoReflect() protoreflect.Message
- func (x *GetContainerRevisionRequest) Reset()
- func (m *GetContainerRevisionRequest) SetContainerRevisionId(v string)
- func (x *GetContainerRevisionRequest) String() string
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetArgs() *Args
- func (x *Image) GetCommand() *Command
- func (x *Image) GetEnvironment() map[string]string
- func (x *Image) GetImageDigest() string
- func (x *Image) GetImageUrl() string
- func (x *Image) GetWorkingDir() string
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (m *Image) SetArgs(v *Args)
- func (m *Image) SetCommand(v *Command)
- func (m *Image) SetEnvironment(v map[string]string)
- func (m *Image) SetImageDigest(v string)
- func (m *Image) SetImageUrl(v string)
- func (m *Image) SetWorkingDir(v string)
- func (x *Image) String() string
- type ImageSpec
- func (*ImageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ImageSpec) GetArgs() *Args
- func (x *ImageSpec) GetCommand() *Command
- func (x *ImageSpec) GetEnvironment() map[string]string
- func (x *ImageSpec) GetImageUrl() string
- func (x *ImageSpec) GetWorkingDir() string
- func (*ImageSpec) ProtoMessage()
- func (x *ImageSpec) ProtoReflect() protoreflect.Message
- func (x *ImageSpec) Reset()
- func (m *ImageSpec) SetArgs(v *Args)
- func (m *ImageSpec) SetCommand(v *Command)
- func (m *ImageSpec) SetEnvironment(v map[string]string)
- func (m *ImageSpec) SetImageUrl(v string)
- func (m *ImageSpec) SetWorkingDir(v string)
- func (x *ImageSpec) String() string
- type ListContainerOperationsRequest
- func (*ListContainerOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerOperationsRequest) GetContainerId() string
- func (x *ListContainerOperationsRequest) GetFilter() string
- func (x *ListContainerOperationsRequest) GetPageSize() int64
- func (x *ListContainerOperationsRequest) GetPageToken() string
- func (*ListContainerOperationsRequest) ProtoMessage()
- func (x *ListContainerOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListContainerOperationsRequest) Reset()
- func (m *ListContainerOperationsRequest) SetContainerId(v string)
- func (m *ListContainerOperationsRequest) SetFilter(v string)
- func (m *ListContainerOperationsRequest) SetPageSize(v int64)
- func (m *ListContainerOperationsRequest) SetPageToken(v string)
- func (x *ListContainerOperationsRequest) String() string
- type ListContainerOperationsResponse
- func (*ListContainerOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainerOperationsResponse) GetNextPageToken() string
- func (x *ListContainerOperationsResponse) GetOperations() []*operation.Operation
- func (*ListContainerOperationsResponse) ProtoMessage()
- func (x *ListContainerOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListContainerOperationsResponse) Reset()
- func (m *ListContainerOperationsResponse) SetNextPageToken(v string)
- func (m *ListContainerOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListContainerOperationsResponse) String() string
- type ListContainersRequest
- func (*ListContainersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainersRequest) GetFilter() string
- func (x *ListContainersRequest) GetFolderId() string
- func (x *ListContainersRequest) GetPageSize() int64
- func (x *ListContainersRequest) GetPageToken() string
- func (*ListContainersRequest) ProtoMessage()
- func (x *ListContainersRequest) ProtoReflect() protoreflect.Message
- func (x *ListContainersRequest) Reset()
- func (m *ListContainersRequest) SetFilter(v string)
- func (m *ListContainersRequest) SetFolderId(v string)
- func (m *ListContainersRequest) SetPageSize(v int64)
- func (m *ListContainersRequest) SetPageToken(v string)
- func (x *ListContainersRequest) String() string
- type ListContainersResponse
- func (*ListContainersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainersResponse) GetContainers() []*Container
- func (x *ListContainersResponse) GetNextPageToken() string
- func (*ListContainersResponse) ProtoMessage()
- func (x *ListContainersResponse) ProtoReflect() protoreflect.Message
- func (x *ListContainersResponse) Reset()
- func (m *ListContainersResponse) SetContainers(v []*Container)
- func (m *ListContainersResponse) SetNextPageToken(v string)
- func (x *ListContainersResponse) String() string
- type ListContainersRevisionsRequest
- func (*ListContainersRevisionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainersRevisionsRequest) GetContainerId() string
- func (x *ListContainersRevisionsRequest) GetFilter() string
- func (x *ListContainersRevisionsRequest) GetFolderId() string
- func (m *ListContainersRevisionsRequest) GetId() isListContainersRevisionsRequest_Id
- func (x *ListContainersRevisionsRequest) GetPageSize() int64
- func (x *ListContainersRevisionsRequest) GetPageToken() string
- func (*ListContainersRevisionsRequest) ProtoMessage()
- func (x *ListContainersRevisionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListContainersRevisionsRequest) Reset()
- func (m *ListContainersRevisionsRequest) SetContainerId(v string)
- func (m *ListContainersRevisionsRequest) SetFilter(v string)
- func (m *ListContainersRevisionsRequest) SetFolderId(v string)
- func (m *ListContainersRevisionsRequest) SetId(v ListContainersRevisionsRequest_Id)
- func (m *ListContainersRevisionsRequest) SetPageSize(v int64)
- func (m *ListContainersRevisionsRequest) SetPageToken(v string)
- func (x *ListContainersRevisionsRequest) String() string
- type ListContainersRevisionsRequest_ContainerId
- type ListContainersRevisionsRequest_FolderId
- type ListContainersRevisionsRequest_Id
- type ListContainersRevisionsResponse
- func (*ListContainersRevisionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListContainersRevisionsResponse) GetNextPageToken() string
- func (x *ListContainersRevisionsResponse) GetRevisions() []*Revision
- func (*ListContainersRevisionsResponse) ProtoMessage()
- func (x *ListContainersRevisionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListContainersRevisionsResponse) Reset()
- func (m *ListContainersRevisionsResponse) SetNextPageToken(v string)
- func (m *ListContainersRevisionsResponse) SetRevisions(v []*Revision)
- func (x *ListContainersRevisionsResponse) String() string
- type LogOptions
- func (*LogOptions) Descriptor() ([]byte, []int)deprecated
- func (m *LogOptions) GetDestination() isLogOptions_Destination
- func (x *LogOptions) GetDisabled() bool
- func (x *LogOptions) GetFolderId() string
- func (x *LogOptions) GetLogGroupId() string
- func (x *LogOptions) GetMinLevel() v1.LogLevel_Level
- func (*LogOptions) ProtoMessage()
- func (x *LogOptions) ProtoReflect() protoreflect.Message
- func (x *LogOptions) Reset()
- func (m *LogOptions) SetDestination(v LogOptions_Destination)
- func (m *LogOptions) SetDisabled(v bool)
- func (m *LogOptions) SetFolderId(v string)
- func (m *LogOptions) SetLogGroupId(v string)
- func (m *LogOptions) SetMinLevel(v v1.LogLevel_Level)
- func (x *LogOptions) String() string
- type LogOptions_Destination
- type LogOptions_FolderId
- type LogOptions_LogGroupId
- type Mount
- func (*Mount) Descriptor() ([]byte, []int)deprecated
- func (x *Mount) GetEphemeralDiskSpec() *Mount_DiskSpec
- func (x *Mount) GetMode() Mount_Mode
- func (x *Mount) GetMountPointPath() string
- func (x *Mount) GetObjectStorage() *Mount_ObjectStorage
- func (m *Mount) GetTarget() isMount_Target
- func (*Mount) ProtoMessage()
- func (x *Mount) ProtoReflect() protoreflect.Message
- func (x *Mount) Reset()
- func (m *Mount) SetEphemeralDiskSpec(v *Mount_DiskSpec)
- func (m *Mount) SetMode(v Mount_Mode)
- func (m *Mount) SetMountPointPath(v string)
- func (m *Mount) SetObjectStorage(v *Mount_ObjectStorage)
- func (m *Mount) SetTarget(v Mount_Target)
- func (x *Mount) String() string
- type Mount_DiskSpec
- func (*Mount_DiskSpec) Descriptor() ([]byte, []int)deprecated
- func (x *Mount_DiskSpec) GetBlockSize() int64
- func (x *Mount_DiskSpec) GetSize() int64
- func (*Mount_DiskSpec) ProtoMessage()
- func (x *Mount_DiskSpec) ProtoReflect() protoreflect.Message
- func (x *Mount_DiskSpec) Reset()
- func (m *Mount_DiskSpec) SetBlockSize(v int64)
- func (m *Mount_DiskSpec) SetSize(v int64)
- func (x *Mount_DiskSpec) String() string
- type Mount_EphemeralDiskSpec
- type Mount_Mode
- type Mount_ObjectStorage
- func (*Mount_ObjectStorage) Descriptor() ([]byte, []int)deprecated
- func (x *Mount_ObjectStorage) GetBucketId() string
- func (x *Mount_ObjectStorage) GetPrefix() string
- func (*Mount_ObjectStorage) ProtoMessage()
- func (x *Mount_ObjectStorage) ProtoReflect() protoreflect.Message
- func (x *Mount_ObjectStorage) Reset()
- func (m *Mount_ObjectStorage) SetBucketId(v string)
- func (m *Mount_ObjectStorage) SetPrefix(v string)
- func (x *Mount_ObjectStorage) String() string
- type Mount_ObjectStorage_
- type Mount_Target
- type ProvisionPolicy
- func (*ProvisionPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ProvisionPolicy) GetMinInstances() int64
- func (*ProvisionPolicy) ProtoMessage()
- func (x *ProvisionPolicy) ProtoReflect() protoreflect.Message
- func (x *ProvisionPolicy) Reset()
- func (m *ProvisionPolicy) SetMinInstances(v int64)
- func (x *ProvisionPolicy) String() string
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Resources) GetCoreFraction() int64
- func (x *Resources) GetCores() int64
- func (x *Resources) GetMemory() int64
- func (*Resources) ProtoMessage()
- func (x *Resources) ProtoReflect() protoreflect.Message
- func (x *Resources) Reset()
- func (m *Resources) SetCoreFraction(v int64)
- func (m *Resources) SetCores(v int64)
- func (m *Resources) SetMemory(v int64)
- func (x *Resources) String() string
- type Revision
- func (*Revision) Descriptor() ([]byte, []int)deprecated
- func (x *Revision) GetConcurrency() int64
- func (x *Revision) GetConnectivity() *Connectivity
- func (x *Revision) GetContainerId() string
- func (x *Revision) GetCreatedAt() *timestamppb.Timestamp
- func (x *Revision) GetDescription() string
- func (x *Revision) GetExecutionTimeout() *durationpb.Duration
- func (x *Revision) GetId() string
- func (x *Revision) GetImage() *Image
- func (x *Revision) GetLogOptions() *LogOptions
- func (x *Revision) GetMounts() []*Mount
- func (x *Revision) GetProvisionPolicy() *ProvisionPolicy
- func (x *Revision) GetResources() *Resources
- func (x *Revision) GetRuntime() *Runtime
- func (x *Revision) GetScalingPolicy() *ScalingPolicy
- func (x *Revision) GetSecrets() []*Secret
- func (x *Revision) GetServiceAccountId() string
- func (x *Revision) GetStatus() Revision_Status
- func (x *Revision) GetStorageMounts() []*StorageMount
- func (*Revision) ProtoMessage()
- func (x *Revision) ProtoReflect() protoreflect.Message
- func (x *Revision) Reset()
- func (m *Revision) SetConcurrency(v int64)
- func (m *Revision) SetConnectivity(v *Connectivity)
- func (m *Revision) SetContainerId(v string)
- func (m *Revision) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Revision) SetDescription(v string)
- func (m *Revision) SetExecutionTimeout(v *durationpb.Duration)
- func (m *Revision) SetId(v string)
- func (m *Revision) SetImage(v *Image)
- func (m *Revision) SetLogOptions(v *LogOptions)
- func (m *Revision) SetMounts(v []*Mount)
- func (m *Revision) SetProvisionPolicy(v *ProvisionPolicy)
- func (m *Revision) SetResources(v *Resources)
- func (m *Revision) SetRuntime(v *Runtime)
- func (m *Revision) SetScalingPolicy(v *ScalingPolicy)
- func (m *Revision) SetSecrets(v []*Secret)
- func (m *Revision) SetServiceAccountId(v string)
- func (m *Revision) SetStatus(v Revision_Status)
- func (m *Revision) SetStorageMounts(v []*StorageMount)
- func (x *Revision) String() string
- type Revision_Status
- func (Revision_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Revision_Status) Enum() *Revision_Status
- func (Revision_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Revision_Status) Number() protoreflect.EnumNumber
- func (x Revision_Status) String() string
- func (Revision_Status) Type() protoreflect.EnumType
- type RollbackContainerMetadata
- func (*RollbackContainerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RollbackContainerMetadata) GetContainerId() string
- func (x *RollbackContainerMetadata) GetRevisionId() string
- func (*RollbackContainerMetadata) ProtoMessage()
- func (x *RollbackContainerMetadata) ProtoReflect() protoreflect.Message
- func (x *RollbackContainerMetadata) Reset()
- func (m *RollbackContainerMetadata) SetContainerId(v string)
- func (m *RollbackContainerMetadata) SetRevisionId(v string)
- func (x *RollbackContainerMetadata) String() string
- type RollbackContainerRequest
- func (*RollbackContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RollbackContainerRequest) GetContainerId() string
- func (x *RollbackContainerRequest) GetRevisionId() string
- func (*RollbackContainerRequest) ProtoMessage()
- func (x *RollbackContainerRequest) ProtoReflect() protoreflect.Message
- func (x *RollbackContainerRequest) Reset()
- func (m *RollbackContainerRequest) SetContainerId(v string)
- func (m *RollbackContainerRequest) SetRevisionId(v string)
- func (x *RollbackContainerRequest) String() string
- type Runtime
- func (*Runtime) Descriptor() ([]byte, []int)deprecated
- func (x *Runtime) GetHttp() *Runtime_Http
- func (x *Runtime) GetTask() *Runtime_Task
- func (m *Runtime) GetType() isRuntime_Type
- func (*Runtime) ProtoMessage()
- func (x *Runtime) ProtoReflect() protoreflect.Message
- func (x *Runtime) Reset()
- func (m *Runtime) SetHttp(v *Runtime_Http)
- func (m *Runtime) SetTask(v *Runtime_Task)
- func (m *Runtime) SetType(v Runtime_Type)
- func (x *Runtime) String() string
- type Runtime_Http
- type Runtime_Http_
- type Runtime_Task
- type Runtime_Task_
- type Runtime_Type
- type ScalingPolicy
- func (*ScalingPolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ScalingPolicy) GetZoneInstancesLimit() int64
- func (x *ScalingPolicy) GetZoneRequestsLimit() int64
- func (*ScalingPolicy) ProtoMessage()
- func (x *ScalingPolicy) ProtoReflect() protoreflect.Message
- func (x *ScalingPolicy) Reset()
- func (m *ScalingPolicy) SetZoneInstancesLimit(v int64)
- func (m *ScalingPolicy) SetZoneRequestsLimit(v int64)
- func (x *ScalingPolicy) String() string
- type Secret
- func (*Secret) Descriptor() ([]byte, []int)deprecated
- func (x *Secret) GetEnvironmentVariable() string
- func (x *Secret) GetId() string
- func (x *Secret) GetKey() string
- func (m *Secret) GetReference() isSecret_Reference
- func (x *Secret) GetVersionId() string
- func (*Secret) ProtoMessage()
- func (x *Secret) ProtoReflect() protoreflect.Message
- func (x *Secret) Reset()
- func (m *Secret) SetEnvironmentVariable(v string)
- func (m *Secret) SetId(v string)
- func (m *Secret) SetKey(v string)
- func (m *Secret) SetReference(v Secret_Reference)
- func (m *Secret) SetVersionId(v string)
- func (x *Secret) String() string
- type Secret_EnvironmentVariable
- type Secret_Reference
- type StorageMountdeprecated
- func (*StorageMount) Descriptor() ([]byte, []int)deprecated
- func (x *StorageMount) GetBucketId() string
- func (x *StorageMount) GetMountPointPath() string
- func (x *StorageMount) GetPrefix() string
- func (x *StorageMount) GetReadOnly() bool
- func (*StorageMount) ProtoMessage()
- func (x *StorageMount) ProtoReflect() protoreflect.Message
- func (x *StorageMount) Reset()
- func (m *StorageMount) SetBucketId(v string)
- func (m *StorageMount) SetMountPointPath(v string)
- func (m *StorageMount) SetPrefix(v string)
- func (m *StorageMount) SetReadOnly(v bool)
- func (x *StorageMount) String() string
- type UnimplementedContainerServiceServer
- func (UnimplementedContainerServiceServer) Create(context.Context, *CreateContainerRequest) (*operation.Operation, error)
- func (UnimplementedContainerServiceServer) Delete(context.Context, *DeleteContainerRequest) (*operation.Operation, error)
- func (UnimplementedContainerServiceServer) DeployRevision(context.Context, *DeployContainerRevisionRequest) (*operation.Operation, error)
- func (UnimplementedContainerServiceServer) Get(context.Context, *GetContainerRequest) (*Container, error)
- func (UnimplementedContainerServiceServer) GetRevision(context.Context, *GetContainerRevisionRequest) (*Revision, error)
- func (UnimplementedContainerServiceServer) List(context.Context, *ListContainersRequest) (*ListContainersResponse, error)
- func (UnimplementedContainerServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
- func (UnimplementedContainerServiceServer) ListOperations(context.Context, *ListContainerOperationsRequest) (*ListContainerOperationsResponse, error)
- func (UnimplementedContainerServiceServer) ListRevisions(context.Context, *ListContainersRevisionsRequest) (*ListContainersRevisionsResponse, error)
- func (UnimplementedContainerServiceServer) Rollback(context.Context, *RollbackContainerRequest) (*operation.Operation, error)
- func (UnimplementedContainerServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
- func (UnimplementedContainerServiceServer) Update(context.Context, *UpdateContainerRequest) (*operation.Operation, error)
- func (UnimplementedContainerServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
- type UnsafeContainerServiceServer
- type UpdateContainerMetadata
- func (*UpdateContainerMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContainerMetadata) GetContainerId() string
- func (*UpdateContainerMetadata) ProtoMessage()
- func (x *UpdateContainerMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateContainerMetadata) Reset()
- func (m *UpdateContainerMetadata) SetContainerId(v string)
- func (x *UpdateContainerMetadata) String() string
- type UpdateContainerRequest
- func (*UpdateContainerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateContainerRequest) GetContainerId() string
- func (x *UpdateContainerRequest) GetDescription() string
- func (x *UpdateContainerRequest) GetLabels() map[string]string
- func (x *UpdateContainerRequest) GetName() string
- func (x *UpdateContainerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateContainerRequest) ProtoMessage()
- func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateContainerRequest) Reset()
- func (m *UpdateContainerRequest) SetContainerId(v string)
- func (m *UpdateContainerRequest) SetDescription(v string)
- func (m *UpdateContainerRequest) SetLabels(v map[string]string)
- func (m *UpdateContainerRequest) SetName(v string)
- func (m *UpdateContainerRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateContainerRequest) String() string
Constants ¶
const ( ContainerService_Get_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/Get" ContainerService_List_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/List" ContainerService_Create_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/Create" ContainerService_Update_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/Update" ContainerService_Delete_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/Delete" ContainerService_DeployRevision_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/DeployRevision" ContainerService_Rollback_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/Rollback" ContainerService_GetRevision_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/GetRevision" ContainerService_ListRevisions_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/ListRevisions" ContainerService_ListOperations_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/ListOperations" ContainerService_ListAccessBindings_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/ListAccessBindings" ContainerService_SetAccessBindings_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/SetAccessBindings" ContainerService_UpdateAccessBindings_FullMethodName = "/yandex.cloud.serverless.containers.v1.ContainerService/UpdateAccessBindings" )
Variables ¶
var ( Container_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", 4: "ERROR", } Container_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, "ERROR": 4, } )
Enum value maps for Container_Status.
var ( Revision_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "OBSOLETE", } Revision_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "OBSOLETE": 3, } )
Enum value maps for Revision_Status.
var ( Mount_Mode_name = map[int32]string{ 0: "MODE_UNSPECIFIED", 1: "READ_ONLY", 2: "READ_WRITE", } Mount_Mode_value = map[string]int32{ "MODE_UNSPECIFIED": 0, "READ_ONLY": 1, "READ_WRITE": 2, } )
Enum value maps for Mount_Mode.
var ContainerService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.serverless.containers.v1.ContainerService", HandlerType: (*ContainerServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _ContainerService_Get_Handler, }, { MethodName: "List", Handler: _ContainerService_List_Handler, }, { MethodName: "Create", Handler: _ContainerService_Create_Handler, }, { MethodName: "Update", Handler: _ContainerService_Update_Handler, }, { MethodName: "Delete", Handler: _ContainerService_Delete_Handler, }, { MethodName: "DeployRevision", Handler: _ContainerService_DeployRevision_Handler, }, { MethodName: "Rollback", Handler: _ContainerService_Rollback_Handler, }, { MethodName: "GetRevision", Handler: _ContainerService_GetRevision_Handler, }, { MethodName: "ListRevisions", Handler: _ContainerService_ListRevisions_Handler, }, { MethodName: "ListOperations", Handler: _ContainerService_ListOperations_Handler, }, { MethodName: "ListAccessBindings", Handler: _ContainerService_ListAccessBindings_Handler, }, { MethodName: "SetAccessBindings", Handler: _ContainerService_SetAccessBindings_Handler, }, { MethodName: "UpdateAccessBindings", Handler: _ContainerService_UpdateAccessBindings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/serverless/containers/v1/container_service.proto", }
ContainerService_ServiceDesc is the grpc.ServiceDesc for ContainerService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_yandex_cloud_serverless_containers_v1_container_proto protoreflect.FileDescriptor
var File_yandex_cloud_serverless_containers_v1_container_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterContainerServiceServer ¶
func RegisterContainerServiceServer(s grpc.ServiceRegistrar, srv ContainerServiceServer)
Types ¶
type Args ¶
type Args struct { // Arguments that will override CMD of an image. // // Arguments will be passed as is. The runtime will not substitute environment // variables or execute shell commands. If one wants to do that, they should // invoke shell interpreter with an appropriate shell script. Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` // contains filtered or unexported fields }
func (*Args) Descriptor
deprecated
func (*Args) ProtoMessage ¶
func (*Args) ProtoMessage()
func (*Args) ProtoReflect ¶
func (x *Args) ProtoReflect() protoreflect.Message
type Command ¶
type Command struct { // Command that will override ENTRYPOINT of an image. // // Commands will be executed as is. The runtime will not substitute environment // variables or execute shell commands. If one wants to do that, they should // invoke shell interpreter with an appropriate shell script. Command []string `protobuf:"bytes,1,rep,name=command,proto3" json:"command,omitempty"` // contains filtered or unexported fields }
func (*Command) Descriptor
deprecated
func (*Command) GetCommand ¶
func (*Command) ProtoMessage ¶
func (*Command) ProtoMessage()
func (*Command) ProtoReflect ¶
func (x *Command) ProtoReflect() protoreflect.Message
func (*Command) SetCommand ¶
type Connectivity ¶
type Connectivity struct { // Network the revision will have access to. NetworkId string `protobuf:"bytes,1,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"` // The list of subnets (from the same network) the revision can be attached to. // // Deprecated, it is sufficient to specify only network_id, without the list of subnet_ids. SubnetIds []string `protobuf:"bytes,2,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"` // contains filtered or unexported fields }
Revision connectivity specification.
func (*Connectivity) Descriptor
deprecated
func (*Connectivity) Descriptor() ([]byte, []int)
Deprecated: Use Connectivity.ProtoReflect.Descriptor instead.
func (*Connectivity) GetNetworkId ¶
func (x *Connectivity) GetNetworkId() string
func (*Connectivity) GetSubnetIds ¶
func (x *Connectivity) GetSubnetIds() []string
func (*Connectivity) ProtoMessage ¶
func (*Connectivity) ProtoMessage()
func (*Connectivity) ProtoReflect ¶
func (x *Connectivity) ProtoReflect() protoreflect.Message
func (*Connectivity) Reset ¶
func (x *Connectivity) Reset()
func (*Connectivity) SetNetworkId ¶
func (m *Connectivity) SetNetworkId(v string)
func (*Connectivity) SetSubnetIds ¶
func (m *Connectivity) SetSubnetIds(v []string)
func (*Connectivity) String ¶
func (x *Connectivity) String() string
type Container ¶
type Container struct { // ID of the container. Generated at creation time. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the folder that the container belongs to. FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Creation timestamp for the container. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Name of the container. The name is unique within the folder. Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // Description of the container. Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // Container labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // URL that needs to be requested to call the container. Url string `protobuf:"bytes,8,opt,name=url,proto3" json:"url,omitempty"` // Status of the container. Status Container_Status `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Container) Descriptor
deprecated
func (*Container) GetCreatedAt ¶
func (x *Container) GetCreatedAt() *timestamppb.Timestamp
func (*Container) GetDescription ¶
func (*Container) GetFolderId ¶
func (*Container) GetStatus ¶
func (x *Container) GetStatus() Container_Status
func (*Container) ProtoMessage ¶
func (*Container) ProtoMessage()
func (*Container) ProtoReflect ¶
func (x *Container) ProtoReflect() protoreflect.Message
func (*Container) SetCreatedAt ¶
func (m *Container) SetCreatedAt(v *timestamppb.Timestamp)
func (*Container) SetDescription ¶
func (*Container) SetFolderId ¶
func (*Container) SetStatus ¶
func (m *Container) SetStatus(v Container_Status)
type ContainerServiceClient ¶
type ContainerServiceClient interface { // Returns the specified container. // // To get the list of all available containers, make a [List] request. Get(ctx context.Context, in *GetContainerRequest, opts ...grpc.CallOption) (*Container, error) // Retrieves the list of containers in the specified folder. List(ctx context.Context, in *ListContainersRequest, opts ...grpc.CallOption) (*ListContainersResponse, error) // Creates a container in the specified folder. Create(ctx context.Context, in *CreateContainerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates the specified container. Update(ctx context.Context, in *UpdateContainerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deletes the specified container. Delete(ctx context.Context, in *DeleteContainerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Deploys a revision for the specified container. DeployRevision(ctx context.Context, in *DeployContainerRevisionRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Rollback the specified container to an old revision. Rollback(ctx context.Context, in *RollbackContainerRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Returns the specified revision of a container. // // To get the list of available revision, make a [ListRevisions] request. GetRevision(ctx context.Context, in *GetContainerRevisionRequest, opts ...grpc.CallOption) (*Revision, error) // Retrieves the list of revisions for the specified container, or of all container revisions // in the specified folder. ListRevisions(ctx context.Context, in *ListContainersRevisionsRequest, opts ...grpc.CallOption) (*ListContainersRevisionsResponse, error) // Lists operations for the specified container. ListOperations(ctx context.Context, in *ListContainerOperationsRequest, opts ...grpc.CallOption) (*ListContainerOperationsResponse, error) // Lists existing access bindings for the specified container. ListAccessBindings(ctx context.Context, in *access.ListAccessBindingsRequest, opts ...grpc.CallOption) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the container. SetAccessBindings(ctx context.Context, in *access.SetAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) // Updates access bindings for the specified container. UpdateAccessBindings(ctx context.Context, in *access.UpdateAccessBindingsRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
ContainerServiceClient is the client API for ContainerService 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.
A set of methods for managing serverless containers.
func NewContainerServiceClient ¶
func NewContainerServiceClient(cc grpc.ClientConnInterface) ContainerServiceClient
type ContainerServiceServer ¶
type ContainerServiceServer interface { // Returns the specified container. // // To get the list of all available containers, make a [List] request. Get(context.Context, *GetContainerRequest) (*Container, error) // Retrieves the list of containers in the specified folder. List(context.Context, *ListContainersRequest) (*ListContainersResponse, error) // Creates a container in the specified folder. Create(context.Context, *CreateContainerRequest) (*operation.Operation, error) // Updates the specified container. Update(context.Context, *UpdateContainerRequest) (*operation.Operation, error) // Deletes the specified container. Delete(context.Context, *DeleteContainerRequest) (*operation.Operation, error) // Deploys a revision for the specified container. DeployRevision(context.Context, *DeployContainerRevisionRequest) (*operation.Operation, error) // Rollback the specified container to an old revision. Rollback(context.Context, *RollbackContainerRequest) (*operation.Operation, error) // Returns the specified revision of a container. // // To get the list of available revision, make a [ListRevisions] request. GetRevision(context.Context, *GetContainerRevisionRequest) (*Revision, error) // Retrieves the list of revisions for the specified container, or of all container revisions // in the specified folder. ListRevisions(context.Context, *ListContainersRevisionsRequest) (*ListContainersRevisionsResponse, error) // Lists operations for the specified container. ListOperations(context.Context, *ListContainerOperationsRequest) (*ListContainerOperationsResponse, error) // Lists existing access bindings for the specified container. ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error) // Sets access bindings for the container. SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error) // Updates access bindings for the specified container. UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error) }
ContainerServiceServer is the server API for ContainerService service. All implementations should embed UnimplementedContainerServiceServer for forward compatibility.
A set of methods for managing serverless containers.
type Container_Status ¶
type Container_Status int32
const ( Container_STATUS_UNSPECIFIED Container_Status = 0 // Container is being created. Container_CREATING Container_Status = 1 // Container is ready for use. Container_ACTIVE Container_Status = 2 // Container is being deleted. Container_DELETING Container_Status = 3 // Container failed. The only allowed action is delete. Container_ERROR Container_Status = 4 )
func (Container_Status) Descriptor ¶
func (Container_Status) Descriptor() protoreflect.EnumDescriptor
func (Container_Status) Enum ¶
func (x Container_Status) Enum() *Container_Status
func (Container_Status) EnumDescriptor
deprecated
func (Container_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Container_Status.Descriptor instead.
func (Container_Status) Number ¶
func (x Container_Status) Number() protoreflect.EnumNumber
func (Container_Status) String ¶
func (x Container_Status) String() string
func (Container_Status) Type ¶
func (Container_Status) Type() protoreflect.EnumType
type CreateContainerMetadata ¶
type CreateContainerMetadata struct { // ID of the container that is being created. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*CreateContainerMetadata) Descriptor
deprecated
func (*CreateContainerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerMetadata.ProtoReflect.Descriptor instead.
func (*CreateContainerMetadata) GetContainerId ¶
func (x *CreateContainerMetadata) GetContainerId() string
func (*CreateContainerMetadata) ProtoMessage ¶
func (*CreateContainerMetadata) ProtoMessage()
func (*CreateContainerMetadata) ProtoReflect ¶
func (x *CreateContainerMetadata) ProtoReflect() protoreflect.Message
func (*CreateContainerMetadata) Reset ¶
func (x *CreateContainerMetadata) Reset()
func (*CreateContainerMetadata) SetContainerId ¶
func (m *CreateContainerMetadata) SetContainerId(v string)
func (*CreateContainerMetadata) String ¶
func (x *CreateContainerMetadata) String() string
type CreateContainerRequest ¶
type CreateContainerRequest struct { // ID of the folder to create a container in. // // To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // Name of the container. // The name must be unique within the folder. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Description of the container. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Resource labels as `key:value` pairs. Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CreateContainerRequest) Descriptor
deprecated
func (*CreateContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateContainerRequest.ProtoReflect.Descriptor instead.
func (*CreateContainerRequest) GetDescription ¶
func (x *CreateContainerRequest) GetDescription() string
func (*CreateContainerRequest) GetFolderId ¶
func (x *CreateContainerRequest) GetFolderId() string
func (*CreateContainerRequest) GetLabels ¶
func (x *CreateContainerRequest) GetLabels() map[string]string
func (*CreateContainerRequest) GetName ¶
func (x *CreateContainerRequest) GetName() string
func (*CreateContainerRequest) ProtoMessage ¶
func (*CreateContainerRequest) ProtoMessage()
func (*CreateContainerRequest) ProtoReflect ¶
func (x *CreateContainerRequest) ProtoReflect() protoreflect.Message
func (*CreateContainerRequest) Reset ¶
func (x *CreateContainerRequest) Reset()
func (*CreateContainerRequest) SetDescription ¶
func (m *CreateContainerRequest) SetDescription(v string)
func (*CreateContainerRequest) SetFolderId ¶
func (m *CreateContainerRequest) SetFolderId(v string)
func (*CreateContainerRequest) SetLabels ¶
func (m *CreateContainerRequest) SetLabels(v map[string]string)
func (*CreateContainerRequest) SetName ¶
func (m *CreateContainerRequest) SetName(v string)
func (*CreateContainerRequest) String ¶
func (x *CreateContainerRequest) String() string
type DeleteContainerMetadata ¶
type DeleteContainerMetadata struct { // ID of the container that is being deleted. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteContainerMetadata) Descriptor
deprecated
func (*DeleteContainerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeleteContainerMetadata.ProtoReflect.Descriptor instead.
func (*DeleteContainerMetadata) GetContainerId ¶
func (x *DeleteContainerMetadata) GetContainerId() string
func (*DeleteContainerMetadata) ProtoMessage ¶
func (*DeleteContainerMetadata) ProtoMessage()
func (*DeleteContainerMetadata) ProtoReflect ¶
func (x *DeleteContainerMetadata) ProtoReflect() protoreflect.Message
func (*DeleteContainerMetadata) Reset ¶
func (x *DeleteContainerMetadata) Reset()
func (*DeleteContainerMetadata) SetContainerId ¶
func (m *DeleteContainerMetadata) SetContainerId(v string)
func (*DeleteContainerMetadata) String ¶
func (x *DeleteContainerMetadata) String() string
type DeleteContainerRequest ¶
type DeleteContainerRequest struct { // ID of the container to delete. // To get a container ID make a [ContainerService.List] request. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*DeleteContainerRequest) Descriptor
deprecated
func (*DeleteContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteContainerRequest.ProtoReflect.Descriptor instead.
func (*DeleteContainerRequest) GetContainerId ¶
func (x *DeleteContainerRequest) GetContainerId() string
func (*DeleteContainerRequest) ProtoMessage ¶
func (*DeleteContainerRequest) ProtoMessage()
func (*DeleteContainerRequest) ProtoReflect ¶
func (x *DeleteContainerRequest) ProtoReflect() protoreflect.Message
func (*DeleteContainerRequest) Reset ¶
func (x *DeleteContainerRequest) Reset()
func (*DeleteContainerRequest) SetContainerId ¶
func (m *DeleteContainerRequest) SetContainerId(v string)
func (*DeleteContainerRequest) String ¶
func (x *DeleteContainerRequest) String() string
type DeployContainerRevisionMetadata ¶
type DeployContainerRevisionMetadata struct { // ID of the revision that is being created. ContainerRevisionId string `protobuf:"bytes,1,opt,name=container_revision_id,json=containerRevisionId,proto3" json:"container_revision_id,omitempty"` // contains filtered or unexported fields }
func (*DeployContainerRevisionMetadata) Descriptor
deprecated
func (*DeployContainerRevisionMetadata) Descriptor() ([]byte, []int)
Deprecated: Use DeployContainerRevisionMetadata.ProtoReflect.Descriptor instead.
func (*DeployContainerRevisionMetadata) GetContainerRevisionId ¶
func (x *DeployContainerRevisionMetadata) GetContainerRevisionId() string
func (*DeployContainerRevisionMetadata) ProtoMessage ¶
func (*DeployContainerRevisionMetadata) ProtoMessage()
func (*DeployContainerRevisionMetadata) ProtoReflect ¶
func (x *DeployContainerRevisionMetadata) ProtoReflect() protoreflect.Message
func (*DeployContainerRevisionMetadata) Reset ¶
func (x *DeployContainerRevisionMetadata) Reset()
func (*DeployContainerRevisionMetadata) SetContainerRevisionId ¶
func (m *DeployContainerRevisionMetadata) SetContainerRevisionId(v string)
func (*DeployContainerRevisionMetadata) String ¶
func (x *DeployContainerRevisionMetadata) String() string
type DeployContainerRevisionRequest ¶
type DeployContainerRevisionRequest struct { // ID of the container to create a revision for. // // To get a container ID, make a [ContainerService.List] request. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Description of the revision. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Resources allocated to the revision. Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"` // Timeout for the execution of the revision. // // If the timeout is exceeded, Serverless Containers responds with a 504 HTTP code. ExecutionTimeout *durationpb.Duration `protobuf:"bytes,6,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` // ID of the service account to associate with the revision. ServiceAccountId string `protobuf:"bytes,7,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Image configuration for the revision. ImageSpec *ImageSpec `protobuf:"bytes,8,opt,name=image_spec,json=imageSpec,proto3" json:"image_spec,omitempty"` // The number of concurrent requests allowed per container instance. // // The default value is 1. Concurrency int64 `protobuf:"varint,9,opt,name=concurrency,proto3" json:"concurrency,omitempty"` // Yandex Lockbox secrets to be used by the revision. Secrets []*Secret `protobuf:"bytes,10,rep,name=secrets,proto3" json:"secrets,omitempty"` // Network access. If specified the revision will be attached to specified network/subnet(s). Connectivity *Connectivity `protobuf:"bytes,11,opt,name=connectivity,proto3" json:"connectivity,omitempty"` // Policy for provisioning instances of the revision. // // The policy is only applied when the revision is ACTIVE. ProvisionPolicy *ProvisionPolicy `protobuf:"bytes,12,opt,name=provision_policy,json=provisionPolicy,proto3" json:"provision_policy,omitempty"` // Policy for scaling instances of the revision. ScalingPolicy *ScalingPolicy `protobuf:"bytes,13,opt,name=scaling_policy,json=scalingPolicy,proto3" json:"scaling_policy,omitempty"` // Options for logging from the container. LogOptions *LogOptions `protobuf:"bytes,14,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"` // S3 mounts to be used by the revision. StorageMounts []*StorageMount `protobuf:"bytes,15,rep,name=storage_mounts,json=storageMounts,proto3" json:"storage_mounts,omitempty"` // Mounts to be used by the revision. Mounts []*Mount `protobuf:"bytes,16,rep,name=mounts,proto3" json:"mounts,omitempty"` // The container's execution mode Runtime *Runtime `protobuf:"bytes,17,opt,name=runtime,proto3" json:"runtime,omitempty"` // contains filtered or unexported fields }
func (*DeployContainerRevisionRequest) Descriptor
deprecated
func (*DeployContainerRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeployContainerRevisionRequest.ProtoReflect.Descriptor instead.
func (*DeployContainerRevisionRequest) GetConcurrency ¶
func (x *DeployContainerRevisionRequest) GetConcurrency() int64
func (*DeployContainerRevisionRequest) GetConnectivity ¶
func (x *DeployContainerRevisionRequest) GetConnectivity() *Connectivity
func (*DeployContainerRevisionRequest) GetContainerId ¶
func (x *DeployContainerRevisionRequest) GetContainerId() string
func (*DeployContainerRevisionRequest) GetDescription ¶
func (x *DeployContainerRevisionRequest) GetDescription() string
func (*DeployContainerRevisionRequest) GetExecutionTimeout ¶
func (x *DeployContainerRevisionRequest) GetExecutionTimeout() *durationpb.Duration
func (*DeployContainerRevisionRequest) GetImageSpec ¶
func (x *DeployContainerRevisionRequest) GetImageSpec() *ImageSpec
func (*DeployContainerRevisionRequest) GetLogOptions ¶
func (x *DeployContainerRevisionRequest) GetLogOptions() *LogOptions
func (*DeployContainerRevisionRequest) GetMounts ¶
func (x *DeployContainerRevisionRequest) GetMounts() []*Mount
func (*DeployContainerRevisionRequest) GetProvisionPolicy ¶
func (x *DeployContainerRevisionRequest) GetProvisionPolicy() *ProvisionPolicy
func (*DeployContainerRevisionRequest) GetResources ¶
func (x *DeployContainerRevisionRequest) GetResources() *Resources
func (*DeployContainerRevisionRequest) GetRuntime ¶
func (x *DeployContainerRevisionRequest) GetRuntime() *Runtime
func (*DeployContainerRevisionRequest) GetScalingPolicy ¶
func (x *DeployContainerRevisionRequest) GetScalingPolicy() *ScalingPolicy
func (*DeployContainerRevisionRequest) GetSecrets ¶
func (x *DeployContainerRevisionRequest) GetSecrets() []*Secret
func (*DeployContainerRevisionRequest) GetServiceAccountId ¶
func (x *DeployContainerRevisionRequest) GetServiceAccountId() string
func (*DeployContainerRevisionRequest) GetStorageMounts ¶
func (x *DeployContainerRevisionRequest) GetStorageMounts() []*StorageMount
func (*DeployContainerRevisionRequest) ProtoMessage ¶
func (*DeployContainerRevisionRequest) ProtoMessage()
func (*DeployContainerRevisionRequest) ProtoReflect ¶
func (x *DeployContainerRevisionRequest) ProtoReflect() protoreflect.Message
func (*DeployContainerRevisionRequest) Reset ¶
func (x *DeployContainerRevisionRequest) Reset()
func (*DeployContainerRevisionRequest) SetConcurrency ¶
func (m *DeployContainerRevisionRequest) SetConcurrency(v int64)
func (*DeployContainerRevisionRequest) SetConnectivity ¶
func (m *DeployContainerRevisionRequest) SetConnectivity(v *Connectivity)
func (*DeployContainerRevisionRequest) SetContainerId ¶
func (m *DeployContainerRevisionRequest) SetContainerId(v string)
func (*DeployContainerRevisionRequest) SetDescription ¶
func (m *DeployContainerRevisionRequest) SetDescription(v string)
func (*DeployContainerRevisionRequest) SetExecutionTimeout ¶
func (m *DeployContainerRevisionRequest) SetExecutionTimeout(v *durationpb.Duration)
func (*DeployContainerRevisionRequest) SetImageSpec ¶
func (m *DeployContainerRevisionRequest) SetImageSpec(v *ImageSpec)
func (*DeployContainerRevisionRequest) SetLogOptions ¶
func (m *DeployContainerRevisionRequest) SetLogOptions(v *LogOptions)
func (*DeployContainerRevisionRequest) SetMounts ¶
func (m *DeployContainerRevisionRequest) SetMounts(v []*Mount)
func (*DeployContainerRevisionRequest) SetProvisionPolicy ¶
func (m *DeployContainerRevisionRequest) SetProvisionPolicy(v *ProvisionPolicy)
func (*DeployContainerRevisionRequest) SetResources ¶
func (m *DeployContainerRevisionRequest) SetResources(v *Resources)
func (*DeployContainerRevisionRequest) SetRuntime ¶
func (m *DeployContainerRevisionRequest) SetRuntime(v *Runtime)
func (*DeployContainerRevisionRequest) SetScalingPolicy ¶
func (m *DeployContainerRevisionRequest) SetScalingPolicy(v *ScalingPolicy)
func (*DeployContainerRevisionRequest) SetSecrets ¶
func (m *DeployContainerRevisionRequest) SetSecrets(v []*Secret)
func (*DeployContainerRevisionRequest) SetServiceAccountId ¶
func (m *DeployContainerRevisionRequest) SetServiceAccountId(v string)
func (*DeployContainerRevisionRequest) SetStorageMounts ¶
func (m *DeployContainerRevisionRequest) SetStorageMounts(v []*StorageMount)
func (*DeployContainerRevisionRequest) String ¶
func (x *DeployContainerRevisionRequest) String() string
type GetContainerRequest ¶
type GetContainerRequest struct { // ID of the container to return. // // To get a container ID make a [ContainerService.List] request. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*GetContainerRequest) Descriptor
deprecated
func (*GetContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContainerRequest.ProtoReflect.Descriptor instead.
func (*GetContainerRequest) GetContainerId ¶
func (x *GetContainerRequest) GetContainerId() string
func (*GetContainerRequest) ProtoMessage ¶
func (*GetContainerRequest) ProtoMessage()
func (*GetContainerRequest) ProtoReflect ¶
func (x *GetContainerRequest) ProtoReflect() protoreflect.Message
func (*GetContainerRequest) Reset ¶
func (x *GetContainerRequest) Reset()
func (*GetContainerRequest) SetContainerId ¶
func (m *GetContainerRequest) SetContainerId(v string)
func (*GetContainerRequest) String ¶
func (x *GetContainerRequest) String() string
type GetContainerRevisionRequest ¶
type GetContainerRevisionRequest struct { // ID of the revision to return. // // To get a revision ID make a [ContainerService.ListRevisions] request. ContainerRevisionId string `protobuf:"bytes,1,opt,name=container_revision_id,json=containerRevisionId,proto3" json:"container_revision_id,omitempty"` // contains filtered or unexported fields }
func (*GetContainerRevisionRequest) Descriptor
deprecated
func (*GetContainerRevisionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetContainerRevisionRequest.ProtoReflect.Descriptor instead.
func (*GetContainerRevisionRequest) GetContainerRevisionId ¶
func (x *GetContainerRevisionRequest) GetContainerRevisionId() string
func (*GetContainerRevisionRequest) ProtoMessage ¶
func (*GetContainerRevisionRequest) ProtoMessage()
func (*GetContainerRevisionRequest) ProtoReflect ¶
func (x *GetContainerRevisionRequest) ProtoReflect() protoreflect.Message
func (*GetContainerRevisionRequest) Reset ¶
func (x *GetContainerRevisionRequest) Reset()
func (*GetContainerRevisionRequest) SetContainerRevisionId ¶
func (m *GetContainerRevisionRequest) SetContainerRevisionId(v string)
func (*GetContainerRevisionRequest) String ¶
func (x *GetContainerRevisionRequest) String() string
type Image ¶
type Image struct { // Image URL, that is used by the revision. ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` // Digest of the image. Calculated at creation time. ImageDigest string `protobuf:"bytes,2,opt,name=image_digest,json=imageDigest,proto3" json:"image_digest,omitempty"` // Override for the image's ENTRYPOINT. Command *Command `protobuf:"bytes,3,opt,name=command,proto3" json:"command,omitempty"` // Override for the image's CMD. Args *Args `protobuf:"bytes,4,opt,name=args,proto3" json:"args,omitempty"` // Additional environment for the container. Environment map[string]string `` /* 163-byte string literal not displayed */ // Override for the image's WORKDIR. WorkingDir string `protobuf:"bytes,6,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // contains filtered or unexported fields }
Revision image specification.
func (*Image) Descriptor
deprecated
func (*Image) GetCommand ¶
func (*Image) GetEnvironment ¶
func (*Image) GetImageDigest ¶
func (*Image) GetImageUrl ¶
func (*Image) GetWorkingDir ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
func (*Image) SetCommand ¶
func (*Image) SetEnvironment ¶
func (*Image) SetImageDigest ¶
func (*Image) SetImageUrl ¶
func (*Image) SetWorkingDir ¶
type ImageSpec ¶
type ImageSpec struct { // Image URL, that is used by the revision. ImageUrl string `protobuf:"bytes,1,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` // Override for the image's ENTRYPOINT. Command *Command `protobuf:"bytes,2,opt,name=command,proto3" json:"command,omitempty"` // Override for the image's CMD. Args *Args `protobuf:"bytes,3,opt,name=args,proto3" json:"args,omitempty"` // Additional environment for the container. Environment map[string]string `` /* 163-byte string literal not displayed */ // Override for the image's WORKDIR. WorkingDir string `protobuf:"bytes,5,opt,name=working_dir,json=workingDir,proto3" json:"working_dir,omitempty"` // contains filtered or unexported fields }
Revision image specification.
func (*ImageSpec) Descriptor
deprecated
func (*ImageSpec) GetCommand ¶
func (*ImageSpec) GetEnvironment ¶
func (*ImageSpec) GetImageUrl ¶
func (*ImageSpec) GetWorkingDir ¶
func (*ImageSpec) ProtoMessage ¶
func (*ImageSpec) ProtoMessage()
func (*ImageSpec) ProtoReflect ¶
func (x *ImageSpec) ProtoReflect() protoreflect.Message
func (*ImageSpec) SetCommand ¶
func (*ImageSpec) SetEnvironment ¶
func (*ImageSpec) SetImageUrl ¶
func (*ImageSpec) SetWorkingDir ¶
type ListContainerOperationsRequest ¶
type ListContainerOperationsRequest struct { // ID of the container to list operations for. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // The maximum number of results per page that should be returned. If the number of available // results is larger than `pageSize`, the service returns a [ListContainerOperationsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `pageToken` to the // [ListContainerOperationsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters resources listed in the response. // // The expression must specify: // 1. The field name. Currently filtering can be applied to the [operation.Operation.done], [operation.Operation.created_by] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. // Examples of a filter: `done=false`, `created_by='John.Doe'`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListContainerOperationsRequest) Descriptor
deprecated
func (*ListContainerOperationsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListContainerOperationsRequest) GetContainerId ¶
func (x *ListContainerOperationsRequest) GetContainerId() string
func (*ListContainerOperationsRequest) GetFilter ¶
func (x *ListContainerOperationsRequest) GetFilter() string
func (*ListContainerOperationsRequest) GetPageSize ¶
func (x *ListContainerOperationsRequest) GetPageSize() int64
func (*ListContainerOperationsRequest) GetPageToken ¶
func (x *ListContainerOperationsRequest) GetPageToken() string
func (*ListContainerOperationsRequest) ProtoMessage ¶
func (*ListContainerOperationsRequest) ProtoMessage()
func (*ListContainerOperationsRequest) ProtoReflect ¶
func (x *ListContainerOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListContainerOperationsRequest) Reset ¶
func (x *ListContainerOperationsRequest) Reset()
func (*ListContainerOperationsRequest) SetContainerId ¶
func (m *ListContainerOperationsRequest) SetContainerId(v string)
func (*ListContainerOperationsRequest) SetFilter ¶
func (m *ListContainerOperationsRequest) SetFilter(v string)
func (*ListContainerOperationsRequest) SetPageSize ¶
func (m *ListContainerOperationsRequest) SetPageSize(v int64)
func (*ListContainerOperationsRequest) SetPageToken ¶
func (m *ListContainerOperationsRequest) SetPageToken(v string)
func (*ListContainerOperationsRequest) String ¶
func (x *ListContainerOperationsRequest) String() string
type ListContainerOperationsResponse ¶
type ListContainerOperationsResponse struct { // List of operations for the specified container. Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListContainerOperationsRequest.page_size], use `nextPageToken` as the value // for the [ListContainerOperationsRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `nextPageToken` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListContainerOperationsResponse) Descriptor
deprecated
func (*ListContainerOperationsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainerOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListContainerOperationsResponse) GetNextPageToken ¶
func (x *ListContainerOperationsResponse) GetNextPageToken() string
func (*ListContainerOperationsResponse) GetOperations ¶
func (x *ListContainerOperationsResponse) GetOperations() []*operation.Operation
func (*ListContainerOperationsResponse) ProtoMessage ¶
func (*ListContainerOperationsResponse) ProtoMessage()
func (*ListContainerOperationsResponse) ProtoReflect ¶
func (x *ListContainerOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListContainerOperationsResponse) Reset ¶
func (x *ListContainerOperationsResponse) Reset()
func (*ListContainerOperationsResponse) SetNextPageToken ¶
func (m *ListContainerOperationsResponse) SetNextPageToken(v string)
func (*ListContainerOperationsResponse) SetOperations ¶
func (m *ListContainerOperationsResponse) SetOperations(v []*operation.Operation)
func (*ListContainerOperationsResponse) String ¶
func (x *ListContainerOperationsResponse) String() string
type ListContainersRequest ¶
type ListContainersRequest struct { // ID of the folder to list containers in. // // To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"` // The maximum number of results per page to return. If the number of available // results is larger than `pageSize`, the service returns a [ListContainersResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // // Default value: 100. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `pageToken` to the // [ListContainersResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters containers listed in the response. // // The expression must specify: // 1. The field name. Currently filtering can only be applied to the [Container.name] field. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. // Example of a filter: `name="my-container"`. Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListContainersRequest) Descriptor
deprecated
func (*ListContainersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContainersRequest.ProtoReflect.Descriptor instead.
func (*ListContainersRequest) GetFilter ¶
func (x *ListContainersRequest) GetFilter() string
func (*ListContainersRequest) GetFolderId ¶
func (x *ListContainersRequest) GetFolderId() string
func (*ListContainersRequest) GetPageSize ¶
func (x *ListContainersRequest) GetPageSize() int64
func (*ListContainersRequest) GetPageToken ¶
func (x *ListContainersRequest) GetPageToken() string
func (*ListContainersRequest) ProtoMessage ¶
func (*ListContainersRequest) ProtoMessage()
func (*ListContainersRequest) ProtoReflect ¶
func (x *ListContainersRequest) ProtoReflect() protoreflect.Message
func (*ListContainersRequest) Reset ¶
func (x *ListContainersRequest) Reset()
func (*ListContainersRequest) SetFilter ¶
func (m *ListContainersRequest) SetFilter(v string)
func (*ListContainersRequest) SetFolderId ¶
func (m *ListContainersRequest) SetFolderId(v string)
func (*ListContainersRequest) SetPageSize ¶
func (m *ListContainersRequest) SetPageSize(v int64)
func (*ListContainersRequest) SetPageToken ¶
func (m *ListContainersRequest) SetPageToken(v string)
func (*ListContainersRequest) String ¶
func (x *ListContainersRequest) String() string
type ListContainersResponse ¶
type ListContainersResponse struct { // List of containers in the specified folder. Containers []*Container `protobuf:"bytes,1,rep,name=containers,proto3" json:"containers,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListContainersRequest.page_size], use `nextPageToken` as the value // for the [ListContainersRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `nextPageToken` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListContainersResponse) Descriptor
deprecated
func (*ListContainersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainersResponse.ProtoReflect.Descriptor instead.
func (*ListContainersResponse) GetContainers ¶
func (x *ListContainersResponse) GetContainers() []*Container
func (*ListContainersResponse) GetNextPageToken ¶
func (x *ListContainersResponse) GetNextPageToken() string
func (*ListContainersResponse) ProtoMessage ¶
func (*ListContainersResponse) ProtoMessage()
func (*ListContainersResponse) ProtoReflect ¶
func (x *ListContainersResponse) ProtoReflect() protoreflect.Message
func (*ListContainersResponse) Reset ¶
func (x *ListContainersResponse) Reset()
func (*ListContainersResponse) SetContainers ¶
func (m *ListContainersResponse) SetContainers(v []*Container)
func (*ListContainersResponse) SetNextPageToken ¶
func (m *ListContainersResponse) SetNextPageToken(v string)
func (*ListContainersResponse) String ¶
func (x *ListContainersResponse) String() string
type ListContainersRevisionsRequest ¶
type ListContainersRevisionsRequest struct { // Types that are assignable to Id: // // *ListContainersRevisionsRequest_FolderId // *ListContainersRevisionsRequest_ContainerId Id isListContainersRevisionsRequest_Id `protobuf_oneof:"id"` // The maximum number of results per page to return. If the number of available results // is larger than `pageSize`, the service returns a [ListContainersRevisionsResponse.next_page_token] // that can be used to get the next page of results in subsequent list requests. // // Default value: 100. PageSize int64 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Page token. To get the next page of results, set `pageToken` to the // [ListContainersRevisionsResponse.next_page_token] returned by a previous list request. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A filter expression that filters resources listed in the response. // // The expression must specify: // 1. The field name. Currently filtering can only be applied to the [Revision.status] and [Revision.runtime] fields. // 2. An `=` operator. // 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`. // Example of a filter: `status="ACTIVE"`. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"` // contains filtered or unexported fields }
func (*ListContainersRevisionsRequest) Descriptor
deprecated
func (*ListContainersRevisionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListContainersRevisionsRequest.ProtoReflect.Descriptor instead.
func (*ListContainersRevisionsRequest) GetContainerId ¶
func (x *ListContainersRevisionsRequest) GetContainerId() string
func (*ListContainersRevisionsRequest) GetFilter ¶
func (x *ListContainersRevisionsRequest) GetFilter() string
func (*ListContainersRevisionsRequest) GetFolderId ¶
func (x *ListContainersRevisionsRequest) GetFolderId() string
func (*ListContainersRevisionsRequest) GetId ¶
func (m *ListContainersRevisionsRequest) GetId() isListContainersRevisionsRequest_Id
func (*ListContainersRevisionsRequest) GetPageSize ¶
func (x *ListContainersRevisionsRequest) GetPageSize() int64
func (*ListContainersRevisionsRequest) GetPageToken ¶
func (x *ListContainersRevisionsRequest) GetPageToken() string
func (*ListContainersRevisionsRequest) ProtoMessage ¶
func (*ListContainersRevisionsRequest) ProtoMessage()
func (*ListContainersRevisionsRequest) ProtoReflect ¶
func (x *ListContainersRevisionsRequest) ProtoReflect() protoreflect.Message
func (*ListContainersRevisionsRequest) Reset ¶
func (x *ListContainersRevisionsRequest) Reset()
func (*ListContainersRevisionsRequest) SetContainerId ¶
func (m *ListContainersRevisionsRequest) SetContainerId(v string)
func (*ListContainersRevisionsRequest) SetFilter ¶
func (m *ListContainersRevisionsRequest) SetFilter(v string)
func (*ListContainersRevisionsRequest) SetFolderId ¶
func (m *ListContainersRevisionsRequest) SetFolderId(v string)
func (*ListContainersRevisionsRequest) SetId ¶
func (m *ListContainersRevisionsRequest) SetId(v ListContainersRevisionsRequest_Id)
func (*ListContainersRevisionsRequest) SetPageSize ¶
func (m *ListContainersRevisionsRequest) SetPageSize(v int64)
func (*ListContainersRevisionsRequest) SetPageToken ¶
func (m *ListContainersRevisionsRequest) SetPageToken(v string)
func (*ListContainersRevisionsRequest) String ¶
func (x *ListContainersRevisionsRequest) String() string
type ListContainersRevisionsRequest_ContainerId ¶
type ListContainersRevisionsRequest_ContainerId struct { // ID of the container to list revisions for. // To get a container ID use a [ContainerService.List] request. ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3,oneof"` }
type ListContainersRevisionsRequest_FolderId ¶
type ListContainersRevisionsRequest_FolderId struct { // ID of the folder to list container revisions for. // To get a folder ID make a [yandex.cloud.resourcemanager.v1.FolderService.List] request. FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3,oneof"` }
type ListContainersRevisionsRequest_Id ¶
type ListContainersRevisionsRequest_Id = isListContainersRevisionsRequest_Id
type ListContainersRevisionsResponse ¶
type ListContainersRevisionsResponse struct { // List of revisions for the specified folder or container. Revisions []*Revision `protobuf:"bytes,1,rep,name=revisions,proto3" json:"revisions,omitempty"` // Token for getting the next page of the list. If the number of results is greater than // the specified [ListContainersRevisionsRequest.page_size], use `nextPageToken` as the value // for the [ListContainersRevisionsRequest.page_token] parameter in the next list request. // // Each subsequent page will have its own `nextPageToken` to continue paging through the results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*ListContainersRevisionsResponse) Descriptor
deprecated
func (*ListContainersRevisionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListContainersRevisionsResponse.ProtoReflect.Descriptor instead.
func (*ListContainersRevisionsResponse) GetNextPageToken ¶
func (x *ListContainersRevisionsResponse) GetNextPageToken() string
func (*ListContainersRevisionsResponse) GetRevisions ¶
func (x *ListContainersRevisionsResponse) GetRevisions() []*Revision
func (*ListContainersRevisionsResponse) ProtoMessage ¶
func (*ListContainersRevisionsResponse) ProtoMessage()
func (*ListContainersRevisionsResponse) ProtoReflect ¶
func (x *ListContainersRevisionsResponse) ProtoReflect() protoreflect.Message
func (*ListContainersRevisionsResponse) Reset ¶
func (x *ListContainersRevisionsResponse) Reset()
func (*ListContainersRevisionsResponse) SetNextPageToken ¶
func (m *ListContainersRevisionsResponse) SetNextPageToken(v string)
func (*ListContainersRevisionsResponse) SetRevisions ¶
func (m *ListContainersRevisionsResponse) SetRevisions(v []*Revision)
func (*ListContainersRevisionsResponse) String ¶
func (x *ListContainersRevisionsResponse) String() string
type LogOptions ¶
type LogOptions struct { // Is logging from container disabled. Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"` // Log entries destination. // // Types that are assignable to Destination: // // *LogOptions_LogGroupId // *LogOptions_FolderId Destination isLogOptions_Destination `protobuf_oneof:"destination"` // Minimum log entry level. // // See [LogLevel.Level] for details. MinLevel v1.LogLevel_Level `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*LogOptions) Descriptor
deprecated
func (*LogOptions) Descriptor() ([]byte, []int)
Deprecated: Use LogOptions.ProtoReflect.Descriptor instead.
func (*LogOptions) GetDestination ¶
func (m *LogOptions) GetDestination() isLogOptions_Destination
func (*LogOptions) GetDisabled ¶
func (x *LogOptions) GetDisabled() bool
func (*LogOptions) GetFolderId ¶
func (x *LogOptions) GetFolderId() string
func (*LogOptions) GetLogGroupId ¶
func (x *LogOptions) GetLogGroupId() string
func (*LogOptions) GetMinLevel ¶
func (x *LogOptions) GetMinLevel() v1.LogLevel_Level
func (*LogOptions) ProtoMessage ¶
func (*LogOptions) ProtoMessage()
func (*LogOptions) ProtoReflect ¶
func (x *LogOptions) ProtoReflect() protoreflect.Message
func (*LogOptions) Reset ¶
func (x *LogOptions) Reset()
func (*LogOptions) SetDestination ¶
func (m *LogOptions) SetDestination(v LogOptions_Destination)
func (*LogOptions) SetDisabled ¶
func (m *LogOptions) SetDisabled(v bool)
func (*LogOptions) SetFolderId ¶
func (m *LogOptions) SetFolderId(v string)
func (*LogOptions) SetLogGroupId ¶
func (m *LogOptions) SetLogGroupId(v string)
func (*LogOptions) SetMinLevel ¶
func (m *LogOptions) SetMinLevel(v v1.LogLevel_Level)
func (*LogOptions) String ¶
func (x *LogOptions) String() string
type LogOptions_Destination ¶
type LogOptions_Destination = isLogOptions_Destination
type LogOptions_FolderId ¶
type LogOptions_FolderId struct { // Entry should be written to default log group for specified folder. FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3,oneof"` }
type LogOptions_LogGroupId ¶
type LogOptions_LogGroupId struct { // Entry should be written to log group resolved by ID. LogGroupId string `protobuf:"bytes,2,opt,name=log_group_id,json=logGroupId,proto3,oneof"` }
type Mount ¶
type Mount struct { // The absolute mount point path inside the container for mounting. MountPointPath string `protobuf:"bytes,2,opt,name=mount_point_path,json=mountPointPath,proto3" json:"mount_point_path,omitempty"` // Mount's mode Mode Mount_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=yandex.cloud.serverless.containers.v1.Mount_Mode" json:"mode,omitempty"` // Target mount option // // Types that are assignable to Target: // // *Mount_ObjectStorage_ // *Mount_EphemeralDiskSpec Target isMount_Target `protobuf_oneof:"target"` // contains filtered or unexported fields }
Mount contains an information about version's external storage mount
func (*Mount) Descriptor
deprecated
func (*Mount) GetEphemeralDiskSpec ¶
func (x *Mount) GetEphemeralDiskSpec() *Mount_DiskSpec
func (*Mount) GetMode ¶
func (x *Mount) GetMode() Mount_Mode
func (*Mount) GetMountPointPath ¶
func (*Mount) GetObjectStorage ¶
func (x *Mount) GetObjectStorage() *Mount_ObjectStorage
func (*Mount) ProtoMessage ¶
func (*Mount) ProtoMessage()
func (*Mount) ProtoReflect ¶
func (x *Mount) ProtoReflect() protoreflect.Message
func (*Mount) SetEphemeralDiskSpec ¶
func (m *Mount) SetEphemeralDiskSpec(v *Mount_DiskSpec)
func (*Mount) SetMode ¶
func (m *Mount) SetMode(v Mount_Mode)
func (*Mount) SetMountPointPath ¶
func (*Mount) SetObjectStorage ¶
func (m *Mount) SetObjectStorage(v *Mount_ObjectStorage)
func (*Mount) SetTarget ¶
func (m *Mount) SetTarget(v Mount_Target)
type Mount_DiskSpec ¶
type Mount_DiskSpec struct { // The size of disk for mount in bytes Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Optional block size of disk for mount in bytes BlockSize int64 `protobuf:"varint,2,opt,name=block_size,json=blockSize,proto3" json:"block_size,omitempty"` // contains filtered or unexported fields }
Disk as a mount
func (*Mount_DiskSpec) Descriptor
deprecated
func (*Mount_DiskSpec) Descriptor() ([]byte, []int)
Deprecated: Use Mount_DiskSpec.ProtoReflect.Descriptor instead.
func (*Mount_DiskSpec) GetBlockSize ¶
func (x *Mount_DiskSpec) GetBlockSize() int64
func (*Mount_DiskSpec) GetSize ¶
func (x *Mount_DiskSpec) GetSize() int64
func (*Mount_DiskSpec) ProtoMessage ¶
func (*Mount_DiskSpec) ProtoMessage()
func (*Mount_DiskSpec) ProtoReflect ¶
func (x *Mount_DiskSpec) ProtoReflect() protoreflect.Message
func (*Mount_DiskSpec) Reset ¶
func (x *Mount_DiskSpec) Reset()
func (*Mount_DiskSpec) SetBlockSize ¶
func (m *Mount_DiskSpec) SetBlockSize(v int64)
func (*Mount_DiskSpec) SetSize ¶
func (m *Mount_DiskSpec) SetSize(v int64)
func (*Mount_DiskSpec) String ¶
func (x *Mount_DiskSpec) String() string
type Mount_EphemeralDiskSpec ¶
type Mount_EphemeralDiskSpec struct { // Working disk (worker-local non-shared read-write NBS disk templates) EphemeralDiskSpec *Mount_DiskSpec `protobuf:"bytes,11,opt,name=ephemeral_disk_spec,json=ephemeralDiskSpec,proto3,oneof"` }
type Mount_Mode ¶
type Mount_Mode int32
const ( Mount_MODE_UNSPECIFIED Mount_Mode = 0 Mount_READ_ONLY Mount_Mode = 1 Mount_READ_WRITE Mount_Mode = 2 )
func (Mount_Mode) Descriptor ¶
func (Mount_Mode) Descriptor() protoreflect.EnumDescriptor
func (Mount_Mode) Enum ¶
func (x Mount_Mode) Enum() *Mount_Mode
func (Mount_Mode) EnumDescriptor
deprecated
func (Mount_Mode) EnumDescriptor() ([]byte, []int)
Deprecated: Use Mount_Mode.Descriptor instead.
func (Mount_Mode) Number ¶
func (x Mount_Mode) Number() protoreflect.EnumNumber
func (Mount_Mode) String ¶
func (x Mount_Mode) String() string
func (Mount_Mode) Type ¶
func (Mount_Mode) Type() protoreflect.EnumType
type Mount_ObjectStorage ¶
type Mount_ObjectStorage struct { // ObjectStorage bucket name for mounting. BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` // ObjectStorage bucket prefix for mounting. Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // contains filtered or unexported fields }
ObjectStorage as a mount
func (*Mount_ObjectStorage) Descriptor
deprecated
func (*Mount_ObjectStorage) Descriptor() ([]byte, []int)
Deprecated: Use Mount_ObjectStorage.ProtoReflect.Descriptor instead.
func (*Mount_ObjectStorage) GetBucketId ¶
func (x *Mount_ObjectStorage) GetBucketId() string
func (*Mount_ObjectStorage) GetPrefix ¶
func (x *Mount_ObjectStorage) GetPrefix() string
func (*Mount_ObjectStorage) ProtoMessage ¶
func (*Mount_ObjectStorage) ProtoMessage()
func (*Mount_ObjectStorage) ProtoReflect ¶
func (x *Mount_ObjectStorage) ProtoReflect() protoreflect.Message
func (*Mount_ObjectStorage) Reset ¶
func (x *Mount_ObjectStorage) Reset()
func (*Mount_ObjectStorage) SetBucketId ¶
func (m *Mount_ObjectStorage) SetBucketId(v string)
func (*Mount_ObjectStorage) SetPrefix ¶
func (m *Mount_ObjectStorage) SetPrefix(v string)
func (*Mount_ObjectStorage) String ¶
func (x *Mount_ObjectStorage) String() string
type Mount_ObjectStorage_ ¶
type Mount_ObjectStorage_ struct { // Object storage mounts ObjectStorage *Mount_ObjectStorage `protobuf:"bytes,10,opt,name=object_storage,json=objectStorage,proto3,oneof"` }
type Mount_Target ¶
type Mount_Target = isMount_Target
type ProvisionPolicy ¶
type ProvisionPolicy struct { // Minimum number of guaranteed provisioned container instances for all zones // in total. MinInstances int64 `protobuf:"varint,1,opt,name=min_instances,json=minInstances,proto3" json:"min_instances,omitempty"` // contains filtered or unexported fields }
func (*ProvisionPolicy) Descriptor
deprecated
func (*ProvisionPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ProvisionPolicy.ProtoReflect.Descriptor instead.
func (*ProvisionPolicy) GetMinInstances ¶
func (x *ProvisionPolicy) GetMinInstances() int64
func (*ProvisionPolicy) ProtoMessage ¶
func (*ProvisionPolicy) ProtoMessage()
func (*ProvisionPolicy) ProtoReflect ¶
func (x *ProvisionPolicy) ProtoReflect() protoreflect.Message
func (*ProvisionPolicy) Reset ¶
func (x *ProvisionPolicy) Reset()
func (*ProvisionPolicy) SetMinInstances ¶
func (m *ProvisionPolicy) SetMinInstances(v int64)
func (*ProvisionPolicy) String ¶
func (x *ProvisionPolicy) String() string
type Resources ¶
type Resources struct { // Amount of memory available to the revision, specified in bytes, multiple of 128MB. Memory int64 `protobuf:"varint,1,opt,name=memory,proto3" json:"memory,omitempty"` // Number of cores available to the revision. Cores int64 `protobuf:"varint,2,opt,name=cores,proto3" json:"cores,omitempty"` // Specifies baseline performance for a core in percent, multiple of 5%. // Should be 100% for cores > 1. CoreFraction int64 `protobuf:"varint,3,opt,name=core_fraction,json=coreFraction,proto3" json:"core_fraction,omitempty"` // contains filtered or unexported fields }
Resources allocated to a revision.
func (*Resources) Descriptor
deprecated
func (*Resources) GetCoreFraction ¶
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
func (*Resources) SetCoreFraction ¶
type Revision ¶
type Revision struct { // ID of the revision. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the container that the revision belongs to. ContainerId string `protobuf:"bytes,2,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Description of the revision. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // Creation timestamp for the revision. CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Image configuration for the revision. Image *Image `protobuf:"bytes,5,opt,name=image,proto3" json:"image,omitempty"` // Resources allocated to the revision. Resources *Resources `protobuf:"bytes,6,opt,name=resources,proto3" json:"resources,omitempty"` // Timeout for the execution of the revision. // // If the timeout is exceeded, Serverless Containers responds with a 504 HTTP code. ExecutionTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=execution_timeout,json=executionTimeout,proto3" json:"execution_timeout,omitempty"` // The number of concurrent requests allowed per container instance. Concurrency int64 `protobuf:"varint,8,opt,name=concurrency,proto3" json:"concurrency,omitempty"` // ID of the service account associated with the revision. ServiceAccountId string `protobuf:"bytes,9,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"` // Status of the revision. Status Revision_Status `` /* 126-byte string literal not displayed */ // Yandex Lockbox secrets to be used by the revision. Secrets []*Secret `protobuf:"bytes,11,rep,name=secrets,proto3" json:"secrets,omitempty"` // Network access. If specified the revision will be attached to specified network/subnet(s). Connectivity *Connectivity `protobuf:"bytes,12,opt,name=connectivity,proto3" json:"connectivity,omitempty"` // Policy for provisioning instances of the revision. // // The policy is only applied when the revision is ACTIVE. ProvisionPolicy *ProvisionPolicy `protobuf:"bytes,13,opt,name=provision_policy,json=provisionPolicy,proto3" json:"provision_policy,omitempty"` // Policy for scaling instances of the revision. ScalingPolicy *ScalingPolicy `protobuf:"bytes,14,opt,name=scaling_policy,json=scalingPolicy,proto3" json:"scaling_policy,omitempty"` // Options for logging from the container. LogOptions *LogOptions `protobuf:"bytes,15,opt,name=log_options,json=logOptions,proto3" json:"log_options,omitempty"` // S3 mounts to be used by the revision. StorageMounts []*StorageMount `protobuf:"bytes,16,rep,name=storage_mounts,json=storageMounts,proto3" json:"storage_mounts,omitempty"` // Mounts to be used by the revision. Mounts []*Mount `protobuf:"bytes,17,rep,name=mounts,proto3" json:"mounts,omitempty"` // The container's execution mode Runtime *Runtime `protobuf:"bytes,18,opt,name=runtime,proto3" json:"runtime,omitempty"` // contains filtered or unexported fields }
func (*Revision) Descriptor
deprecated
func (*Revision) GetConcurrency ¶
func (*Revision) GetConnectivity ¶
func (x *Revision) GetConnectivity() *Connectivity
func (*Revision) GetContainerId ¶
func (*Revision) GetCreatedAt ¶
func (x *Revision) GetCreatedAt() *timestamppb.Timestamp
func (*Revision) GetDescription ¶
func (*Revision) GetExecutionTimeout ¶
func (x *Revision) GetExecutionTimeout() *durationpb.Duration
func (*Revision) GetLogOptions ¶
func (x *Revision) GetLogOptions() *LogOptions
func (*Revision) GetProvisionPolicy ¶
func (x *Revision) GetProvisionPolicy() *ProvisionPolicy
func (*Revision) GetResources ¶
func (*Revision) GetRuntime ¶
func (*Revision) GetScalingPolicy ¶
func (x *Revision) GetScalingPolicy() *ScalingPolicy
func (*Revision) GetSecrets ¶
func (*Revision) GetServiceAccountId ¶
func (*Revision) GetStatus ¶
func (x *Revision) GetStatus() Revision_Status
func (*Revision) GetStorageMounts ¶
func (x *Revision) GetStorageMounts() []*StorageMount
func (*Revision) ProtoMessage ¶
func (*Revision) ProtoMessage()
func (*Revision) ProtoReflect ¶
func (x *Revision) ProtoReflect() protoreflect.Message
func (*Revision) SetConcurrency ¶
func (*Revision) SetConnectivity ¶
func (m *Revision) SetConnectivity(v *Connectivity)
func (*Revision) SetContainerId ¶
func (*Revision) SetCreatedAt ¶
func (m *Revision) SetCreatedAt(v *timestamppb.Timestamp)
func (*Revision) SetDescription ¶
func (*Revision) SetExecutionTimeout ¶
func (m *Revision) SetExecutionTimeout(v *durationpb.Duration)
func (*Revision) SetLogOptions ¶
func (m *Revision) SetLogOptions(v *LogOptions)
func (*Revision) SetProvisionPolicy ¶
func (m *Revision) SetProvisionPolicy(v *ProvisionPolicy)
func (*Revision) SetResources ¶
func (*Revision) SetRuntime ¶
func (*Revision) SetScalingPolicy ¶
func (m *Revision) SetScalingPolicy(v *ScalingPolicy)
func (*Revision) SetSecrets ¶
func (*Revision) SetServiceAccountId ¶
func (*Revision) SetStatus ¶
func (m *Revision) SetStatus(v Revision_Status)
func (*Revision) SetStorageMounts ¶
func (m *Revision) SetStorageMounts(v []*StorageMount)
type Revision_Status ¶
type Revision_Status int32
const ( Revision_STATUS_UNSPECIFIED Revision_Status = 0 // Revision is being created. Revision_CREATING Revision_Status = 1 // Revision is currently used by the container. Revision_ACTIVE Revision_Status = 2 // Revision is not used by the container. May be deleted later. Revision_OBSOLETE Revision_Status = 3 )
func (Revision_Status) Descriptor ¶
func (Revision_Status) Descriptor() protoreflect.EnumDescriptor
func (Revision_Status) Enum ¶
func (x Revision_Status) Enum() *Revision_Status
func (Revision_Status) EnumDescriptor
deprecated
func (Revision_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use Revision_Status.Descriptor instead.
func (Revision_Status) Number ¶
func (x Revision_Status) Number() protoreflect.EnumNumber
func (Revision_Status) String ¶
func (x Revision_Status) String() string
func (Revision_Status) Type ¶
func (Revision_Status) Type() protoreflect.EnumType
type RollbackContainerMetadata ¶
type RollbackContainerMetadata struct { // ID of the container that is being rolled back. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // ID of the revision that the container is being rolled back to. RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` // contains filtered or unexported fields }
func (*RollbackContainerMetadata) Descriptor
deprecated
func (*RollbackContainerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use RollbackContainerMetadata.ProtoReflect.Descriptor instead.
func (*RollbackContainerMetadata) GetContainerId ¶
func (x *RollbackContainerMetadata) GetContainerId() string
func (*RollbackContainerMetadata) GetRevisionId ¶
func (x *RollbackContainerMetadata) GetRevisionId() string
func (*RollbackContainerMetadata) ProtoMessage ¶
func (*RollbackContainerMetadata) ProtoMessage()
func (*RollbackContainerMetadata) ProtoReflect ¶
func (x *RollbackContainerMetadata) ProtoReflect() protoreflect.Message
func (*RollbackContainerMetadata) Reset ¶
func (x *RollbackContainerMetadata) Reset()
func (*RollbackContainerMetadata) SetContainerId ¶
func (m *RollbackContainerMetadata) SetContainerId(v string)
func (*RollbackContainerMetadata) SetRevisionId ¶
func (m *RollbackContainerMetadata) SetRevisionId(v string)
func (*RollbackContainerMetadata) String ¶
func (x *RollbackContainerMetadata) String() string
type RollbackContainerRequest ¶
type RollbackContainerRequest struct { // ID of the container to rollback to an old revision. // // To get a container ID, make a [ContainerService.List] request. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // ID of the revision to rollback to. // // To get a revision ID make a [ContainerService.ListRevisions] request. RevisionId string `protobuf:"bytes,2,opt,name=revision_id,json=revisionId,proto3" json:"revision_id,omitempty"` // contains filtered or unexported fields }
func (*RollbackContainerRequest) Descriptor
deprecated
func (*RollbackContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use RollbackContainerRequest.ProtoReflect.Descriptor instead.
func (*RollbackContainerRequest) GetContainerId ¶
func (x *RollbackContainerRequest) GetContainerId() string
func (*RollbackContainerRequest) GetRevisionId ¶
func (x *RollbackContainerRequest) GetRevisionId() string
func (*RollbackContainerRequest) ProtoMessage ¶
func (*RollbackContainerRequest) ProtoMessage()
func (*RollbackContainerRequest) ProtoReflect ¶
func (x *RollbackContainerRequest) ProtoReflect() protoreflect.Message
func (*RollbackContainerRequest) Reset ¶
func (x *RollbackContainerRequest) Reset()
func (*RollbackContainerRequest) SetContainerId ¶
func (m *RollbackContainerRequest) SetContainerId(v string)
func (*RollbackContainerRequest) SetRevisionId ¶
func (m *RollbackContainerRequest) SetRevisionId(v string)
func (*RollbackContainerRequest) String ¶
func (x *RollbackContainerRequest) String() string
type Runtime ¶
type Runtime struct { // Types that are assignable to Type: // // *Runtime_Http_ // *Runtime_Task_ Type isRuntime_Type `protobuf_oneof:"type"` // contains filtered or unexported fields }
The container's execution mode
func (*Runtime) Descriptor
deprecated
func (*Runtime) GetHttp ¶
func (x *Runtime) GetHttp() *Runtime_Http
func (*Runtime) GetTask ¶
func (x *Runtime) GetTask() *Runtime_Task
func (*Runtime) ProtoMessage ¶
func (*Runtime) ProtoMessage()
func (*Runtime) ProtoReflect ¶
func (x *Runtime) ProtoReflect() protoreflect.Message
func (*Runtime) SetHttp ¶
func (m *Runtime) SetHttp(v *Runtime_Http)
func (*Runtime) SetTask ¶
func (m *Runtime) SetTask(v *Runtime_Task)
func (*Runtime) SetType ¶
func (m *Runtime) SetType(v Runtime_Type)
type Runtime_Http ¶
type Runtime_Http struct {
// contains filtered or unexported fields
}
func (*Runtime_Http) Descriptor
deprecated
func (*Runtime_Http) Descriptor() ([]byte, []int)
Deprecated: Use Runtime_Http.ProtoReflect.Descriptor instead.
func (*Runtime_Http) ProtoMessage ¶
func (*Runtime_Http) ProtoMessage()
func (*Runtime_Http) ProtoReflect ¶
func (x *Runtime_Http) ProtoReflect() protoreflect.Message
func (*Runtime_Http) Reset ¶
func (x *Runtime_Http) Reset()
func (*Runtime_Http) String ¶
func (x *Runtime_Http) String() string
type Runtime_Http_ ¶
type Runtime_Http_ struct { // The classic one. You need to run an HTTP server inside the container. Http *Runtime_Http `protobuf:"bytes,1,opt,name=http,proto3,oneof"` }
type Runtime_Task ¶
type Runtime_Task struct {
// contains filtered or unexported fields
}
func (*Runtime_Task) Descriptor
deprecated
func (*Runtime_Task) Descriptor() ([]byte, []int)
Deprecated: Use Runtime_Task.ProtoReflect.Descriptor instead.
func (*Runtime_Task) ProtoMessage ¶
func (*Runtime_Task) ProtoMessage()
func (*Runtime_Task) ProtoReflect ¶
func (x *Runtime_Task) ProtoReflect() protoreflect.Message
func (*Runtime_Task) Reset ¶
func (x *Runtime_Task) Reset()
func (*Runtime_Task) String ¶
func (x *Runtime_Task) String() string
type Runtime_Task_ ¶
type Runtime_Task_ struct { // We run a process from ENTRYPOINT inside the container for each user request. Task *Runtime_Task `protobuf:"bytes,2,opt,name=task,proto3,oneof"` }
type Runtime_Type ¶
type Runtime_Type = isRuntime_Type
type ScalingPolicy ¶
type ScalingPolicy struct { // Upper limit for instance count in each zone. // 0 means no limit. ZoneInstancesLimit int64 `protobuf:"varint,1,opt,name=zone_instances_limit,json=zoneInstancesLimit,proto3" json:"zone_instances_limit,omitempty"` // Upper limit of requests count in each zone. // 0 means no limit. ZoneRequestsLimit int64 `protobuf:"varint,2,opt,name=zone_requests_limit,json=zoneRequestsLimit,proto3" json:"zone_requests_limit,omitempty"` // contains filtered or unexported fields }
func (*ScalingPolicy) Descriptor
deprecated
func (*ScalingPolicy) Descriptor() ([]byte, []int)
Deprecated: Use ScalingPolicy.ProtoReflect.Descriptor instead.
func (*ScalingPolicy) GetZoneInstancesLimit ¶
func (x *ScalingPolicy) GetZoneInstancesLimit() int64
func (*ScalingPolicy) GetZoneRequestsLimit ¶
func (x *ScalingPolicy) GetZoneRequestsLimit() int64
func (*ScalingPolicy) ProtoMessage ¶
func (*ScalingPolicy) ProtoMessage()
func (*ScalingPolicy) ProtoReflect ¶
func (x *ScalingPolicy) ProtoReflect() protoreflect.Message
func (*ScalingPolicy) Reset ¶
func (x *ScalingPolicy) Reset()
func (*ScalingPolicy) SetZoneInstancesLimit ¶
func (m *ScalingPolicy) SetZoneInstancesLimit(v int64)
func (*ScalingPolicy) SetZoneRequestsLimit ¶
func (m *ScalingPolicy) SetZoneRequestsLimit(v int64)
func (*ScalingPolicy) String ¶
func (x *ScalingPolicy) String() string
type Secret ¶
type Secret struct { // ID of Yandex Lockbox secret. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of Yandex Lockbox secret. VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` // Key in secret's payload, which value to be delivered into container environment. Key string `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Reference: // // *Secret_EnvironmentVariable Reference isSecret_Reference `protobuf_oneof:"reference"` // contains filtered or unexported fields }
Secret that is available to the container at run time.
func (*Secret) Descriptor
deprecated
func (*Secret) GetEnvironmentVariable ¶
func (*Secret) GetReference ¶
func (m *Secret) GetReference() isSecret_Reference
func (*Secret) GetVersionId ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
func (*Secret) SetEnvironmentVariable ¶
func (*Secret) SetReference ¶
func (m *Secret) SetReference(v Secret_Reference)
func (*Secret) SetVersionId ¶
type Secret_EnvironmentVariable ¶
type Secret_EnvironmentVariable struct { // Environment variable in which secret's value is delivered. EnvironmentVariable string `protobuf:"bytes,4,opt,name=environment_variable,json=environmentVariable,proto3,oneof"` }
type Secret_Reference ¶
type Secret_Reference = isSecret_Reference
type StorageMount
deprecated
type StorageMount struct { // S3 bucket name for mounting. BucketId string `protobuf:"bytes,1,opt,name=bucket_id,json=bucketId,proto3" json:"bucket_id,omitempty"` // S3 bucket prefix for mounting. Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // Is mount read only. ReadOnly bool `protobuf:"varint,4,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` // Mount point path inside the container for mounting. MountPointPath string `protobuf:"bytes,5,opt,name=mount_point_path,json=mountPointPath,proto3" json:"mount_point_path,omitempty"` // contains filtered or unexported fields }
Deprecated: Marked as deprecated in yandex/cloud/serverless/containers/v1/container.proto.
func (*StorageMount) Descriptor
deprecated
func (*StorageMount) Descriptor() ([]byte, []int)
Deprecated: Use StorageMount.ProtoReflect.Descriptor instead.
func (*StorageMount) GetBucketId ¶
func (x *StorageMount) GetBucketId() string
func (*StorageMount) GetMountPointPath ¶
func (x *StorageMount) GetMountPointPath() string
func (*StorageMount) GetPrefix ¶
func (x *StorageMount) GetPrefix() string
func (*StorageMount) GetReadOnly ¶
func (x *StorageMount) GetReadOnly() bool
func (*StorageMount) ProtoMessage ¶
func (*StorageMount) ProtoMessage()
func (*StorageMount) ProtoReflect ¶
func (x *StorageMount) ProtoReflect() protoreflect.Message
func (*StorageMount) Reset ¶
func (x *StorageMount) Reset()
func (*StorageMount) SetBucketId ¶
func (m *StorageMount) SetBucketId(v string)
func (*StorageMount) SetMountPointPath ¶
func (m *StorageMount) SetMountPointPath(v string)
func (*StorageMount) SetPrefix ¶
func (m *StorageMount) SetPrefix(v string)
func (*StorageMount) SetReadOnly ¶
func (m *StorageMount) SetReadOnly(v bool)
func (*StorageMount) String ¶
func (x *StorageMount) String() string
type UnimplementedContainerServiceServer ¶
type UnimplementedContainerServiceServer struct{}
UnimplementedContainerServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedContainerServiceServer) Create ¶
func (UnimplementedContainerServiceServer) Create(context.Context, *CreateContainerRequest) (*operation.Operation, error)
func (UnimplementedContainerServiceServer) Delete ¶
func (UnimplementedContainerServiceServer) Delete(context.Context, *DeleteContainerRequest) (*operation.Operation, error)
func (UnimplementedContainerServiceServer) DeployRevision ¶
func (UnimplementedContainerServiceServer) DeployRevision(context.Context, *DeployContainerRevisionRequest) (*operation.Operation, error)
func (UnimplementedContainerServiceServer) Get ¶
func (UnimplementedContainerServiceServer) Get(context.Context, *GetContainerRequest) (*Container, error)
func (UnimplementedContainerServiceServer) GetRevision ¶
func (UnimplementedContainerServiceServer) GetRevision(context.Context, *GetContainerRevisionRequest) (*Revision, error)
func (UnimplementedContainerServiceServer) ListAccessBindings ¶
func (UnimplementedContainerServiceServer) ListAccessBindings(context.Context, *access.ListAccessBindingsRequest) (*access.ListAccessBindingsResponse, error)
func (UnimplementedContainerServiceServer) ListOperations ¶
func (UnimplementedContainerServiceServer) ListOperations(context.Context, *ListContainerOperationsRequest) (*ListContainerOperationsResponse, error)
func (UnimplementedContainerServiceServer) ListRevisions ¶
func (UnimplementedContainerServiceServer) ListRevisions(context.Context, *ListContainersRevisionsRequest) (*ListContainersRevisionsResponse, error)
func (UnimplementedContainerServiceServer) Rollback ¶
func (UnimplementedContainerServiceServer) Rollback(context.Context, *RollbackContainerRequest) (*operation.Operation, error)
func (UnimplementedContainerServiceServer) SetAccessBindings ¶
func (UnimplementedContainerServiceServer) SetAccessBindings(context.Context, *access.SetAccessBindingsRequest) (*operation.Operation, error)
func (UnimplementedContainerServiceServer) Update ¶
func (UnimplementedContainerServiceServer) Update(context.Context, *UpdateContainerRequest) (*operation.Operation, error)
func (UnimplementedContainerServiceServer) UpdateAccessBindings ¶
func (UnimplementedContainerServiceServer) UpdateAccessBindings(context.Context, *access.UpdateAccessBindingsRequest) (*operation.Operation, error)
type UnsafeContainerServiceServer ¶
type UnsafeContainerServiceServer interface {
// contains filtered or unexported methods
}
UnsafeContainerServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContainerServiceServer will result in compilation errors.
type UpdateContainerMetadata ¶
type UpdateContainerMetadata struct { // ID of the container that is being updated. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateContainerMetadata) Descriptor
deprecated
func (*UpdateContainerMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContainerMetadata.ProtoReflect.Descriptor instead.
func (*UpdateContainerMetadata) GetContainerId ¶
func (x *UpdateContainerMetadata) GetContainerId() string
func (*UpdateContainerMetadata) ProtoMessage ¶
func (*UpdateContainerMetadata) ProtoMessage()
func (*UpdateContainerMetadata) ProtoReflect ¶
func (x *UpdateContainerMetadata) ProtoReflect() protoreflect.Message
func (*UpdateContainerMetadata) Reset ¶
func (x *UpdateContainerMetadata) Reset()
func (*UpdateContainerMetadata) SetContainerId ¶
func (m *UpdateContainerMetadata) SetContainerId(v string)
func (*UpdateContainerMetadata) String ¶
func (x *UpdateContainerMetadata) String() string
type UpdateContainerRequest ¶
type UpdateContainerRequest struct { // ID of the container to update. // // To get a container ID make a [ContainerService.List] request. ContainerId string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` // Field mask that specifies which attributes of the container should be updated. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // New name for the container. // The name must be unique within the folder. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // New description for the container. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Container labels as `key:value` pairs. // // Existing set of labels is completely replaced by the provided set, so if you just want // to add or remove a label, request the current set of labels with a [ContainerService.Get] request. Labels map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateContainerRequest) Descriptor
deprecated
func (*UpdateContainerRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateContainerRequest.ProtoReflect.Descriptor instead.
func (*UpdateContainerRequest) GetContainerId ¶
func (x *UpdateContainerRequest) GetContainerId() string
func (*UpdateContainerRequest) GetDescription ¶
func (x *UpdateContainerRequest) GetDescription() string
func (*UpdateContainerRequest) GetLabels ¶
func (x *UpdateContainerRequest) GetLabels() map[string]string
func (*UpdateContainerRequest) GetName ¶
func (x *UpdateContainerRequest) GetName() string
func (*UpdateContainerRequest) GetUpdateMask ¶
func (x *UpdateContainerRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateContainerRequest) ProtoMessage ¶
func (*UpdateContainerRequest) ProtoMessage()
func (*UpdateContainerRequest) ProtoReflect ¶
func (x *UpdateContainerRequest) ProtoReflect() protoreflect.Message
func (*UpdateContainerRequest) Reset ¶
func (x *UpdateContainerRequest) Reset()
func (*UpdateContainerRequest) SetContainerId ¶
func (m *UpdateContainerRequest) SetContainerId(v string)
func (*UpdateContainerRequest) SetDescription ¶
func (m *UpdateContainerRequest) SetDescription(v string)
func (*UpdateContainerRequest) SetLabels ¶
func (m *UpdateContainerRequest) SetLabels(v map[string]string)
func (*UpdateContainerRequest) SetName ¶
func (m *UpdateContainerRequest) SetName(v string)
func (*UpdateContainerRequest) SetUpdateMask ¶
func (m *UpdateContainerRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
func (*UpdateContainerRequest) String ¶
func (x *UpdateContainerRequest) String() string