Package org.cdk8s.plus23.k8s
Interface DownwardApiVolumeFile
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DownwardApiVolumeFile.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.275Z") @Stability(Stable) public interface DownwardApiVolumeFile extends software.amazon.jsii.JsiiSerializable
DownwardAPIVolumeFile represents information to create the file containing the pod field.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DownwardApiVolumeFile.Builder
A builder forDownwardApiVolumeFile
static class
DownwardApiVolumeFile.Jsii$Proxy
An implementation forDownwardApiVolumeFile
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static DownwardApiVolumeFile.Builder
builder()
default ObjectFieldSelector
getFieldRef()
Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.default Number
getMode()
Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.String
getPath()
Required: Path is the relative path name of the file to be created.default ResourceFieldSelector
getResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
-
-
-
Method Detail
-
getPath
@Stability(Stable) @NotNull String getPath()
Required: Path is the relative path name of the file to be created.Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..'
-
getFieldRef
@Stability(Stable) @Nullable default ObjectFieldSelector getFieldRef()
Required: Selects a field of the pod: only annotations, labels, name and namespace are supported.
-
getMode
@Stability(Stable) @Nullable default Number getMode()
Optional: mode bits used to set permissions on this file, must be an octal value between 0000 and 0777 or a decimal value between 0 and 511.YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
-
getResourceFieldRef
@Stability(Stable) @Nullable default ResourceFieldSelector getResourceFieldRef()
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.
-
builder
@Stability(Stable) static DownwardApiVolumeFile.Builder builder()
- Returns:
- a
DownwardApiVolumeFile.Builder
ofDownwardApiVolumeFile
-
-