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 Details

  • Constructor Details

    • V1CSINodeDriver

      public V1CSINodeDriver(String name, String nodeID)
  • Method Details

    • getAllocatable

      public V1VolumeNodeResources getAllocatable()
      Returns:
      the allocatable property value
    • setAllocatable

      public void setAllocatable(V1VolumeNodeResources allocatable)
      Set the allocatable property value
    • allocatable

      public V1CSINodeDriver allocatable(V1VolumeNodeResources allocatable)
      Set allocatable in a chainable fashion.
      Returns:
      The same instance of V1CSINodeDriver for chaining.
    • getName

      public String 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

      public void setName(String name)
      Set the name property value
    • name

      public V1CSINodeDriver name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1CSINodeDriver for chaining.
    • 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:
      the nodeID property value
    • setNodeID

      public void setNodeID(String nodeID)
      Set the nodeID property value
    • nodeID

      public V1CSINodeDriver nodeID(String nodeID)
      Set nodeID in a chainable fashion.
      Returns:
      The same instance of V1CSINodeDriver for chaining.
    • getTopologyKeys

      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:
      the topologyKeys property value
    • setTopologyKeys

      public void setTopologyKeys(List<String> topologyKeys)
      Set the topologyKeys property value
    • topologyKeys

      public V1CSINodeDriver topologyKeys(List<String> topologyKeys)
      Set topologyKeys in a chainable fashion.
      Returns:
      The same instance of V1CSINodeDriver for chaining.
    • addtopologyKeysItem

      public V1CSINodeDriver addtopologyKeysItem(String topologyKeysItem)
      Add an item to the topologyKeys property in a chainable fashion.
      Returns:
      The same instance of V1CSINodeDriver for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object