kubernetes_asyncio.client.models.v1_downward_api_volume_file 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_downward_api_volume_file.V1DownwardAPIVolumeFile(field_ref=None, mode=None, path=None, resource_field_ref=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 = {'field_ref': 'fieldRef', 'mode': 'mode', 'path': 'path', 'resource_field_ref': 'resourceFieldRef'}
- property field_ref
Gets the field_ref of this V1DownwardAPIVolumeFile. # noqa: E501
- Returns:
The field_ref of this V1DownwardAPIVolumeFile. # noqa: E501
- Return type:
- property mode
Gets the mode of this V1DownwardAPIVolumeFile. # noqa: E501
Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. # noqa: E501
- Returns:
The mode of this V1DownwardAPIVolumeFile. # noqa: E501
- Return type:
int
- openapi_types = {'field_ref': 'V1ObjectFieldSelector', 'mode': 'int', 'path': 'str', 'resource_field_ref': 'V1ResourceFieldSelector'}
- property path
Gets the path of this V1DownwardAPIVolumeFile. # noqa: E501
Required: Path is the relative path name of the file to be created. Must not be absolute or contain the ‘..’ path. Must be utf-8 encoded. The first item of the relative path must not start with ‘..’ # noqa: E501
- Returns:
The path of this V1DownwardAPIVolumeFile. # noqa: E501
- Return type:
str
- property resource_field_ref
Gets the resource_field_ref of this V1DownwardAPIVolumeFile. # noqa: E501
- Returns:
The resource_field_ref of this V1DownwardAPIVolumeFile. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model