Struct k8s_openapi::v1_12::api::extensions::v1beta1::SELinuxStrategyOptions
source · pub struct SELinuxStrategyOptions {
pub rule: String,
pub se_linux_options: Option<SELinuxOptions>,
}
Expand description
SELinuxStrategyOptions defines the strategy type and any options used to create the strategy. Deprecated: use SELinuxStrategyOptions from policy API Group instead.
Fields§
§rule: String
rule is the strategy that will dictate the allowable labels that may be set.
se_linux_options: Option<SELinuxOptions>
seLinuxOptions required to run as; required for MustRunAs More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
Trait Implementations§
source§impl Clone for SELinuxStrategyOptions
impl Clone for SELinuxStrategyOptions
source§fn clone(&self) -> SELinuxStrategyOptions
fn clone(&self) -> SELinuxStrategyOptions
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 SELinuxStrategyOptions
impl Debug for SELinuxStrategyOptions
source§impl Default for SELinuxStrategyOptions
impl Default for SELinuxStrategyOptions
source§fn default() -> SELinuxStrategyOptions
fn default() -> SELinuxStrategyOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SELinuxStrategyOptions
impl<'de> Deserialize<'de> for SELinuxStrategyOptions
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