case class CinderVolumeSource(fsType: Optional[String] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, secretRef: Optional[LocalObjectReference] = Optional.Absent, volumeID: String) extends Product with Serializable
Represents a cinder volume resource in Openstack. A Cinder volume must exist before mounting to a container. The volume must also be in the same region as the kubelet. Cinder volumes support ownership management and SELinux relabeling.
- fsType
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- readOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- volumeID
volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- Alphabetic
- By Inheritance
- CinderVolumeSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CinderVolumeSource(fsType: Optional[String] = Optional.Absent, readOnly: Optional[Boolean] = Optional.Absent, secretRef: Optional[LocalObjectReference] = Optional.Absent, volumeID: String)
- fsType
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- readOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
- volumeID
volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
Value Members
- val fsType: Optional[String]
-
def
getFsType: IO[K8sFailure, String]
Filesystem type to mount.
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReadOnly: IO[K8sFailure, Boolean]
Optional: Defaults to false (read/write).
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSecretRef: IO[K8sFailure, LocalObjectReference]
Gets secretRef.
Gets secretRef.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getVolumeID: IO[K8sFailure, String]
volume id used to identify the volume in cinder.
volume id used to identify the volume in cinder. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
This effect always succeeds, it is safe to use the field volumeID directly.
- val readOnly: Optional[Boolean]
- val secretRef: Optional[LocalObjectReference]
- val volumeID: String