Struct k8s_openapi::v1_12::api::policy::v1beta1::RunAsUserStrategyOptions
source · Expand description
RunAsUserStrategyOptions defines the strategy type and any options used to create the strategy.
Fields§
§ranges: Option<Vec<IDRange>>
ranges are the allowed ranges of uids that may be used. If you would like to force a single uid then supply a single range with the same start and end. Required for MustRunAs.
rule: String
rule is the strategy that will dictate the allowable RunAsUser values that may be set.
Trait Implementations§
source§impl Clone for RunAsUserStrategyOptions
impl Clone for RunAsUserStrategyOptions
source§fn clone(&self) -> RunAsUserStrategyOptions
fn clone(&self) -> RunAsUserStrategyOptions
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 RunAsUserStrategyOptions
impl Debug for RunAsUserStrategyOptions
source§impl Default for RunAsUserStrategyOptions
impl Default for RunAsUserStrategyOptions
source§fn default() -> RunAsUserStrategyOptions
fn default() -> RunAsUserStrategyOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RunAsUserStrategyOptions
impl<'de> Deserialize<'de> for RunAsUserStrategyOptions
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