Struct k8s_openapi::api::core::v1::AppArmorProfile
source · 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)