kubernetes_asyncio.client.models.v1_container_image module

Kubernetes

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501

The version of the OpenAPI document: v1.34.3 Generated by: https://openapi-generator.tech

class kubernetes_asyncio.client.models.v1_container_image.V1ContainerImage(names=None, size_bytes=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

attribute_map = {'names': 'names', 'size_bytes': 'sizeBytes'}
property names

Gets the names of this V1ContainerImage. # noqa: E501

Names by which this image is known. e.g. [“kubernetes.example/hyperkube:v1.0.7”, “cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7”] # noqa: E501

Returns:

The names of this V1ContainerImage. # noqa: E501

Return type:

list[str]

openapi_types = {'names': 'list[str]', 'size_bytes': 'int'}
property size_bytes

Gets the size_bytes of this V1ContainerImage. # noqa: E501

The size of the image in bytes. # noqa: E501

Returns:

The size_bytes of this V1ContainerImage. # noqa: E501

Return type:

int

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model