Struct k8s_openapi::api::policy::v1beta1::SELinuxStrategyOptions [−][src]
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.
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
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SELinuxStrategyOptions
impl Send for SELinuxStrategyOptions
impl Sync for SELinuxStrategyOptions
impl Unpin for SELinuxStrategyOptions
impl UnwindSafe for SELinuxStrategyOptions
Blanket Implementations
Mutably borrows from an owned value. Read more