Class 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 Detail

      • EndpointConditions

        public EndpointConditions()
        No args constructor for use in serialization
      • EndpointConditions

        public EndpointConditions​(Boolean ready,
                                  Boolean serving,
                                  Boolean terminating)
    • 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".
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)