kubernetes_asyncio.client.models.v1_projected_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_projected_volume_source.V1ProjectedVolumeSource(default_mode=None, sources=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 = {'default_mode': 'defaultMode', 'sources': 'sources'}
property default_mode

Gets the default_mode of this V1ProjectedVolumeSource. # noqa: E501

defaultMode are the mode bits used to set permissions on created files by default. 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. Directories within the path are not affected by this setting. 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 default_mode of this V1ProjectedVolumeSource. # noqa: E501

Return type:

int

openapi_types = {'default_mode': 'int', 'sources': 'list[V1VolumeProjection]'}
property sources

Gets the sources of this V1ProjectedVolumeSource. # noqa: E501

sources is the list of volume projections. Each entry in this list handles one source. # noqa: E501

Returns:

The sources of this V1ProjectedVolumeSource. # noqa: E501

Return type:

list[V1VolumeProjection]

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model