Package org.cdk8s.plus25.k8s
Interface CinderPersistentVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CinderPersistentVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.463Z") @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 classCinderPersistentVolumeSource.BuilderA builder forCinderPersistentVolumeSourcestatic classCinderPersistentVolumeSource.Jsii$ProxyAn implementation forCinderPersistentVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CinderPersistentVolumeSource.Builderbuilder()default StringgetFsType()fsType Filesystem type to mount.default BooleangetReadOnly()readOnly is Optional: Defaults to false (read/write).default SecretReferencegetSecretRef()secretRef is Optional: points to a secret object containing parameters used to connect to OpenStack.StringgetVolumeId()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()
-
-