[][src]Struct k8s_openapi::api::core::v1::WindowsSecurityContextOptions

pub struct WindowsSecurityContextOptions {
    pub gmsa_credential_spec: Option<String>,
    pub gmsa_credential_spec_name: Option<String>,
    pub run_as_user_name: Option<String>,
}

WindowsSecurityContextOptions contain Windows-specific options and credentials.

Fields

gmsa_credential_spec: Option<String>

GMSACredentialSpec is where the GMSA admission webhook (https://github.com/kubernetes-sigs/windows-gmsa) inlines the contents of the GMSA credential spec named by the GMSACredentialSpecName field.

gmsa_credential_spec_name: Option<String>

GMSACredentialSpecName is the name of the GMSA credential spec to use.

run_as_user_name: Option<String>

The UserName in Windows to run the entrypoint of the container process. Defaults to the user specified in image metadata if unspecified. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.

Trait Implementations

impl Clone for WindowsSecurityContextOptions[src]

impl Debug for WindowsSecurityContextOptions[src]

impl Default for WindowsSecurityContextOptions[src]

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

impl PartialEq<WindowsSecurityContextOptions> for WindowsSecurityContextOptions[src]

impl Serialize for WindowsSecurityContextOptions[src]

impl StructuralPartialEq for WindowsSecurityContextOptions[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.