Class IngressControllerStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.IngressControllerStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<IngressControllerStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class IngressControllerStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<IngressControllerStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
IngressControllerStatus defines the observed status of the IngressController.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IngressControllerStatus()No args constructor for use in serializationIngressControllerStatus(Integer availableReplicas, List<OperatorCondition> conditions, String domain, EndpointPublishingStrategy endpointPublishingStrategy, io.fabric8.kubernetes.api.model.LabelSelector namespaceSelector, Long observedGeneration, io.fabric8.kubernetes.api.model.LabelSelector routeSelector, String selector, io.fabric8.openshift.api.model.config.v1.TLSProfileSpec tlsProfile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngressControllerStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAvailableReplicas()availableReplicas is number of observed available replicas according to the ingress controller deployment.List<OperatorCondition>getConditions()conditions is a list of conditions and their status.StringgetDomain()domain is the actual domain in use.EndpointPublishingStrategygetEndpointPublishingStrategy()IngressControllerStatus defines the observed status of the IngressController.io.fabric8.kubernetes.api.model.LabelSelectorgetNamespaceSelector()IngressControllerStatus defines the observed status of the IngressController.LonggetObservedGeneration()observedGeneration is the most recent generation observed.io.fabric8.kubernetes.api.model.LabelSelectorgetRouteSelector()IngressControllerStatus defines the observed status of the IngressController.StringgetSelector()selector is a label selector, in string format, for ingress controller pods corresponding to the IngressController.io.fabric8.openshift.api.model.config.v1.TLSProfileSpecgetTlsProfile()IngressControllerStatus defines the observed status of the IngressController.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailableReplicas(Integer availableReplicas)availableReplicas is number of observed available replicas according to the ingress controller deployment.voidsetConditions(List<OperatorCondition> conditions)conditions is a list of conditions and their status.voidsetDomain(String domain)domain is the actual domain in use.voidsetEndpointPublishingStrategy(EndpointPublishingStrategy endpointPublishingStrategy)IngressControllerStatus defines the observed status of the IngressController.voidsetNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector namespaceSelector)IngressControllerStatus defines the observed status of the IngressController.voidsetObservedGeneration(Long observedGeneration)observedGeneration is the most recent generation observed.voidsetRouteSelector(io.fabric8.kubernetes.api.model.LabelSelector routeSelector)IngressControllerStatus defines the observed status of the IngressController.voidsetSelector(String selector)selector is a label selector, in string format, for ingress controller pods corresponding to the IngressController.voidsetTlsProfile(io.fabric8.openshift.api.model.config.v1.TLSProfileSpec tlsProfile)IngressControllerStatus defines the observed status of the IngressController.IngressControllerStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
IngressControllerStatus
public IngressControllerStatus()
No args constructor for use in serialization
-
IngressControllerStatus
public IngressControllerStatus(Integer availableReplicas, List<OperatorCondition> conditions, String domain, EndpointPublishingStrategy endpointPublishingStrategy, io.fabric8.kubernetes.api.model.LabelSelector namespaceSelector, Long observedGeneration, io.fabric8.kubernetes.api.model.LabelSelector routeSelector, String selector, io.fabric8.openshift.api.model.config.v1.TLSProfileSpec tlsProfile)
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
availableReplicas is number of observed available replicas according to the ingress controller deployment.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
availableReplicas is number of observed available replicas according to the ingress controller deployment.
-
getConditions
public List<OperatorCondition> getConditions()
conditions is a list of conditions and their status.Available means the ingress controller deployment is available and servicing route and ingress resources (i.e, .status.availableReplicas equals .spec.replicas)
There are additional conditions which indicate the status of other ingress controller features and capabilities.
* LoadBalancerManaged
- True if the following conditions are met:
* The endpoint publishing strategy requires a service load balancer.
- False if any of those conditions are unsatisfied.
* LoadBalancerReady
- True if the following conditions are met:
* A load balancer is managed.
* The load balancer is ready.
- False if any of those conditions are unsatisfied.
* DNSManaged
- True if the following conditions are met:
* The endpoint publishing strategy and platform support DNS.
* The ingress controller domain is set.
* dns.config.openshift.io/cluster configures DNS zones.
- False if any of those conditions are unsatisfied.
* DNSReady
- True if the following conditions are met:
* DNS is managed.
* DNS records have been successfully created.
- False if any of those conditions are unsatisfied.
-
setConditions
public void setConditions(List<OperatorCondition> conditions)
conditions is a list of conditions and their status.Available means the ingress controller deployment is available and servicing route and ingress resources (i.e, .status.availableReplicas equals .spec.replicas)
There are additional conditions which indicate the status of other ingress controller features and capabilities.
* LoadBalancerManaged
- True if the following conditions are met:
* The endpoint publishing strategy requires a service load balancer.
- False if any of those conditions are unsatisfied.
* LoadBalancerReady
- True if the following conditions are met:
* A load balancer is managed.
* The load balancer is ready.
- False if any of those conditions are unsatisfied.
* DNSManaged
- True if the following conditions are met:
* The endpoint publishing strategy and platform support DNS.
* The ingress controller domain is set.
* dns.config.openshift.io/cluster configures DNS zones.
- False if any of those conditions are unsatisfied.
* DNSReady
- True if the following conditions are met:
* DNS is managed.
* DNS records have been successfully created.
- False if any of those conditions are unsatisfied.
-
getDomain
public String getDomain()
domain is the actual domain in use.
-
setDomain
public void setDomain(String domain)
domain is the actual domain in use.
-
getEndpointPublishingStrategy
public EndpointPublishingStrategy getEndpointPublishingStrategy()
IngressControllerStatus defines the observed status of the IngressController.
-
setEndpointPublishingStrategy
public void setEndpointPublishingStrategy(EndpointPublishingStrategy endpointPublishingStrategy)
IngressControllerStatus defines the observed status of the IngressController.
-
getNamespaceSelector
public io.fabric8.kubernetes.api.model.LabelSelector getNamespaceSelector()
IngressControllerStatus defines the observed status of the IngressController.
-
setNamespaceSelector
public void setNamespaceSelector(io.fabric8.kubernetes.api.model.LabelSelector namespaceSelector)
IngressControllerStatus defines the observed status of the IngressController.
-
getObservedGeneration
public Long getObservedGeneration()
observedGeneration is the most recent generation observed.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
observedGeneration is the most recent generation observed.
-
getRouteSelector
public io.fabric8.kubernetes.api.model.LabelSelector getRouteSelector()
IngressControllerStatus defines the observed status of the IngressController.
-
setRouteSelector
public void setRouteSelector(io.fabric8.kubernetes.api.model.LabelSelector routeSelector)
IngressControllerStatus defines the observed status of the IngressController.
-
getSelector
public String getSelector()
selector is a label selector, in string format, for ingress controller pods corresponding to the IngressController. The number of matching pods should equal the value of availableReplicas.
-
setSelector
public void setSelector(String selector)
selector is a label selector, in string format, for ingress controller pods corresponding to the IngressController. The number of matching pods should equal the value of availableReplicas.
-
getTlsProfile
public io.fabric8.openshift.api.model.config.v1.TLSProfileSpec getTlsProfile()
IngressControllerStatus defines the observed status of the IngressController.
-
setTlsProfile
public void setTlsProfile(io.fabric8.openshift.api.model.config.v1.TLSProfileSpec tlsProfile)
IngressControllerStatus defines the observed status of the IngressController.
-
edit
public IngressControllerStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<IngressControllerStatusBuilder>
-
toBuilder
public IngressControllerStatusBuilder toBuilder()
-
-