Class V1CSINodeDriver
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1CSINodeDriver
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1CSINodeDriver
extends Object
CSINodeDriver holds information about the specification of one CSI driver installed on a node
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddtopologyKeysItem
(String topologyKeysItem) Add an item to the topologyKeys property in a chainable fashion.allocatable
(V1VolumeNodeResources allocatable) Set allocatable in a chainable fashion.boolean
getName()
name represents the name of the CSI driver that this object refers to.nodeID of the node from the driver point of view.topologyKeys is the list of keys supported by the driver.int
hashCode()
Set name in a chainable fashion.Set nodeID in a chainable fashion.void
setAllocatable
(V1VolumeNodeResources allocatable) Set the allocatable property valuevoid
Set the name property valuevoid
Set the nodeID property valuevoid
setTopologyKeys
(List<String> topologyKeys) Set the topologyKeys property valuetopologyKeys
(List<String> topologyKeys) Set topologyKeys in a chainable fashion.toString()
-
Field Details
-
JSON_PROPERTY_ALLOCATABLE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NODE_I_D
- See Also:
-
JSON_PROPERTY_TOPOLOGY_KEYS
- See Also:
-
-
Constructor Details
-
V1CSINodeDriver
-
-
Method Details
-
getAllocatable
- Returns:
- the allocatable property value
-
setAllocatable
Set the allocatable property value -
allocatable
Set allocatable in a chainable fashion.- Returns:
- The same instance of V1CSINodeDriver for chaining.
-
getName
name represents the name of the CSI driver that this object refers to. This MUST be the same name returned by the CSI GetPluginName() call for that driver.- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1CSINodeDriver for chaining.
-
getNodeID
nodeID of the node from the driver point of view. This field enables Kubernetes to communicate with storage systems that do not share the same nomenclature for nodes. For example, Kubernetes may refer to a given node as \"node1\", but the storage system may refer to the same node as \"nodeA\". When Kubernetes issues a command to the storage system to attach a volume to a specific node, it can use this field to refer to the node name using the ID that the storage system will understand, e.g. \"nodeA\" instead of \"node1\". This field is required.- Returns:
- the nodeID property value
-
setNodeID
Set the nodeID property value -
nodeID
Set nodeID in a chainable fashion.- Returns:
- The same instance of V1CSINodeDriver for chaining.
-
getTopologyKeys
topologyKeys is the list of keys supported by the driver. When a driver is initialized on a cluster, it provides a set of topology keys that it understands (e.g. \"company.com/zone\", \"company.com/region\"). When a driver is initialized on a node, it provides the same topology keys along with values. Kubelet will expose these topology keys as labels on its own node object. When Kubernetes does topology aware provisioning, it can use this list to determine which labels it should retrieve from the node object and pass back to the driver. It is possible for different nodes to use different topology keys. This can be empty if driver does not support topology.- Returns:
- the topologyKeys property value
-
setTopologyKeys
Set the topologyKeys property value -
topologyKeys
Set topologyKeys in a chainable fashion.- Returns:
- The same instance of V1CSINodeDriver for chaining.
-
addtopologyKeysItem
Add an item to the topologyKeys property in a chainable fashion.- Returns:
- The same instance of V1CSINodeDriver for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-