kubernetes.aio.client.models.v1_local_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_local_volume_source.V1LocalVolumeSource(fs_type=None, path=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 = {'fs_type': 'fsType', 'path': 'path'}¶
- property fs_type¶
Gets the fs_type of this V1LocalVolumeSource. # noqa: E501
fsType is the filesystem type to mount. It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. “ext4”, “xfs”, “ntfs”. The default value is to auto-select a filesystem if unspecified. # noqa: E501
- Returns:
The fs_type of this V1LocalVolumeSource. # noqa: E501
- Return type:
str
- openapi_types = {'fs_type': 'str', 'path': 'str'}¶
- property path¶
Gets the path of this V1LocalVolumeSource. # noqa: E501
path of the full path to the volume on the node. It can be either a directory or block device (disk, partition, …). # noqa: E501
- Returns:
The path of this V1LocalVolumeSource. # 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