containers

package
v0.0.0-...-5fa7aab Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 17 Imported by: 5

Documentation

Index

Constants

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

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

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

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

View Source
var File_yandex_cloud_serverless_containers_v1_container_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Args.ProtoReflect.Descriptor instead.

func (*Args) GetArgs

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

func (*Args) ProtoMessage

func (*Args) ProtoMessage()

func (*Args) ProtoReflect

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

func (*Args) Reset

func (x *Args) Reset()

func (*Args) SetArgs

func (m *Args) SetArgs(v []string)

func (*Args) String

func (x *Args) String() string

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

Deprecated: Use Command.ProtoReflect.Descriptor instead.

func (*Command) GetCommand

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

func (*Command) ProtoMessage

func (*Command) ProtoMessage()

func (*Command) ProtoReflect

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

func (*Command) Reset

func (x *Command) Reset()

func (*Command) SetCommand

func (m *Command) SetCommand(v []string)

func (*Command) String

func (x *Command) String() string

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

Deprecated: Use Container.ProtoReflect.Descriptor instead.

func (*Container) GetCreatedAt

func (x *Container) GetCreatedAt() *timestamppb.Timestamp

func (*Container) GetDescription

func (x *Container) GetDescription() string

func (*Container) GetFolderId

func (x *Container) GetFolderId() string

func (*Container) GetId

func (x *Container) GetId() string

func (*Container) GetLabels

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

func (*Container) GetName

func (x *Container) GetName() string

func (*Container) GetStatus

func (x *Container) GetStatus() Container_Status

func (*Container) GetUrl

func (x *Container) GetUrl() string

func (*Container) ProtoMessage

func (*Container) ProtoMessage()

func (*Container) ProtoReflect

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

func (*Container) Reset

func (x *Container) Reset()

func (*Container) SetCreatedAt

func (m *Container) SetCreatedAt(v *timestamppb.Timestamp)

func (*Container) SetDescription

func (m *Container) SetDescription(v string)

func (*Container) SetFolderId

func (m *Container) SetFolderId(v string)

func (*Container) SetId

func (m *Container) SetId(v string)

func (*Container) SetLabels

func (m *Container) SetLabels(v map[string]string)

func (*Container) SetName

func (m *Container) SetName(v string)

func (*Container) SetStatus

func (m *Container) SetStatus(v Container_Status)

func (*Container) SetUrl

func (m *Container) SetUrl(v string)

func (*Container) String

func (x *Container) String() string

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.

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

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) Enum

func (Container_Status) EnumDescriptor deprecated

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

Deprecated: Use Container_Status.Descriptor instead.

func (Container_Status) Number

func (Container_Status) String

func (x Container_Status) String() string

func (Container_Status) Type

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 (*DeployContainerRevisionMetadata) Reset

func (*DeployContainerRevisionMetadata) SetContainerRevisionId

func (m *DeployContainerRevisionMetadata) SetContainerRevisionId(v string)

