Class V1SeccompProfile
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1SeccompProfile
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
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) Set localhostProfile in a chainable fashion.void
setLocalhostProfile
(String localhostProfile) Set the localhostProfile property valuevoid
Set the type property valuetoString()
Set type in a chainable fashion.
-
Field Details
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_LOCALHOST_PROFILE
- See Also:
-
-
Constructor Details
-
V1SeccompProfile
-
-
Method Details
-
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:
- the type property value
-
setType
Set the type property value- Parameters:
type
- property value to set
-
type
Set type in a chainable fashion.- Returns:
- The same instance of V1SeccompProfile for chaining.
-
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:
- the localhostProfile property value
-
setLocalhostProfile
Set the localhostProfile property value- Parameters:
localhostProfile
- property value to set
-
localhostProfile
Set localhostProfile in a chainable fashion.- Returns:
- The same instance of V1SeccompProfile for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-