kubernetes_asyncio.client.models.v1_empty_dir_volume_source 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_empty_dir_volume_source.V1EmptyDirVolumeSource(medium=None, size_limit=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 = {'medium': 'medium', 'size_limit': 'sizeLimit'}
property medium

Gets the medium of this V1EmptyDirVolumeSource. # noqa: E501

medium represents what type of storage medium should back this directory. The default is “” which means to use the node’s default medium. Must be an empty string (default) or Memory. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir # noqa: E501

Returns:

The medium of this V1EmptyDirVolumeSource. # noqa: E501

Return type:

str

openapi_types = {'medium': 'str', 'size_limit': 'str'}
property size_limit

Gets the size_limit of this V1EmptyDirVolumeSource. # noqa: E501

sizeLimit is the total amount of local storage required for this EmptyDir volume. The size limit is also applicable for memory medium. The maximum usage on memory medium EmptyDir would be the minimum value between the SizeLimit specified here and the sum of memory limits of all containers in a pod. The default is nil which means that the limit is undefined. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir # noqa: E501

Returns:

The size_limit of this V1EmptyDirVolumeSource. # noqa: E501

Return type:

str

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model