kubernetes_asyncio.client.models.v1_endpoint_conditions 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_endpoint_conditions.V1EndpointConditions(ready=None, serving=None, terminating=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 = {'ready': 'ready', 'serving': 'serving', 'terminating': 'terminating'}
- openapi_types = {'ready': 'bool', 'serving': 'bool', 'terminating': 'bool'}
- property ready
Gets the ready of this V1EndpointConditions. # noqa: E501
ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint. A nil value should be interpreted as “true”. In general, an endpoint should be marked ready if it is serving and not terminating, though this can be overridden in some cases, such as when the associated Service has set the publishNotReadyAddresses flag. # noqa: E501
- Returns:
The ready of this V1EndpointConditions. # noqa: E501
- Return type:
bool
- property serving
Gets the serving of this V1EndpointConditions. # noqa: E501
serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint. For endpoints backed by pods, the EndpointSlice controller will mark the endpoint as serving if the pod’s Ready condition is True. A nil value should be interpreted as “true”. # noqa: E501
- Returns:
The serving of this V1EndpointConditions. # noqa: E501
- Return type:
bool
- property terminating
Gets the terminating of this V1EndpointConditions. # noqa: E501
terminating indicates that this endpoint is terminating. A nil value should be interpreted as “false”. # noqa: E501
- Returns:
The terminating of this V1EndpointConditions. # noqa: E501
- Return type:
bool
- to_dict(serialize=False)
Returns the model properties as a dict
- to_str()
Returns the string representation of the model