Package org.cdk8s.plus24.k8s
Interface VolumeAttachmentSource
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
VolumeAttachmentSource.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-05T02:57:36.764Z") @Stability(Stable) public interface VolumeAttachmentSource extends software.amazon.jsii.JsiiSerializable
VolumeAttachmentSource represents a volume that should be attached.Right now only PersistenVolumes can be attached via external attacher, in future we may allow also inline volumes in pods. Exactly one member can be set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
VolumeAttachmentSource.Builder
A builder forVolumeAttachmentSource
static class
VolumeAttachmentSource.Jsii$Proxy
An implementation forVolumeAttachmentSource
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static VolumeAttachmentSource.Builder
builder()
default PersistentVolumeSpec
getInlineVolumeSpec()
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.default String
getPersistentVolumeName()
Name of the persistent volume to attach.
-
-
-
Method Detail
-
getInlineVolumeSpec
@Stability(Stable) @Nullable default PersistentVolumeSpec getInlineVolumeSpec()
inlineVolumeSpec contains all the information necessary to attach a persistent volume defined by a pod's inline VolumeSource.This field is populated only for the CSIMigration feature. It contains translated fields from a pod's inline VolumeSource to a PersistentVolumeSpec. This field is beta-level and is only honored by servers that enabled the CSIMigration feature.
-
getPersistentVolumeName
@Stability(Stable) @Nullable default String getPersistentVolumeName()
Name of the persistent volume to attach.
-
builder
@Stability(Stable) static VolumeAttachmentSource.Builder builder()
- Returns:
- a
VolumeAttachmentSource.Builder
ofVolumeAttachmentSource
-
-