pub struct AppArmorProfile {
pub localhost_profile: Option<String>,
pub type_: String,
}
Expand description
AppArmorProfile defines a pod or container’s AppArmor settings.
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_: String
type 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 AppArmorProfile
impl Clone for AppArmorProfile
Source§fn clone(&self) -> AppArmorProfile
fn clone(&self) -> AppArmorProfile
Returns a copy 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 AppArmorProfile
impl Debug for AppArmorProfile
Source§impl DeepMerge for AppArmorProfile
impl DeepMerge for AppArmorProfile
Source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.Source§impl Default for AppArmorProfile
impl Default for AppArmorProfile
Source§fn default() -> AppArmorProfile
fn default() -> AppArmorProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AppArmorProfile
impl<'de> Deserialize<'de> for AppArmorProfile
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 AppArmorProfile
impl PartialEq for AppArmorProfile
Source§impl Serialize for AppArmorProfile
impl Serialize for AppArmorProfile
impl StructuralPartialEq for AppArmorProfile
Auto Trait Implementations§
impl Freeze for AppArmorProfile
impl RefUnwindSafe for AppArmorProfile
impl Send for AppArmorProfile
impl Sync for AppArmorProfile
impl Unpin for AppArmorProfile
impl UnwindSafe for AppArmorProfile
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