Class CsiNodeDriver.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.CsiNodeDriver.Jsii$Proxy
-
- All Implemented Interfaces:
CsiNodeDriver
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CsiNodeDriver
@Stability(Stable) @Internal public static final class CsiNodeDriver.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CsiNodeDriver
An implementation forCsiNodeDriver
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.k8s.CsiNodeDriver
CsiNodeDriver.Builder, CsiNodeDriver.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(CsiNodeDriver.Builder builder)
Constructor that initializes the object based on literal property values passed by theCsiNodeDriver.Builder
.protected
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
$jsii$toJson()
boolean
equals(Object o)
VolumeNodeResources
getAllocatable()
allocatable represents the volume resources of a node that are available for scheduling.String
getName()
This is the name of the CSI driver that this object refers to.String
getNodeId()
nodeID of the node from the driver point of view.List<String>
getTopologyKeys()
topologyKeys is the list of keys supported by the driver.int
hashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CsiNodeDriver.Builder builder)
Constructor that initializes the object based on literal property values passed by theCsiNodeDriver.Builder
.
-
-
Method Detail
-
getName
public final String getName()
Description copied from interface:CsiNodeDriver
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.
- Specified by:
getName
in interfaceCsiNodeDriver
-
getNodeId
public final String getNodeId()
Description copied from interface:CsiNodeDriver
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.
- Specified by:
getNodeId
in interfaceCsiNodeDriver
-
getAllocatable
public final VolumeNodeResources getAllocatable()
Description copied from interface:CsiNodeDriver
allocatable represents the volume resources of a node that are available for scheduling.This field is beta.
- Specified by:
getAllocatable
in interfaceCsiNodeDriver
-
getTopologyKeys
public final List<String> getTopologyKeys()
Description copied from interface:CsiNodeDriver
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.
- Specified by:
getTopologyKeys
in interfaceCsiNodeDriver
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-