Class EndpointConditions
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.discovery.v1.EndpointConditions
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EndpointConditionsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EndpointConditions extends Object implements io.fabric8.kubernetes.api.builder.Editable<EndpointConditionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
EndpointConditions represents the current condition of an endpoint.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EndpointConditions()No args constructor for use in serializationEndpointConditions(Boolean ready, Boolean serving, Boolean terminating)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EndpointConditionsBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetReady()ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint.BooleangetServing()serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint.BooleangetTerminating()terminating indicates that this endpoint is terminating.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetReady(Boolean ready)ready indicates that this endpoint is ready to receive traffic, according to whatever system is managing the endpoint.voidsetServing(Boolean serving)serving indicates that this endpoint is able to receive traffic, according to whatever system is managing the endpoint.voidsetTerminating(Boolean terminating)terminating indicates that this endpoint is terminating.EndpointConditionsBuildertoBuilder()
-
-
-
Method Detail
-
getReady
public Boolean getReady()
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.
-
setReady
public void setReady(Boolean ready)
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.
-
getServing
public Boolean getServing()
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".
-
setServing
public void setServing(Boolean serving)
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".
-
getTerminating
public Boolean getTerminating()
terminating indicates that this endpoint is terminating. A nil value should be interpreted as "false".
-
setTerminating
public void setTerminating(Boolean terminating)
terminating indicates that this endpoint is terminating. A nil value should be interpreted as "false".
-
edit
public EndpointConditionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EndpointConditionsBuilder>
-
toBuilder
public EndpointConditionsBuilder toBuilder()
-
-