Package io.fabric8.kubernetes.api.model
Class SeccompProfile
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.SeccompProfile
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SeccompProfileBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SeccompProfile extends Object implements io.fabric8.kubernetes.api.builder.Editable<SeccompProfileBuilder>, KubernetesResource
SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SeccompProfile()No args constructor for use in serializationSeccompProfile(String localhostProfile, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SeccompProfileBuilderedit()Map<String,Object>getAdditionalProperties()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.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLocalhostProfile(String localhostProfile)localhostProfile indicates a profile defined in a file on the node should be used.voidsetType(String type)type indicates which kind of seccomp profile will be applied.SeccompProfileBuildertoBuilder()
-
-
-
Method Detail
-
getLocalhostProfile
public 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 be set if type is "Localhost". Must NOT be set for any other type.
-
setLocalhostProfile
public void setLocalhostProfile(String localhostProfile)
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 be set if type is "Localhost". Must NOT be set for any other type.
-
getType
public 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.
-
setType
public void setType(String type)
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.
-
edit
public SeccompProfileBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SeccompProfileBuilder>
-
toBuilder
public SeccompProfileBuilder toBuilder()
-
-