kubernetes.aio.client.models.v1_container_restart_rule_on_exit_codes module¶
Kubernetes
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501
The version of the OpenAPI document: release-1.36 Generated by: https://openapi-generator.tech
- class kubernetes.aio.client.models.v1_container_restart_rule_on_exit_codes.V1ContainerRestartRuleOnExitCodes(operator=None, values=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 = {'operator': 'operator', 'values': 'values'}¶
- openapi_types = {'operator': 'str', 'values': 'list[int]'}¶
- property operator¶
Gets the operator of this V1ContainerRestartRuleOnExitCodes. # noqa: E501
Represents the relationship between the container exit code(s) and the specified values. Possible values are: - In: the requirement is satisfied if the container exit code is in the set of specified values. - NotIn: the requirement is satisfied if the container exit code is not in the set of specified values. # noqa: E501
- Returns:
The operator of this V1ContainerRestartRuleOnExitCodes. # 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