case class StorageClass(allowVolumeExpansion: Optional[Boolean] = Optional.Absent, allowedTopologies: Optional[Vector[TopologySelectorTerm]] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, mountOptions: Optional[Vector[String]] = Optional.Absent, parameters: Optional[Map[String, String]] = Optional.Absent, provisioner: String, reclaimPolicy: Optional[String] = Optional.Absent, volumeBindingMode: Optional[String] = Optional.Absent) extends Product with Serializable

StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned.

StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.

allowVolumeExpansion

AllowVolumeExpansion shows whether the storage class allow volume expand

allowedTopologies

Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.

mountOptions

Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.

parameters

Parameters holds the parameters for the provisioner that should create volumes of this storage class.

provisioner

Provisioner indicates the type of the provisioner.

reclaimPolicy

Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.

volumeBindingMode

VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StorageClass
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StorageClass(allowVolumeExpansion: Optional[Boolean] = Optional.Absent, allowedTopologies: Optional[Vector[TopologySelectorTerm]] = Optional.Absent, metadata: Optional[ObjectMeta] = Optional.Absent, mountOptions: Optional[Vector[String]] = Optional.Absent, parameters: Optional[Map[String, String]] = Optional.Absent, provisioner: String, reclaimPolicy: Optional[String] = Optional.Absent, volumeBindingMode: Optional[String] = Optional.Absent)

    allowVolumeExpansion

    AllowVolumeExpansion shows whether the storage class allow volume expand

    allowedTopologies

    Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.

    mountOptions

    Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.

    parameters

    Parameters holds the parameters for the provisioner that should create volumes of this storage class.

    provisioner

    Provisioner indicates the type of the provisioner.

    reclaimPolicy

    Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.

    volumeBindingMode

    VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val allowVolumeExpansion: Optional[Boolean]
  5. val allowedTopologies: Optional[Vector[TopologySelectorTerm]]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def getAllowVolumeExpansion: IO[K8sFailure, Boolean]

    AllowVolumeExpansion shows whether the storage class allow volume expand

    AllowVolumeExpansion shows whether the storage class allow volume expand

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  10. def getAllowedTopologies: IO[K8sFailure, Vector[TopologySelectorTerm]]

    Restrict the node topologies where volumes can be dynamically provisioned.

    Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getMetadata: IO[K8sFailure, ObjectMeta]

    Gets metadata.

    Gets metadata.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  13. def getMountOptions: IO[K8sFailure, Vector[String]]

    Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.

    Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs will simply fail if one is invalid.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  14. def getParameters: IO[K8sFailure, Map[String, String]]

    Parameters holds the parameters for the provisioner that should create volumes of this storage class.

    Parameters holds the parameters for the provisioner that should create volumes of this storage class.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  15. def getProvisioner: IO[K8sFailure, String]

    Provisioner indicates the type of the provisioner.

    Provisioner indicates the type of the provisioner.

    This effect always succeeds, it is safe to use the field provisioner directly.

  16. def getReclaimPolicy: IO[K8sFailure, String]

    Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.

    Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  17. def getVolumeBindingMode: IO[K8sFailure, String]

    VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.

    VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val metadata: Optional[ObjectMeta]
  20. val mountOptions: Optional[Vector[String]]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val parameters: Optional[Map[String, String]]
  25. val provisioner: String
  26. val reclaimPolicy: Optional[String]
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. val volumeBindingMode: Optional[String]
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped