Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.17 KB

File metadata and controls

29 lines (22 loc) · 1.17 KB

V1ContainerImage

Describe a container image

Properties

Name Type Description Notes
names List[str] 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"] [optional]
size_bytes int The size of the image in bytes. [optional]

Example

from kubernetes.client.models.v1_container_image import V1ContainerImage

# TODO update the JSON string below
json = "{}"
# create an instance of V1ContainerImage from a JSON string
v1_container_image_instance = V1ContainerImage.from_json(json)
# print the JSON string representation of the object
print(V1ContainerImage.to_json())

# convert the object into a dict
v1_container_image_dict = v1_container_image_instance.to_dict()
# create an instance of V1ContainerImage from a dict
v1_container_image_from_dict = V1ContainerImage.from_dict(v1_container_image_dict)

[Back to Model list] [Back to API list] [Back to README]