Package org.cdk8s.plus25.k8s
Interface LocalVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
LocalVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.732Z") @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 classLocalVolumeSource.BuilderA builder forLocalVolumeSourcestatic classLocalVolumeSource.Jsii$ProxyAn implementation forLocalVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static LocalVolumeSource.Builderbuilder()default StringgetFsType()fsType is the filesystem type to mount.StringgetPath()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.BuilderofLocalVolumeSource
-
-