Package org.cdk8s.plus25.k8s
Interface CinderVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CinderVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.464Z") @Stability(Stable) public interface CinderVolumeSource 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 classCinderVolumeSource.BuilderA builder forCinderVolumeSourcestatic classCinderVolumeSource.Jsii$ProxyAn implementation forCinderVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static CinderVolumeSource.Builderbuilder()default StringgetFsType()fsType is the filesystem type to mount.default BooleangetReadOnly()readOnly defaults to false (read/write).default LocalObjectReferencegetSecretRef()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 is the 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 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
-
getSecretRef
@Stability(Stable) @Nullable default LocalObjectReference getSecretRef()
secretRef is optional: points to a secret object containing parameters used to connect to OpenStack.
-
builder
@Stability(Stable) static CinderVolumeSource.Builder builder()
- Returns:
- a
CinderVolumeSource.BuilderofCinderVolumeSource
-
-