kubernetes_asyncio.client.models.v1_taint 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_taint.V1Taint(effect=None, key=None, time_added=None, value=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 = {'effect': 'effect', 'key': 'key', 'time_added': 'timeAdded', 'value': 'value'}
- property effect
Gets the effect of this V1Taint. # noqa: E501
Required. The effect of the taint on pods that do not tolerate the taint. Valid effects are NoSchedule, PreferNoSchedule and NoExecute. # noqa: E501
- Returns:
The effect of this V1Taint. # noqa: E501
- Return type:
str
- property key
Gets the key of this V1Taint. # noqa: E501
Required. The taint key to be applied to a node. # noqa: E501
- Returns:
The key of this V1Taint. # noqa: E501
- Return type:
str
- openapi_types = {'effect': 'str', 'key': 'str', 'time_added': 'datetime', 'value': 'str'}
- property time_added
Gets the time_added of this V1Taint. # noqa: E501
TimeAdded represents the time at which the taint was added. # noqa: E501
- Returns:
The time_added of this V1Taint. # noqa: E501
- Return type:
datetime
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
- property value
Gets the value of this V1Taint. # noqa: E501
The taint value corresponding to the taint key. # noqa: E501
- Returns:
The value of this V1Taint. # noqa: E501
- Return type:
str