case class SeccompProfile(localhostProfile: Optional[String] = Optional.Absent, type: String) extends Product with Serializable
SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.
- 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 only be set if type is "Localhost".
- 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.
- Alphabetic
- By Inheritance
- SeccompProfile
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
SeccompProfile(localhostProfile: Optional[String] = Optional.Absent, type: 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 only be set if type is "Localhost".
- 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.
Value Members
-
def
getLocalhostProfile: IO[K8sFailure, String]
localhostProfile indicates a profile defined in a file on the node should be used.
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".
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getType: IO[K8sFailure, String]
type indicates which kind of seccomp profile will be applied.
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.
This effect always succeeds, it is safe to use the field type directly.
- val localhostProfile: Optional[String]
- val type: String