final case class VolumeAttributesClass(driverName: String, metadata: Option[ObjectMeta] = None, parameters: Option[Map[String, String]] = None) extends KObject with Product with Serializable
VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- VolumeAttributesClass
- KObject
- Product
- Equals
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new VolumeAttributesClass(driverName: String, metadata: Option[ObjectMeta] = None, parameters: Option[Map[String, String]] = 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
- Attributes
- protected
- Definition Classes
- VolumeAttributesClass → KObject
-
def
addParameters(newValues: (String, String)*): VolumeAttributesClass
Adds new values to parameters
-
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( ... ) @native() @HotSpotIntrinsicCandidate()
- val driverName: String
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
foldTo[T](implicit arg0: Builder[T]): T
- Definition Classes
- VolumeAttributesClass → KObject
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
group: String
- Definition Classes
- KObject
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
lazy val
kind: String
- Definition Classes
- KObject
-
def
mapDriverName(f: (String) ⇒ String): VolumeAttributesClass
transforms driverName to result of function
-
def
mapMetadata(f: (ObjectMeta) ⇒ ObjectMeta): VolumeAttributesClass
if metadata has a value, transforms to the result of function
-
def
mapParameters(f: (Map[String, String]) ⇒ Map[String, String]): VolumeAttributesClass
if parameters has a value, transforms to the 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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val parameters: Option[Map[String, String]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
lazy val
version: String
- Definition Classes
- KObject
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withDriverName(value: String): VolumeAttributesClass
Returns a new data with driverName set to new value
-
def
withMetadata(value: ObjectMeta): VolumeAttributesClass
Returns a new data with metadata set to new value
-
def
withParameters(value: Map[String, String]): VolumeAttributesClass
Returns a new data with parameters set to new value