Package org.cdk8s.plus24.k8s
Interface FlexVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FlexVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-20T02:42:02.066Z") @Stability(Stable) public interface FlexVolumeSource extends software.amazon.jsii.JsiiSerializable
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FlexVolumeSource.Builder
A builder forFlexVolumeSource
static class
FlexVolumeSource.Jsii$Proxy
An implementation forFlexVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static FlexVolumeSource.Builder
builder()
String
getDriver()
driver is the name of the driver to use for this volume.default String
getFsType()
fsType is the filesystem type to mount.default Map<String,String>
getOptions()
options is Optional: this field holds extra command options if any.default Boolean
getReadOnly()
readOnly is Optional: defaults to false (read/write).default LocalObjectReference
getSecretRef()
secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.
-
-
-
Method Detail
-
getDriver
@Stability(Stable) @NotNull String getDriver()
driver is the name of the driver to use for this volume.
-
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. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script.
-
getOptions
@Stability(Stable) @Nullable default Map<String,String> getOptions()
options is Optional: this field holds extra command options if any.
-
getReadOnly
@Stability(Stable) @Nullable default Boolean getReadOnly()
readOnly is Optional: defaults to false (read/write).ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
getSecretRef
@Stability(Stable) @Nullable default LocalObjectReference getSecretRef()
secretRef is Optional: secretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts.
-
builder
@Stability(Stable) static FlexVolumeSource.Builder builder()
- Returns:
- a
FlexVolumeSource.Builder
ofFlexVolumeSource
-
-