kubernetes_asyncio.client.models.v1_key_to_path 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_key_to_path.V1KeyToPath(key=None, mode=None, path=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 = {'key': 'key', 'mode': 'mode', 'path': 'path'}
property key

Gets the key of this V1KeyToPath. # noqa: E501

key is the key to project. # noqa: E501

Returns:

The key of this V1KeyToPath. # noqa: E501

Return type:

str

property mode

Gets the mode of this V1KeyToPath. # noqa: E501

mode is 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 V1KeyToPath. # noqa: E501

Return type:

int

openapi_types = {'key': 'str', 'mode': 'int', 'path': 'str'}
property path

Gets the path of this V1KeyToPath. # noqa: E501

path is the relative path of the file to map the key to. May not be an absolute path. May not contain the path element ‘..’. May not start with the string ‘..’. # noqa: E501

Returns:

The path of this V1KeyToPath. # 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