Struct k8s_openapi::api::policy::v1beta1::SupplementalGroupsStrategyOptions
source · [−]pub struct SupplementalGroupsStrategyOptions {
pub ranges: Option<Vec<IDRange>>,
pub rule: Option<String>,
}Expand description
SupplementalGroupsStrategyOptions defines the strategy type and options used to create the strategy.
Fields
ranges: Option<Vec<IDRange>>ranges are the allowed ranges of supplemental groups. If you would like to force a single supplemental 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 supplemental groups is used in the SecurityContext.
Trait Implementations
sourceimpl Clone for SupplementalGroupsStrategyOptions
impl Clone for SupplementalGroupsStrategyOptions
sourcefn clone(&self) -> SupplementalGroupsStrategyOptions
fn clone(&self) -> SupplementalGroupsStrategyOptions
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 Default for SupplementalGroupsStrategyOptions
impl Default for SupplementalGroupsStrategyOptions
sourcefn default() -> SupplementalGroupsStrategyOptions
fn default() -> SupplementalGroupsStrategyOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SupplementalGroupsStrategyOptions
impl<'de> Deserialize<'de> for SupplementalGroupsStrategyOptions
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<SupplementalGroupsStrategyOptions> for SupplementalGroupsStrategyOptions
impl PartialEq<SupplementalGroupsStrategyOptions> for SupplementalGroupsStrategyOptions
sourcefn eq(&self, other: &SupplementalGroupsStrategyOptions) -> bool
fn eq(&self, other: &SupplementalGroupsStrategyOptions) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SupplementalGroupsStrategyOptions) -> bool
fn ne(&self, other: &SupplementalGroupsStrategyOptions) -> bool
This method tests for !=.
impl StructuralPartialEq for SupplementalGroupsStrategyOptions
Auto Trait Implementations
impl RefUnwindSafe for SupplementalGroupsStrategyOptions
impl Send for SupplementalGroupsStrategyOptions
impl Sync for SupplementalGroupsStrategyOptions
impl Unpin for SupplementalGroupsStrategyOptions
impl UnwindSafe for SupplementalGroupsStrategyOptions
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