Package org.cdk8s.plus25.k8s
Interface SeccompProfile
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SeccompProfile.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.814Z") @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 classSeccompProfile.BuilderA builder forSeccompProfilestatic classSeccompProfile.Jsii$ProxyAn implementation forSeccompProfile
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static SeccompProfile.Builderbuilder()default StringgetLocalhostProfile()localhostProfile indicates a profile defined in a file on the node should be used.StringgetType()type indicates which kind of seccomp profile will be applied.
-
-
-
Method Detail
-
getType
@Stability(Stable) @NotNull String 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.
-
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.BuilderofSeccompProfile
-
-