Package org.cdk8s.plus25.k8s
Interface HostPathVolumeSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
HostPathVolumeSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.549Z") @Stability(Stable) public interface HostPathVolumeSource extends software.amazon.jsii.JsiiSerializable
Represents a host path mapped into a pod.Host path volumes do not support ownership management or SELinux relabeling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHostPathVolumeSource.BuilderA builder forHostPathVolumeSourcestatic classHostPathVolumeSource.Jsii$ProxyAn implementation forHostPathVolumeSource
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static HostPathVolumeSource.Builderbuilder()StringgetPath()path of the directory on the host.default StringgetType()type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath.
-
-
-
Method Detail
-
getPath
@Stability(Stable) @NotNull String getPath()
path of the directory on the host.If the path is a symlink, it will follow the link to the real path. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
-
getType
@Stability(Stable) @Nullable default String getType()
type for HostPath Volume Defaults to "" More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath.Default: More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
-
builder
@Stability(Stable) static HostPathVolumeSource.Builder builder()
- Returns:
- a
HostPathVolumeSource.BuilderofHostPathVolumeSource
-
-