kubernetes.client.models.v1_node_status module

Kubernetes

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

The version of the OpenAPI document: release-1.36 Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.

class kubernetes.client.models.v1_node_status.V1NodeStatus(*, addresses: List[V1NodeAddress] | None = None, allocatable: Dict[str, Annotated[str, Strict(strict=True)]] | None = None, capacity: Dict[str, Annotated[str, Strict(strict=True)]] | None = None, conditions: List[V1NodeCondition] | None = None, config: V1NodeConfigStatus | None = None, daemon_endpoints: V1NodeDaemonEndpoints | None = None, declared_features: List[Annotated[str, Strict(strict=True)]] | None = None, features: V1NodeFeatures | None = None, images: List[V1ContainerImage] | None = None, node_info: V1NodeSystemInfo | None = None, phase: Annotated[str, Strict(strict=True)] | None = None, runtime_handlers: List[V1NodeRuntimeHandler] | None = None, volumes_attached: List[V1AttachedVolume] | None = None, volumes_in_use: List[Annotated[str, Strict(strict=True)]] | None = None)

Bases: BaseModel

NodeStatus is information about the current status of a node.

Attributes:
openapi_types (dict): The key is attribute name

and the value is attribute type.

attribute_map (dict): The key is attribute name

and the value is json key in definition.

addresses: List[V1NodeAddress] | None
allocatable: Dict[str, StrictStr] | None
attribute_map: ClassVar[Dict[str, str]] = {'addresses': 'addresses', 'allocatable': 'allocatable', 'capacity': 'capacity', 'conditions': 'conditions', 'config': 'config', 'daemon_endpoints': 'daemonEndpoints', 'declared_features': 'declaredFeatures', 'features': 'features', 'images': 'images', 'node_info': 'nodeInfo', 'phase': 'phase', 'runtime_handlers': 'runtimeHandlers', 'volumes_attached': 'volumesAttached', 'volumes_in_use': 'volumesInUse'}
capacity: Dict[str, StrictStr] | None
conditions: List[V1NodeCondition] | None
config: V1NodeConfigStatus | None
daemon_endpoints: V1NodeDaemonEndpoints | None
declared_features: List[StrictStr] | None
features: V1NodeFeatures | None
classmethod from_dict(obj: Dict[str, Any] | None) Self | None

Create an instance of V1NodeStatus from a dict

classmethod from_json(json_str: str) Self | None

Create an instance of V1NodeStatus from a JSON string

images: List[V1ContainerImage] | None
model_config = {'extra': 'forbid', 'protected_namespaces': (), 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

node_info: V1NodeSystemInfo | None
openapi_types: ClassVar[Dict[str, str]] = {'addresses': 'List[V1NodeAddress]', 'allocatable': 'Dict[str, str]', 'capacity': 'Dict[str, str]', 'conditions': 'List[V1NodeCondition]', 'config': 'V1NodeConfigStatus', 'daemon_endpoints': 'V1NodeDaemonEndpoints', 'declared_features': 'List[str]', 'features': 'V1NodeFeatures', 'images': 'List[V1ContainerImage]', 'node_info': 'V1NodeSystemInfo', 'phase': 'str', 'runtime_handlers': 'List[V1NodeRuntimeHandler]', 'volumes_attached': 'List[V1AttachedVolume]', 'volumes_in_use': 'List[str]'}
phase: StrictStr | None
runtime_handlers: List[V1NodeRuntimeHandler] | None
to_dict(serialize: bool = False) Dict[str, Any]

Return all declared model fields using public or wire names.

to_json() str

Returns the JSON representation of the model using alias

to_str() str

Returns the string representation of the model

volumes_attached: List[V1AttachedVolume] | None
volumes_in_use: List[StrictStr] | None