final case class CSINode(spec: CSINodeSpec, metadata: Option[ObjectMeta] = None) extends KObject with Product with Serializable
CSINode holds information about all CSI drivers installed on a node. CSI drivers do not need to create the CSINode object directly. As long as they use the node-driver-registrar sidecar container, the kubelet will automatically populate the CSINode object for the CSI driver as part of kubelet plugin registration. CSINode has the same name as a node. If the object is missing, it means either there are no CSI Drivers available on the node, or the Kubelet version is low enough that it doesn't create this object. CSINode has an OwnerReference that points to the corresponding node object.
- Source
- CSINode.scala
- Alphabetic
- By Inheritance
- CSINode
- KObject
- Product
- Equals
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CSINode(spec: CSINodeSpec, metadata: Option[ObjectMeta] = None)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val _resourceKind: ResourceKind
- final lazy val apiVersion: String
- Definition Classes
- KObject
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def foldTo[T](implicit arg0: Builder[T]): T
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def group: String
- Definition Classes
- KObject
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final lazy val kind: String
- Definition Classes
- KObject
- def mapMetadata(f: (ObjectMeta) => ObjectMeta): CSINode
if metadata has a value, transforms to the result of function
- def mapSpec(f: (CSINodeSpec) => CSINodeSpec): CSINode
transforms spec to result of function
- val metadata: Option[ObjectMeta]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val spec: CSINodeSpec
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final lazy val version: String
- Definition Classes
- KObject
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withMetadata(value: ObjectMeta): CSINode
Returns a new data with metadata set to new value
- def withSpec(value: CSINodeSpec): CSINode
Returns a new data with spec set to new value