Package org.cdk8s.plus24.k8s
Interface LocalVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LocalVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-26T02:32:35.226Z") @Stability(Stable) public interface LocalVolumeSource extends software.amazon.jsii.JsiiSerializable
Local represents directly-attached storage with node affinity (Beta feature).
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LocalVolumeSource.Builder
A builder forLocalVolumeSource
static class
LocalVolumeSource.Jsii$Proxy
An implementation forLocalVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static LocalVolumeSource.Builder
builder()
default String
getFsType()
fsType is the filesystem type to mount.String
getPath()
path of the full path to the volume on the node.
-
-
-
Method Detail
-
getPath
@Stability(Stable) @NotNull String getPath()
path of the full path to the volume on the node.It can be either a directory or block device (disk, partition, ...).
-
getFsType
@Stability(Stable) @Nullable default String getFsType()
fsType is the filesystem type to mount.It applies only when the Path is a block device. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default value is to auto-select a filesystem if unspecified.
-
builder
@Stability(Stable) static LocalVolumeSource.Builder builder()
- Returns:
- a
LocalVolumeSource.Builder
ofLocalVolumeSource
-
-