Class V1SeccompProfile
java.lang.Object
io.kubernetes.client.openapi.models.V1SeccompProfile
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1SeccompProfile
extends Object
SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
localhostProfile indicates a profile defined in a file on the node should be used.getType()
type indicates which kind of seccomp profile will be applied.int
hashCode()
localhostProfile
(String localhostProfile) void
setLocalhostProfile
(String localhostProfile) void
toString()
-
Field Details
-
SERIALIZED_NAME_LOCALHOST_PROFILE
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
-
Constructor Details
-
V1SeccompProfile
public V1SeccompProfile()
-
-
Method Details
-
localhostProfile
-
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\".- Returns:
- localhostProfile
-
setLocalhostProfile
-
type
-
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.- Returns:
- type
-
setType
-
equals
-
hashCode
public int hashCode() -
toString
-