Struct k8s_openapi::api::policy::v1beta1::FSGroupStrategyOptions
source · [−]Expand description
FSGroupStrategyOptions defines the strategy type and options used to create the strategy.
Fields
ranges: Option<Vec<IDRange>>
ranges are the allowed ranges of fs groups. If you would like to force a single fs group then supply a single range with the same start and end. Required for MustRunAs.
rule: Option<String>
rule is the strategy that will dictate what FSGroup is used in the SecurityContext.
Trait Implementations
sourceimpl Clone for FSGroupStrategyOptions
impl Clone for FSGroupStrategyOptions
sourcefn clone(&self) -> FSGroupStrategyOptions
fn clone(&self) -> FSGroupStrategyOptions
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 more
sourceimpl Debug for FSGroupStrategyOptions
impl Debug for FSGroupStrategyOptions
sourceimpl Default for FSGroupStrategyOptions
impl Default for FSGroupStrategyOptions
sourcefn default() -> FSGroupStrategyOptions
fn default() -> FSGroupStrategyOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for FSGroupStrategyOptions
impl<'de> Deserialize<'de> for FSGroupStrategyOptions
sourcefn 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
sourceimpl PartialEq<FSGroupStrategyOptions> for FSGroupStrategyOptions
impl PartialEq<FSGroupStrategyOptions> for FSGroupStrategyOptions
sourcefn eq(&self, other: &FSGroupStrategyOptions) -> bool
fn eq(&self, other: &FSGroupStrategyOptions) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FSGroupStrategyOptions) -> bool
fn ne(&self, other: &FSGroupStrategyOptions) -> bool
This method tests for !=
.
sourceimpl Serialize for FSGroupStrategyOptions
impl Serialize for FSGroupStrategyOptions
impl StructuralPartialEq for FSGroupStrategyOptions
Auto Trait Implementations
impl RefUnwindSafe for FSGroupStrategyOptions
impl Send for FSGroupStrategyOptions
impl Sync for FSGroupStrategyOptions
impl Unpin for FSGroupStrategyOptions
impl UnwindSafe for FSGroupStrategyOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more