pub struct IoK8sApiCoreV1SeccompProfile {
pub localhost_profile: Option<String>,
pub type_: IoK8sApiCoreV1SeccompProfileType,
}Expand description
SeccompProfile defines a pod/container’s seccomp profile settings. Only one profile source may be set.
Fields§
§localhost_profile: Option<String>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_: IoK8sApiCoreV1SeccompProfileTypetype 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.
Possible enum values:
"Localhost"indicates a profile defined in a file on the node should be used. The file’s location relative to/seccomp. "RuntimeDefault"represents the default container runtime seccomp profile."Unconfined"indicates no seccomp profile is applied (A.K.A. unconfined).
Trait Implementations§
Source§impl Clone for IoK8sApiCoreV1SeccompProfile
impl Clone for IoK8sApiCoreV1SeccompProfile
Source§fn clone(&self) -> IoK8sApiCoreV1SeccompProfile
fn clone(&self) -> IoK8sApiCoreV1SeccompProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IoK8sApiCoreV1SeccompProfile
impl Debug for IoK8sApiCoreV1SeccompProfile
Source§impl<'de> Deserialize<'de> for IoK8sApiCoreV1SeccompProfile
impl<'de> Deserialize<'de> for IoK8sApiCoreV1SeccompProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&IoK8sApiCoreV1SeccompProfile> for IoK8sApiCoreV1SeccompProfile
impl From<&IoK8sApiCoreV1SeccompProfile> for IoK8sApiCoreV1SeccompProfile
Source§fn from(value: &IoK8sApiCoreV1SeccompProfile) -> Self
fn from(value: &IoK8sApiCoreV1SeccompProfile) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoK8sApiCoreV1SeccompProfile
impl RefUnwindSafe for IoK8sApiCoreV1SeccompProfile
impl Send for IoK8sApiCoreV1SeccompProfile
impl Sync for IoK8sApiCoreV1SeccompProfile
impl Unpin for IoK8sApiCoreV1SeccompProfile
impl UnwindSafe for IoK8sApiCoreV1SeccompProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more