Package org.cdk8s.plus24.k8s
Interface CinderPersistentVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CinderPersistentVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-13T15:58:19.768Z") @Stability(Stable) public interface CinderPersistentVolumeSource extends software.amazon.jsii.JsiiSerializable
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CinderPersistentVolumeSource.Builder
A builder forCinderPersistentVolumeSource
static class
CinderPersistentVolumeSource.Jsii$Proxy
An implementation forCinderPersistentVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CinderPersistentVolumeSource.Builder
builder()
default String
getFsType()
fsType Filesystem type to mount.default Boolean
getReadOnly()
readOnly is Optional: Defaults to false (read/write).default SecretReference
getSecretRef()
secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.String
getVolumeId()
volumeID used to identify the volume in cinder.
-
-
-
Method Detail
-
getVolumeId
@Stability(Stable) @NotNull String getVolumeId()
volumeID used to identify the volume in cinder.More info: https://examples.k8s.io/mysql-cinder-pd/README.md
-
getFsType
@Stability(Stable) @Nullable default String getFsType()
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
-
getReadOnly
@Stability(Stable) @Nullable default Boolean getReadOnly()
readOnly is 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
Default: false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/mysql-cinder-pd/README.md
-
getSecretRef
@Stability(Stable) @Nullable default SecretReference getSecretRef()
secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.
-
builder
@Stability(Stable) static CinderPersistentVolumeSource.Builder builder()
-
-