func (*DeployContainerRevisionMetadata) 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 version.
	StorageMounts []*StorageMount `protobuf:"bytes,15,rep,name=storage_mounts,json=storageMounts,proto3" json:"storage_mounts,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) GetProvisionPolicy

func (x *DeployContainerRevisionRequest) GetProvisionPolicy() *ProvisionPolicy

func (*DeployContainerRevisionRequest) GetResources

func (x *DeployContainerRevisionRequest) GetResources() *Resources

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 (*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) SetProvisionPolicy

func (m *DeployContainerRevisionRequest) SetProvisionPolicy(v *ProvisionPolicy)

func (*DeployContainerRevisionRequest) SetResources

func (m *DeployContainerRevisionRequest) SetResources(v *Resources)

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

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

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetArgs

func (x *Image) GetArgs() *Args

func (*Image) GetCommand

func (x *Image) GetCommand() *Command

func (*Image) GetEnvironment

func (x *Image) GetEnvironment() map[string]string

func (*Image) GetImageDigest

func (x *Image) GetImageDigest() string

func (*Image) GetImageUrl

func (x *Image) GetImageUrl() string

func (*Image) GetWorkingDir

func (x *Image) GetWorkingDir() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

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

func (*Image) Reset

func (x *Image) Reset()

func (*Image) SetArgs

func (m *Image) SetArgs(v *Args)

func (*Image) SetCommand

func (m *Image) SetCommand(v *Command)

func (*Image) SetEnvironment

func (m *Image) SetEnvironment(v map[string]string)

func (*Image) SetImageDigest

func (m *Image) SetImageDigest(v string)

func (*Image) SetImageUrl

func (m *Image) SetImageUrl(v string)

func (*Image) SetWorkingDir

func (m *Image) SetWorkingDir(v string)

func (*Image) String

func (x *Image) String() string

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

Deprecated: Use ImageSpec.ProtoReflect.Descriptor instead.

func (*ImageSpec) GetArgs

func (x *ImageSpec) GetArgs() *Args

func (*ImageSpec) GetCommand

func (x *ImageSpec) GetCommand() *Command

func (*ImageSpec) GetEnvironment

func (x *ImageSpec) GetEnvironment() map[string]string

func (*ImageSpec) GetImageUrl

func (x *ImageSpec) GetImageUrl() string

func (*ImageSpec) GetWorkingDir

func (x *ImageSpec) GetWorkingDir() string

func (*ImageSpec) ProtoMessage

func (*ImageSpec) ProtoMessage()

func (*ImageSpec) ProtoReflect

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

func (*ImageSpec) Reset

func (x *ImageSpec) Reset()

func (*ImageSpec) SetArgs

func (m *ImageSpec) SetArgs(v *Args)

func (*ImageSpec) SetCommand

func (m *ImageSpec) SetCommand(v *Command)

func (*ImageSpec) SetEnvironment

func (m *ImageSpec) SetEnvironment(v map[string]string)

func (*ImageSpec) SetImageUrl

func (m *ImageSpec) SetImageUrl(v string)

func (*ImageSpec) SetWorkingDir

func (m *ImageSpec) SetWorkingDir(v string)

func (*ImageSpec) String

func (x *ImageSpec) String() string

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 (*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

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 (*ListContainerOperationsResponse) Reset

func (*ListContainerOperationsResponse) SetNextPageToken

func (m *ListContainerOperationsResponse) SetNextPageToken(v string)

func (*ListContainerOperationsResponse) SetOperations

func (m *ListContainerOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListContainerOperationsResponse) 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 (*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 (*ListContainersRevisionsRequest) SetPageSize

func (m *ListContainersRevisionsRequest) SetPageSize(v int64)

func (*ListContainersRevisionsRequest) SetPageToken

func (m *ListContainersRevisionsRequest) SetPageToken(v string)

func (*ListContainersRevisionsRequest) 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 (*ListContainersRevisionsResponse) Reset

func (*ListContainersRevisionsResponse) SetNextPageToken

func (m *ListContainersRevisionsResponse) SetNextPageToken(v string)

func (*ListContainersRevisionsResponse) SetRevisions

func (m *ListContainersRevisionsResponse) SetRevisions(v []*Revision)

func (*ListContainersRevisionsResponse) 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 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) Descriptor() ([]byte, []int)

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetCoreFraction

func (x *Resources) GetCoreFraction() int64

func (*Resources) GetCores

func (x *Resources) GetCores() int64

func (*Resources) GetMemory

func (x *Resources) GetMemory() int64

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) SetCoreFraction

func (m *Resources) SetCoreFraction(v int64)

func (*Resources) SetCores

func (m *Resources) SetCores(v int64)

func (*Resources) SetMemory

func (m *Resources) SetMemory(v int64)

func (*Resources) String

func (x *Resources) String() string

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 version.
	StorageMounts []*StorageMount `protobuf:"bytes,16,rep,name=storage_mounts,json=storageMounts,proto3" json:"storage_mounts,omitempty"`
	// contains filtered or unexported fields
}

func (*Revision) Descriptor deprecated

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

Deprecated: Use Revision.ProtoReflect.Descriptor instead.

func (*Revision) GetConcurrency

func (x *Revision) GetConcurrency() int64

func (*Revision) GetConnectivity

func (x *Revision) GetConnectivity() *Connectivity

func (*Revision) GetContainerId

func (x *Revision) GetContainerId() string

func (*Revision) GetCreatedAt

func (x *Revision) GetCreatedAt() *timestamppb.Timestamp

func (*Revision) GetDescription

func (x *Revision) GetDescription() string

func (*Revision) GetExecutionTimeout

func (x *Revision) GetExecutionTimeout() *durationpb.Duration

func (*Revision) GetId

func (x *Revision) GetId() string

func (*Revision) GetImage

func (x *Revision) GetImage() *Image

func (*Revision) GetLogOptions

func (x *Revision) GetLogOptions() *LogOptions

func (*Revision) GetProvisionPolicy

func (x *Revision) GetProvisionPolicy() *ProvisionPolicy

func (*Revision) GetResources

func (x *Revision) GetResources() *Resources

func (*Revision) GetScalingPolicy

func (x *Revision) GetScalingPolicy() *ScalingPolicy

func (*Revision) GetSecrets

func (x *Revision) GetSecrets() []*Secret

func (*Revision) GetServiceAccountId

func (x *Revision) GetServiceAccountId() string

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) Reset

func (x *Revision) Reset()

func (*Revision) SetConcurrency

func (m *Revision) SetConcurrency(v int64)

func (*Revision) SetConnectivity

func (m *Revision) SetConnectivity(v *Connectivity)

func (*Revision) SetContainerId

func (m *Revision) SetContainerId(v string)

func (*Revision) SetCreatedAt

func (m *Revision) SetCreatedAt(v *timestamppb.Timestamp)

func (*Revision) SetDescription

func (m *Revision) SetDescription(v string)

func (*Revision) SetExecutionTimeout

func (m *Revision) SetExecutionTimeout(v *durationpb.Duration)

func (*Revision) SetId

func (m *Revision) SetId(v string)

func (*Revision) SetImage

func (m *Revision) SetImage(v *Image)

func (*Revision) SetLogOptions

func (m *Revision) SetLogOptions(v *LogOptions)

func (*Revision) SetProvisionPolicy

func (m *Revision) SetProvisionPolicy(v *ProvisionPolicy)

func (*Revision) SetResources

func (m *Revision) SetResources(v *Resources)

func (*Revision) SetScalingPolicy

func (m *Revision) SetScalingPolicy(v *ScalingPolicy)

func (*Revision) SetSecrets

func (m *Revision) SetSecrets(v []*Secret)

func (*Revision) SetServiceAccountId

func (m *Revision) SetServiceAccountId(v string)

func (*Revision) SetStatus

func (m *Revision) SetStatus(v Revision_Status)

func (*Revision) SetStorageMounts

func (m *Revision) SetStorageMounts(v []*StorageMount)

func (*Revision) String

func (x *Revision) String() string

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) 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 (Revision_Status) String

func (x Revision_Status) String() string

func (Revision_Status) Type

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

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetEnvironmentVariable

func (x *Secret) GetEnvironmentVariable() string

func (*Secret) GetId

func (x *Secret) GetId() string

func (*Secret) GetKey

func (x *Secret) GetKey() string

func (*Secret) GetReference

func (m *Secret) GetReference() isSecret_Reference

func (*Secret) GetVersionId

func (x *Secret) GetVersionId() string

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

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

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) SetEnvironmentVariable

func (m *Secret) SetEnvironmentVariable(v string)

func (*Secret) SetId

func (m *Secret) SetId(v string)

func (*Secret) SetKey

func (m *Secret) SetKey(v string)

func (*Secret) SetReference

func (m *Secret) SetReference(v Secret_Reference)

func (*Secret) SetVersionId

func (m *Secret) SetVersionId(v string)

func (*Secret) String

func (x *Secret) String() string

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

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
}

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.

func (UnimplementedContainerServiceServer) Create

func (UnimplementedContainerServiceServer) Delete

func (UnimplementedContainerServiceServer) DeployRevision

func (UnimplementedContainerServiceServer) Get

func (UnimplementedContainerServiceServer) GetRevision

func (UnimplementedContainerServiceServer) List

func (UnimplementedContainerServiceServer) Rollback

func (UnimplementedContainerServiceServer) SetAccessBindings

func (UnimplementedContainerServiceServer) Update

func (UnimplementedContainerServiceServer) UpdateAccessBindings

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

Jump to

Keyboard shortcuts

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