kubernetes.aio.client.models.v1_host_path_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: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_host_path_volume_source.V1HostPathVolumeSource(path=None, type=None, local_vars_configuration=None)¶
Bases:
objectNOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech
Do not edit the class manually.
- attribute_map = {'path': 'path', 'type': 'type'}¶
- openapi_types = {'path': 'str', 'type': 'str'}¶
- property path¶
Gets the path of this V1HostPathVolumeSource. # noqa: E501
path of the directory on the host. If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath # noqa: E501
- Returns:
The path of this V1HostPathVolumeSource. # 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
- property type¶
Gets the type of this V1HostPathVolumeSource. # noqa: E501
type for HostPath Volume Defaults to “” More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath # noqa: E501
- Returns:
The type of this V1HostPathVolumeSource. # noqa: E501
- Return type:
str