Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.29 KB

File metadata and controls

30 lines (23 loc) · 1.29 KB

V1ContainerState

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

Properties

Name Type Description Notes
running V1ContainerStateRunning [optional]
terminated V1ContainerStateTerminated [optional]
waiting V1ContainerStateWaiting [optional]

Example

from kubernetes.client.models.v1_container_state import V1ContainerState

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

# convert the object into a dict
v1_container_state_dict = v1_container_state_instance.to_dict()
# create an instance of V1ContainerState from a dict
v1_container_state_from_dict = V1ContainerState.from_dict(v1_container_state_dict)

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