Class V1NodeStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1NodeStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1NodeStatus
extends Object
NodeStatus is information about the current status of a node.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddaddressesItem(V1NodeAddress addressesItem) Add an item to the addresses property in a chainable fashion.addconditionsItem(V1NodeCondition conditionsItem) Add an item to the conditions property in a chainable fashion.addimagesItem(V1ContainerImage imagesItem) Add an item to the images property in a chainable fashion.addresses(List<@Valid V1NodeAddress> addresses) Set addresses in a chainable fashion.addruntimeHandlersItem(V1NodeRuntimeHandler runtimeHandlersItem) Add an item to the runtimeHandlers property in a chainable fashion.addvolumesAttachedItem(V1AttachedVolume volumesAttachedItem) Add an item to the volumesAttached property in a chainable fashion.addvolumesInUseItem(String volumesInUseItem) Add an item to the volumesInUse property in a chainable fashion.allocatable(Map<String, @NotNull String> allocatable) Set allocatable in a chainable fashion.Set capacity in a chainable fashion.conditions(List<@Valid V1NodeCondition> conditions) Set conditions in a chainable fashion.config(V1NodeConfigStatus config) Set config in a chainable fashion.daemonEndpoints(V1NodeDaemonEndpoints daemonEndpoints) Set daemonEndpoints in a chainable fashion.booleanfeatures(V1NodeFeatures features) Set features in a chainable fashion.List<@Valid V1NodeAddress>List of addresses reachable to the node.Allocatable represents the resources of a node that are available for scheduling.Capacity represents the total resources of a node.List<@Valid V1NodeCondition>Conditions is an array of current observed node conditions.List<@Valid V1ContainerImage>List of container images on this nodegetPhase()NodePhase is the recently observed lifecycle phase of the node.List<@Valid V1NodeRuntimeHandler>The available runtime handlers.List<@Valid V1AttachedVolume>List of volumes that are attached to the node.List of attachable volumes in use (mounted) by the node.inthashCode()images(List<@Valid V1ContainerImage> images) Set images in a chainable fashion.nodeInfo(V1NodeSystemInfo nodeInfo) Set nodeInfo in a chainable fashion.Set phase in a chainable fashion.putallocatableItem(String key, String allocatableItem) Set the value for the key for the allocatable map property in a chainable fashion.putcapacityItem(String key, String capacityItem) Set the value for the key for the capacity map property in a chainable fashion.runtimeHandlers(List<@Valid V1NodeRuntimeHandler> runtimeHandlers) Set runtimeHandlers in a chainable fashion.voidsetAddresses(List<@Valid V1NodeAddress> addresses) Set the addresses property valuevoidsetAllocatable(Map<String, @NotNull String> allocatable) Set the allocatable property valuevoidsetCapacity(Map<String, @NotNull String> capacity) Set the capacity property valuevoidsetConditions(List<@Valid V1NodeCondition> conditions) Set the conditions property valuevoidsetConfig(V1NodeConfigStatus config) Set the config property valuevoidsetDaemonEndpoints(V1NodeDaemonEndpoints daemonEndpoints) Set the daemonEndpoints property valuevoidsetFeatures(V1NodeFeatures features) Set the features property valuevoidsetImages(List<@Valid V1ContainerImage> images) Set the images property valuevoidsetNodeInfo(V1NodeSystemInfo nodeInfo) Set the nodeInfo property valuevoidSet the phase property valuevoidsetRuntimeHandlers(List<@Valid V1NodeRuntimeHandler> runtimeHandlers) Set the runtimeHandlers property valuevoidsetVolumesAttached(List<@Valid V1AttachedVolume> volumesAttached) Set the volumesAttached property valuevoidsetVolumesInUse(List<@NotNull String> volumesInUse) Set the volumesInUse property valuetoString()volumesAttached(List<@Valid V1AttachedVolume> volumesAttached) Set volumesAttached in a chainable fashion.volumesInUse(List<@NotNull String> volumesInUse) Set volumesInUse in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_ADDRESSES
- See Also:
-
JSON_PROPERTY_ALLOCATABLE
- See Also:
-
JSON_PROPERTY_CAPACITY
- See Also:
-
JSON_PROPERTY_CONDITIONS
- See Also:
-
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_DAEMON_ENDPOINTS
- See Also:
-
JSON_PROPERTY_FEATURES
- See Also:
-
JSON_PROPERTY_IMAGES
- See Also:
-
JSON_PROPERTY_NODE_INFO
- See Also:
-
JSON_PROPERTY_PHASE
- See Also:
-
JSON_PROPERTY_RUNTIME_HANDLERS
- See Also:
-
JSON_PROPERTY_VOLUMES_ATTACHED
- See Also:
-
JSON_PROPERTY_VOLUMES_IN_USE
- See Also:
-
-
Constructor Details
-
V1NodeStatus
public V1NodeStatus()
-
-
Method Details
-
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 https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).- Returns:
- the addresses property value
-
setAddresses
Set the addresses property value- Parameters:
addresses- property value to set
-
addresses
Set addresses in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
addaddressesItem
Add an item to the addresses property in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getAllocatable
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.- Returns:
- the allocatable property value
-
setAllocatable
Set the allocatable property value- Parameters:
allocatable- property value to set
-
allocatable
Set allocatable in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
putallocatableItem
Set the value for the key for the allocatable map property in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getCapacity
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity- Returns:
- the capacity property value
-
setCapacity
Set the capacity property value- Parameters:
capacity- property value to set
-
capacity
Set capacity in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
putcapacityItem
Set the value for the key for the capacity map property in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getConditions
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition- Returns:
- the conditions property value
-
setConditions
Set the conditions property value- Parameters:
conditions- property value to set
-
conditions
Set conditions in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
addconditionsItem
Add an item to the conditions property in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getConfig
- Returns:
- the config property value
-
setConfig
Set the config property value- Parameters:
config- property value to set
-
config
Set config in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getDaemonEndpoints
- Returns:
- the daemonEndpoints property value
-
setDaemonEndpoints
Set the daemonEndpoints property value- Parameters:
daemonEndpoints- property value to set
-
daemonEndpoints
Set daemonEndpoints in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getFeatures
- Returns:
- the features property value
-
setFeatures
Set the features property value- Parameters:
features- property value to set
-
features
Set features in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getImages
List of container images on this node- Returns:
- the images property value
-
setImages
Set the images property value- Parameters:
images- property value to set
-
images
Set images in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
addimagesItem
Add an item to the images property in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getNodeInfo
- Returns:
- the nodeInfo property value
-
setNodeInfo
Set the nodeInfo property value- Parameters:
nodeInfo- property value to set
-
nodeInfo
Set nodeInfo in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
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:
- the phase property value
-
setPhase
Set the phase property value- Parameters:
phase- property value to set
-
phase
Set phase in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getRuntimeHandlers
The available runtime handlers.- Returns:
- the runtimeHandlers property value
-
setRuntimeHandlers
Set the runtimeHandlers property value- Parameters:
runtimeHandlers- property value to set
-
runtimeHandlers
Set runtimeHandlers in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
addruntimeHandlersItem
Add an item to the runtimeHandlers property in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getVolumesAttached
List of volumes that are attached to the node.- Returns:
- the volumesAttached property value
-
setVolumesAttached
Set the volumesAttached property value- Parameters:
volumesAttached- property value to set
-
volumesAttached
Set volumesAttached in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
addvolumesAttachedItem
Add an item to the volumesAttached property in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
getVolumesInUse
List of attachable volumes in use (mounted) by the node.- Returns:
- the volumesInUse property value
-
setVolumesInUse
Set the volumesInUse property value- Parameters:
volumesInUse- property value to set
-
volumesInUse
Set volumesInUse in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
addvolumesInUseItem
Add an item to the volumesInUse property in a chainable fashion.- Returns:
- The same instance of V1NodeStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-