pub struct FluentBitContainerSecurityContextAppArmorProfile {
pub localhost_profile: Option<String>,
pub type: String,
}Expand description
appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod’s appArmorProfile. Note that this field cannot be set when spec.os.name is windows.
Fields§
§localhost_profile: Option<String>localhostProfile indicates a profile loaded on the node that should be used. The profile must be preconfigured on the node to work. Must match the loaded name of the profile. Must be set if and only if type is “Localhost”.
type: Stringtype indicates which kind of AppArmor profile will be applied. Valid options are: Localhost - a profile pre-loaded on the node. RuntimeDefault - the container runtime’s default profile. Unconfined - no AppArmor enforcement.
Trait Implementations§
Source§impl Clone for FluentBitContainerSecurityContextAppArmorProfile
impl Clone for FluentBitContainerSecurityContextAppArmorProfile
Source§fn clone(&self) -> FluentBitContainerSecurityContextAppArmorProfile
fn clone(&self) -> FluentBitContainerSecurityContextAppArmorProfile
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 Default for FluentBitContainerSecurityContextAppArmorProfile
impl Default for FluentBitContainerSecurityContextAppArmorProfile
Source§fn default() -> FluentBitContainerSecurityContextAppArmorProfile
fn default() -> FluentBitContainerSecurityContextAppArmorProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FluentBitContainerSecurityContextAppArmorProfile
impl<'de> Deserialize<'de> for FluentBitContainerSecurityContextAppArmorProfile
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 PartialEq for FluentBitContainerSecurityContextAppArmorProfile
impl PartialEq for FluentBitContainerSecurityContextAppArmorProfile
Source§fn eq(&self, other: &FluentBitContainerSecurityContextAppArmorProfile) -> bool
fn eq(&self, other: &FluentBitContainerSecurityContextAppArmorProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FluentBitContainerSecurityContextAppArmorProfile
Auto Trait Implementations§
impl Freeze for FluentBitContainerSecurityContextAppArmorProfile
impl RefUnwindSafe for FluentBitContainerSecurityContextAppArmorProfile
impl Send for FluentBitContainerSecurityContextAppArmorProfile
impl Sync for FluentBitContainerSecurityContextAppArmorProfile
impl Unpin for FluentBitContainerSecurityContextAppArmorProfile
impl UnwindSafe for FluentBitContainerSecurityContextAppArmorProfile
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