Package org.cdk8s.plus23.k8s
Interface SeccompProfile
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SeccompProfile.Jsii$Proxy
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.658Z") @Stability(Stable) public interface SeccompProfile extends software.amazon.jsii.JsiiSerializable
SeccompProfile defines a pod/container's seccomp profile settings.Only one profile source may be set.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SeccompProfile.Builder
A builder forSeccompProfile
static class
SeccompProfile.Jsii$Proxy
An implementation forSeccompProfile
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SeccompProfile.Builder
builder()
default String
getLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used.IoK8SApiCoreV1SeccompProfileType
getType()
type indicates which kind of seccomp profile will be applied.
-
-
-
Method Detail
-
getType
@Stability(Stable) @NotNull IoK8SApiCoreV1SeccompProfileType getType()
type indicates which kind of seccomp profile will be applied. Valid options are:.Localhost - a profile defined in a file on the node should be used. RuntimeDefault - the container runtime default profile should be used. Unconfined - no profile should be applied.
Possible enum values:
"Localhost"
indicates a profile defined in a file on the node should be used. The file's location relative to/seccomp. "RuntimeDefault"
represents the default container runtime seccomp profile."Unconfined"
indicates no seccomp profile is applied (A.K.A. unconfined).
-
getLocalhostProfile
@Stability(Stable) @Nullable default String getLocalhostProfile()
localhostProfile indicates a profile defined in a file on the node should be used.The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".
-
builder
@Stability(Stable) static SeccompProfile.Builder builder()
- Returns:
- a
SeccompProfile.Builder
ofSeccompProfile
-
-