kubernetes_asyncio.client.models.v1_env_from_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_from_source.V1EnvFromSource(config_map_ref=None, prefix=None, secret_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 = {'config_map_ref': 'configMapRef', 'prefix': 'prefix', 'secret_ref': 'secretRef'}
- property config_map_ref
Gets the config_map_ref of this V1EnvFromSource. # noqa: E501
- Returns:
The config_map_ref of this V1EnvFromSource. # noqa: E501
- Return type:
- openapi_types = {'config_map_ref': 'V1ConfigMapEnvSource', 'prefix': 'str', 'secret_ref': 'V1SecretEnvSource'}
- property prefix
Gets the prefix of this V1EnvFromSource. # noqa: E501
Optional text to prepend to the name of each environment variable. May consist of any printable ASCII characters except ‘=’. # noqa: E501
- Returns:
The prefix of this V1EnvFromSource. # noqa: E501
- Return type:
str
- property secret_ref
Gets the secret_ref of this V1EnvFromSource. # noqa: E501
- Returns:
The secret_ref of this V1EnvFromSource. # noqa: E501
- Return type:
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model