[][src]Struct openshift_openapi::api::security::v1::PodSecurityPolicyReviewSpec

pub struct PodSecurityPolicyReviewSpec {
    pub service_account_names: Option<Vec<String>>,
    pub template: PodTemplateSpec,
}

PodSecurityPolicyReviewSpec defines specification for PodSecurityPolicyReview

Fields

service_account_names: Option<Vec<String>>

serviceAccountNames is an optional set of ServiceAccounts to run the check with. If serviceAccountNames is empty, the template.spec.serviceAccountName is used, unless it's empty, in which case "default" is used instead. If serviceAccountNames is specified, template.spec.serviceAccountName is ignored.

template: PodTemplateSpec

template is the PodTemplateSpec to check. The template.spec.serviceAccountName field is used if serviceAccountNames is empty, unless the template.spec.serviceAccountName is empty, in which case "default" is used. If serviceAccountNames is specified, template.spec.serviceAccountName is ignored.

Trait Implementations

impl Clone for PodSecurityPolicyReviewSpec[src]

impl Debug for PodSecurityPolicyReviewSpec[src]

impl Default for PodSecurityPolicyReviewSpec[src]

impl<'de> Deserialize<'de> for PodSecurityPolicyReviewSpec[src]

impl PartialEq<PodSecurityPolicyReviewSpec> for PodSecurityPolicyReviewSpec[src]

impl Serialize for PodSecurityPolicyReviewSpec[src]

impl StructuralPartialEq for PodSecurityPolicyReviewSpec[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.