kubernetes_asyncio.client.models.v1_env_var_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_env_var_source.V1EnvVarSource(config_map_key_ref=None, field_ref=None, file_key_ref=None, resource_field_ref=None, secret_key_ref=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 = {'config_map_key_ref': 'configMapKeyRef', 'field_ref': 'fieldRef', 'file_key_ref': 'fileKeyRef', 'resource_field_ref': 'resourceFieldRef', 'secret_key_ref': 'secretKeyRef'}
property config_map_key_ref

Gets the config_map_key_ref of this V1EnvVarSource. # noqa: E501

Returns:

The config_map_key_ref of this V1EnvVarSource. # noqa: E501

Return type:

V1ConfigMapKeySelector

property field_ref

Gets the field_ref of this V1EnvVarSource. # noqa: E501

Returns:

The field_ref of this V1EnvVarSource. # noqa: E501

Return type:

V1ObjectFieldSelector

property file_key_ref

Gets the file_key_ref of this V1EnvVarSource. # noqa: E501

Returns:

The file_key_ref of this V1EnvVarSource. # noqa: E501

Return type:

V1FileKeySelector

openapi_types = {'config_map_key_ref': 'V1ConfigMapKeySelector', 'field_ref': 'V1ObjectFieldSelector', 'file_key_ref': 'V1FileKeySelector', 'resource_field_ref': 'V1ResourceFieldSelector', 'secret_key_ref': 'V1SecretKeySelector'}
property resource_field_ref

Gets the resource_field_ref of this V1EnvVarSource. # noqa: E501

Returns:

The resource_field_ref of this V1EnvVarSource. # noqa: E501

Return type:

V1ResourceFieldSelector

property secret_key_ref

Gets the secret_key_ref of this V1EnvVarSource. # noqa: E501

Returns:

The secret_key_ref of this V1EnvVarSource. # noqa: E501

Return type:

V1SecretKeySelector

to_dict(serialize=False)

Returns the model properties as a dict

to_str()

Returns the string representation of the model