pub struct SeccompProfile {
pub localhost_profile: Option<String>,
pub type: Option<String>,
}Expand description
Only one profile source may be set. +union
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". +optional
type: Option<String>+enum
Implementations§
Source§impl SeccompProfile
impl SeccompProfile
pub fn new() -> SeccompProfile
Trait Implementations§
Source§impl Clone for SeccompProfile
impl Clone for SeccompProfile
Source§fn clone(&self) -> SeccompProfile
fn clone(&self) -> SeccompProfile
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 SeccompProfile
impl Debug for SeccompProfile
Source§impl<'de> Deserialize<'de> for SeccompProfile
impl<'de> Deserialize<'de> for SeccompProfile
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 FromStr for SeccompProfile
Converts Query Parameters representation (style=form, explode=false) to a SeccompProfile value
as specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde deserializer
impl FromStr for SeccompProfile
Converts Query Parameters representation (style=form, explode=false) to a SeccompProfile value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer
Source§impl PartialEq for SeccompProfile
impl PartialEq for SeccompProfile
Source§impl Serialize for SeccompProfile
impl Serialize for SeccompProfile
Source§impl ToString for SeccompProfile
Converts the SeccompProfile value to the Query Parameters representation (style=form, explode=false)
specified in https://swagger.io/docs/specification/serialization/
Should be implemented in a serde serializer
impl ToString for SeccompProfile
Converts the SeccompProfile value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer
Source§impl Validate for SeccompProfile
impl Validate for SeccompProfile
Source§impl<'v_a> ValidateArgs<'v_a> for SeccompProfile
impl<'v_a> ValidateArgs<'v_a> for SeccompProfile
impl StructuralPartialEq for SeccompProfile
Auto Trait Implementations§
impl Freeze for SeccompProfile
impl RefUnwindSafe for SeccompProfile
impl Send for SeccompProfile
impl Sync for SeccompProfile
impl Unpin for SeccompProfile
impl UnwindSafe for SeccompProfile
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