Class PrometheusStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1.PrometheusStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<PrometheusStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PrometheusStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<PrometheusStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
PrometheusStatus is the most recent observed status of the Prometheus cluster. More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PrometheusStatus()No args constructor for use in serializationPrometheusStatus(Integer availableReplicas, List<Condition> conditions, Boolean paused, Integer replicas, String selector, List<ShardStatus> shardStatuses, Integer shards, Integer unavailableReplicas, Integer updatedReplicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrometheusStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetAvailableReplicas()Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.List<Condition>getConditions()The current state of the Prometheus deployment.BooleangetPaused()Represents whether any actions on the underlying managed objects are being performed.IntegergetReplicas()Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).StringgetSelector()The selector used to match the pods targeted by this Prometheus resource.IntegergetShards()Shards is the most recently observed number of shards.List<ShardStatus>getShardStatuses()The list has one entry per shard.IntegergetUnavailableReplicas()Total number of unavailable pods targeted by this Prometheus deployment.IntegergetUpdatedReplicas()Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailableReplicas(Integer availableReplicas)Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.voidsetConditions(List<Condition> conditions)The current state of the Prometheus deployment.voidsetPaused(Boolean paused)Represents whether any actions on the underlying managed objects are being performed.voidsetReplicas(Integer replicas)Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).voidsetSelector(String selector)The selector used to match the pods targeted by this Prometheus resource.voidsetShards(Integer shards)Shards is the most recently observed number of shards.voidsetShardStatuses(List<ShardStatus> shardStatuses)The list has one entry per shard.voidsetUnavailableReplicas(Integer unavailableReplicas)Total number of unavailable pods targeted by this Prometheus deployment.voidsetUpdatedReplicas(Integer updatedReplicas)Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.PrometheusStatusBuildertoBuilder()
-
-
-
Method Detail
-
getAvailableReplicas
public Integer getAvailableReplicas()
Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.
-
setAvailableReplicas
public void setAvailableReplicas(Integer availableReplicas)
Total number of available pods (ready for at least minReadySeconds) targeted by this Prometheus deployment.
-
getConditions
public List<Condition> getConditions()
The current state of the Prometheus deployment.
-
setConditions
public void setConditions(List<Condition> conditions)
The current state of the Prometheus deployment.
-
getPaused
public Boolean getPaused()
Represents whether any actions on the underlying managed objects are being performed. Only delete actions will be performed.
-
setPaused
public void setPaused(Boolean paused)
Represents whether any actions on the underlying managed objects are being performed. Only delete actions will be performed.
-
getReplicas
public Integer getReplicas()
Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).
-
setReplicas
public void setReplicas(Integer replicas)
Total number of non-terminated pods targeted by this Prometheus deployment (their labels match the selector).
-
getSelector
public String getSelector()
The selector used to match the pods targeted by this Prometheus resource.
-
setSelector
public void setSelector(String selector)
The selector used to match the pods targeted by this Prometheus resource.
-
getShardStatuses
public List<ShardStatus> getShardStatuses()
The list has one entry per shard. Each entry provides a summary of the shard status.
-
setShardStatuses
public void setShardStatuses(List<ShardStatus> shardStatuses)
The list has one entry per shard. Each entry provides a summary of the shard status.
-
getShards
public Integer getShards()
Shards is the most recently observed number of shards.
-
setShards
public void setShards(Integer shards)
Shards is the most recently observed number of shards.
-
getUnavailableReplicas
public Integer getUnavailableReplicas()
Total number of unavailable pods targeted by this Prometheus deployment.
-
setUnavailableReplicas
public void setUnavailableReplicas(Integer unavailableReplicas)
Total number of unavailable pods targeted by this Prometheus deployment.
-
getUpdatedReplicas
public Integer getUpdatedReplicas()
Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
Total number of non-terminated pods targeted by this Prometheus deployment that have the desired version spec.
-
edit
public PrometheusStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<PrometheusStatusBuilder>
-
toBuilder
public PrometheusStatusBuilder toBuilder()
-
-