roboto.image_registry
Submodules
Package Contents
ContainerCredentials
Bases: pydantic.BaseModel
Credentials used by a container
Parameters
data AnyAttributes
ContainerCredentials.expiration
ContainerCredentials.is_expired()
Return type
ContainerCredentials.to_dict()
Return type
Attributes
ContainerCredentials.username
ContainerImageRecord
ContainerImageRepositoryRecord
Bases: pydantic.BaseModel
A wire-transmissible representation of a container image repository.
Parameters
data AnyContainerUploadCredentials
CreateImageRepositoryRequest
CreateImageRepositoryResponse
DeleteImageRepositoryRequest
Bases: pydantic.BaseModel
Request payload to delete an image repository
Parameters
data AnyDeleteImageRequest
Bases: pydantic.BaseModel
Request payload to delete an image
Parameters
data AnyAttributes
DeleteImageRequest.image_uri
ImageRegistry
Parameters
roboto_client roboto.ImageRegistry.create_repository()
Create a repository for a container image in Roboto’s private image registry. Images with different tags can be pushed to the same repository.
Parameters
repository_name strThe name of the repository to create.
immutable_image_tags boolWhether to allow image tags to be overwritten. If set to True, then any attempt to overwrite an existing image tag will error.
org_id Optional[str]Returns
A dictionary contains the repository_name and ``repository_uri` of the created repository.
ImageRegistry.delete_image()
Delete a container image from Roboto’s private registry.
Parameters
image_uri strThe full URI of the image to delete.
org_id Optional[str]ID of organization owning the provided image.
Return type
ImageRegistry.delete_repository()
Delete a container image from Roboto’s private registry.
Parameters
repository_name strThe name of the repository to delete.
org_id Optional[str]ID of organization owning the provided image.
force boolDelete all images in the repository before deleting the repository if the repository is not empty.
Return type
ImageRegistry.get_container_image_record()
Parameters
org_id strimage_uri strImageRegistry.get_temporary_credentials()
Parameters
Return type
ImageRegistry.list_images()
Parameters
repository_name Optional[str]page_token Optional[str]org_id Optional[str]ImageRegistry.list_repositories()
Parameters
page_token Optional[str]org_id Optional[str]ImageRegistry.repository_contains_image()
Parameters
repository_name strimage_tag strorg_id Optional[str]Return type
ImageRepository
RepositoryContainsImageResponse
Bases: pydantic.BaseModel
Response payload to repository contains image
Parameters
data AnyAttributes