Struct k8s_openapi_ext::corev1::SeccompProfile  
source · [−]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_: Stringtype 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.
Trait Implementations
sourceimpl Clone for SeccompProfile
 
impl Clone for SeccompProfile
sourcefn clone(&self) -> SeccompProfile
 
fn clone(&self) -> SeccompProfile
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresourceimpl Debug for SeccompProfile
 
impl Debug for SeccompProfile
sourceimpl DeepMerge for SeccompProfile
 
impl DeepMerge for SeccompProfile
sourcefn merge_from(&mut self, other: SeccompProfile)
 
fn merge_from(&mut self, other: SeccompProfile)
Merge 
other into self.sourceimpl Default for SeccompProfile
 
impl Default for SeccompProfile
sourcefn default() -> SeccompProfile
 
fn default() -> SeccompProfile
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SeccompProfile
 
impl<'de> Deserialize<'de> for SeccompProfile
sourcefn deserialize<D>(
    deserializer: D
) -> Result<SeccompProfile, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(
    deserializer: D
) -> Result<SeccompProfile, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<SeccompProfile> for SeccompProfile
 
impl PartialEq<SeccompProfile> for SeccompProfile
sourcefn eq(&self, other: &SeccompProfile) -> bool
 
fn eq(&self, other: &SeccompProfile) -> bool
sourceimpl Serialize for SeccompProfile
 
impl Serialize for SeccompProfile
sourcefn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
 
fn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SeccompProfile
Auto Trait Implementations
impl RefUnwindSafe for SeccompProfile
impl Send for SeccompProfile
impl Sync for SeccompProfile
impl Unpin for SeccompProfile
impl UnwindSafe for SeccompProfile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more