Package net.stickycode.kuuty.model.v18
Class IoK8sApiStorageV1beta1CSINodeDriver
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiStorageV1beta1CSINodeDriver
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiStorageV1beta1CSINodeDriver extends Object
CSINodeDriver holds information about the specification of one CSI driver installed on a node
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOCATABLEstatic StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_NODE_I_Dstatic StringJSON_PROPERTY_TOPOLOGY_KEYS
-
Constructor Summary
Constructors Constructor Description IoK8sApiStorageV1beta1CSINodeDriver()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOCATABLE
public static final String JSON_PROPERTY_ALLOCATABLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NODE_I_D
public static final String JSON_PROPERTY_NODE_I_D
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOPOLOGY_KEYS
public static final String JSON_PROPERTY_TOPOLOGY_KEYS
- See Also:
- Constant Field Values
-
-
Method Detail
-
allocatable
public IoK8sApiStorageV1beta1CSINodeDriver allocatable(IoK8sApiStorageV1beta1VolumeNodeResources allocatable)
-
getAllocatable
@Nullable public IoK8sApiStorageV1beta1VolumeNodeResources getAllocatable()
Get allocatable- Returns:
- allocatable
-
setAllocatable
public void setAllocatable(IoK8sApiStorageV1beta1VolumeNodeResources allocatable)
-
name
public IoK8sApiStorageV1beta1CSINodeDriver name(String name)
-
getName
public String getName()
This is 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:
- name
-
setName
public void setName(String name)
-
nodeID
public IoK8sApiStorageV1beta1CSINodeDriver nodeID(String nodeID)
-
getNodeID
public String 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:
- nodeID
-
setNodeID
public void setNodeID(String nodeID)
-
topologyKeys
public IoK8sApiStorageV1beta1CSINodeDriver topologyKeys(List<String> topologyKeys)
-
addTopologyKeysItem
public IoK8sApiStorageV1beta1CSINodeDriver addTopologyKeysItem(String topologyKeysItem)
-
getTopologyKeys
@Nullable public List<String> 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:
- topologyKeys
-
-