Package net.stickycode.kuuty.model.v18
Class IoK8sApiCoreV1NodeStatus
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiCoreV1NodeStatus
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiCoreV1NodeStatus extends Object
NodeStatus is information about the current status of a node.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ADDRESSESstatic StringJSON_PROPERTY_ALLOCATABLEstatic StringJSON_PROPERTY_CAPACITYstatic StringJSON_PROPERTY_CONDITIONSstatic StringJSON_PROPERTY_CONFIGstatic StringJSON_PROPERTY_DAEMON_ENDPOINTSstatic StringJSON_PROPERTY_IMAGESstatic StringJSON_PROPERTY_NODE_INFOstatic StringJSON_PROPERTY_PHASEstatic StringJSON_PROPERTY_VOLUMES_ATTACHEDstatic StringJSON_PROPERTY_VOLUMES_IN_USE
-
Constructor Summary
Constructors Constructor Description IoK8sApiCoreV1NodeStatus()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ADDRESSES
public static final String JSON_PROPERTY_ADDRESSES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ALLOCATABLE
public static final String JSON_PROPERTY_ALLOCATABLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CAPACITY
public static final String JSON_PROPERTY_CAPACITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONDITIONS
public static final String JSON_PROPERTY_CONDITIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONFIG
public static final String JSON_PROPERTY_CONFIG
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DAEMON_ENDPOINTS
public static final String JSON_PROPERTY_DAEMON_ENDPOINTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IMAGES
public static final String JSON_PROPERTY_IMAGES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_INFO
public static final String JSON_PROPERTY_NODE_INFO
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PHASE
public static final String JSON_PROPERTY_PHASE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLUMES_ATTACHED
public static final String JSON_PROPERTY_VOLUMES_ATTACHED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLUMES_IN_USE
public static final String JSON_PROPERTY_VOLUMES_IN_USE
- See Also:
- Constant Field Values
-
-
Method Detail
-
addresses
public IoK8sApiCoreV1NodeStatus addresses(List<IoK8sApiCoreV1NodeAddress> addresses)
-
addAddressesItem
public IoK8sApiCoreV1NodeStatus addAddressesItem(IoK8sApiCoreV1NodeAddress addressesItem)
-
getAddresses
@Nullable public List<IoK8sApiCoreV1NodeAddress> getAddresses()
List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See http://pr.k8s.io/79391 for an example.- Returns:
- addresses
-
setAddresses
public void setAddresses(List<IoK8sApiCoreV1NodeAddress> addresses)
-
allocatable
public IoK8sApiCoreV1NodeStatus allocatable(Map<String,String> allocatable)
-
putAllocatableItem
public IoK8sApiCoreV1NodeStatus putAllocatableItem(String key, String allocatableItem)
-
getAllocatable
@Nullable public Map<String,String> getAllocatable()
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.- Returns:
- allocatable
-
capacity
public IoK8sApiCoreV1NodeStatus capacity(Map<String,String> capacity)
-
putCapacityItem
public IoK8sApiCoreV1NodeStatus putCapacityItem(String key, String capacityItem)
-
getCapacity
@Nullable public Map<String,String> getCapacity()
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity- Returns:
- capacity
-
conditions
public IoK8sApiCoreV1NodeStatus conditions(List<IoK8sApiCoreV1NodeCondition> conditions)
-
addConditionsItem
public IoK8sApiCoreV1NodeStatus addConditionsItem(IoK8sApiCoreV1NodeCondition conditionsItem)
-
getConditions
@Nullable public List<IoK8sApiCoreV1NodeCondition> getConditions()
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition- Returns:
- conditions
-
setConditions
public void setConditions(List<IoK8sApiCoreV1NodeCondition> conditions)
-
config
public IoK8sApiCoreV1NodeStatus config(IoK8sApiCoreV1NodeConfigStatus config)
-
getConfig
@Nullable public IoK8sApiCoreV1NodeConfigStatus getConfig()
Get config- Returns:
- config
-
setConfig
public void setConfig(IoK8sApiCoreV1NodeConfigStatus config)
-
daemonEndpoints
public IoK8sApiCoreV1NodeStatus daemonEndpoints(IoK8sApiCoreV1NodeDaemonEndpoints daemonEndpoints)
-
getDaemonEndpoints
@Nullable public IoK8sApiCoreV1NodeDaemonEndpoints getDaemonEndpoints()
Get daemonEndpoints- Returns:
- daemonEndpoints
-
setDaemonEndpoints
public void setDaemonEndpoints(IoK8sApiCoreV1NodeDaemonEndpoints daemonEndpoints)
-
images
public IoK8sApiCoreV1NodeStatus images(List<IoK8sApiCoreV1ContainerImage> images)
-
addImagesItem
public IoK8sApiCoreV1NodeStatus addImagesItem(IoK8sApiCoreV1ContainerImage imagesItem)
-
getImages
@Nullable public List<IoK8sApiCoreV1ContainerImage> getImages()
List of container images on this node- Returns:
- images
-
setImages
public void setImages(List<IoK8sApiCoreV1ContainerImage> images)
-
nodeInfo
public IoK8sApiCoreV1NodeStatus nodeInfo(IoK8sApiCoreV1NodeSystemInfo nodeInfo)
-
getNodeInfo
@Nullable public IoK8sApiCoreV1NodeSystemInfo getNodeInfo()
Get nodeInfo- Returns:
- nodeInfo
-
setNodeInfo
public void setNodeInfo(IoK8sApiCoreV1NodeSystemInfo nodeInfo)
-
phase
public IoK8sApiCoreV1NodeStatus phase(String phase)
-
getPhase
@Nullable public String getPhase()
NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.- Returns:
- phase
-
setPhase
public void setPhase(String phase)
-
volumesAttached
public IoK8sApiCoreV1NodeStatus volumesAttached(List<IoK8sApiCoreV1AttachedVolume> volumesAttached)
-
addVolumesAttachedItem
public IoK8sApiCoreV1NodeStatus addVolumesAttachedItem(IoK8sApiCoreV1AttachedVolume volumesAttachedItem)
-
getVolumesAttached
@Nullable public List<IoK8sApiCoreV1AttachedVolume> getVolumesAttached()
List of volumes that are attached to the node.- Returns:
- volumesAttached
-
setVolumesAttached
public void setVolumesAttached(List<IoK8sApiCoreV1AttachedVolume> volumesAttached)
-
volumesInUse
public IoK8sApiCoreV1NodeStatus volumesInUse(List<String> volumesInUse)
-
addVolumesInUseItem
public IoK8sApiCoreV1NodeStatus addVolumesInUseItem(String volumesInUseItem)
-
getVolumesInUse
@Nullable public List<String> getVolumesInUse()
List of attachable volumes in use (mounted) by the node.- Returns:
- volumesInUse
-
-