Package io.fabric8.kubernetes.api.model
Class PodVolumeHealth
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.PodVolumeHealth
-
- All Implemented Interfaces:
Editable<PodVolumeHealthBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodVolumeHealth extends Object implements Editable<PodVolumeHealthBuilder>, KubernetesResource
PodVolumeHealth contains health information for a volume used by a pod, reported by the CSI node plugin via the kubelet.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PodVolumeHealth()No args constructor for use in serializationPodVolumeHealth(List<VolumeHealthCondition> healthConditions, String lastTransitionTime, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodVolumeHealthBuilderedit()Map<String,Object>getAdditionalProperties()List<VolumeHealthCondition>getHealthConditions()conditions is the set of adverse conditions reported by the CSI node plugin for this volume on this node.StringgetLastTransitionTime()PodVolumeHealth contains health information for a volume used by a pod, reported by the CSI node plugin via the kubelet.StringgetName()name matches an entry in pod.spec.volumes.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHealthConditions(List<VolumeHealthCondition> healthConditions)conditions is the set of adverse conditions reported by the CSI node plugin for this volume on this node.voidsetLastTransitionTime(String lastTransitionTime)PodVolumeHealth contains health information for a volume used by a pod, reported by the CSI node plugin via the kubelet.voidsetName(String name)name matches an entry in pod.spec.volumes.PodVolumeHealthBuildertoBuilder()
-
-
-
Constructor Detail
-
PodVolumeHealth
public PodVolumeHealth()
No args constructor for use in serialization
-
PodVolumeHealth
public PodVolumeHealth(List<VolumeHealthCondition> healthConditions, String lastTransitionTime, String name)
-
-
Method Detail
-
getHealthConditions
public List<VolumeHealthCondition> getHealthConditions()
conditions is the set of adverse conditions reported by the CSI node plugin for this volume on this node. At most 16 conditions may be reported.
-
setHealthConditions
public void setHealthConditions(List<VolumeHealthCondition> healthConditions)
conditions is the set of adverse conditions reported by the CSI node plugin for this volume on this node. At most 16 conditions may be reported.
-
getLastTransitionTime
public String getLastTransitionTime()
PodVolumeHealth contains health information for a volume used by a pod, reported by the CSI node plugin via the kubelet.
-
setLastTransitionTime
public void setLastTransitionTime(String lastTransitionTime)
PodVolumeHealth contains health information for a volume used by a pod, reported by the CSI node plugin via the kubelet.
-
getName
public String getName()
name matches an entry in pod.spec.volumes.
-
setName
public void setName(String name)
name matches an entry in pod.spec.volumes.
-
edit
public PodVolumeHealthBuilder edit()
- Specified by:
editin interfaceEditable<PodVolumeHealthBuilder>
-
toBuilder
public PodVolumeHealthBuilder toBuilder()
-
-