[][src]Struct kube::config::AuthInfo

pub struct AuthInfo {
    pub username: Option<String>,
    pub password: Option<String>,
    pub token: Option<String>,
    pub token_file: Option<String>,
    pub client_certificate: Option<String>,
    pub client_certificate_data: Option<String>,
    pub client_key: Option<String>,
    pub client_key_data: Option<String>,
    pub impersonate: Option<String>,
    pub impersonate_groups: Option<Vec<String>>,
    pub auth_provider: Option<AuthProviderConfig>,
    pub exec: Option<ExecConfig>,
}

AuthInfo stores information to tell cluster who you are.

Fields

username: Option<String>password: Option<String>token: Option<String>token_file: Option<String>client_certificate: Option<String>client_certificate_data: Option<String>client_key: Option<String>client_key_data: Option<String>impersonate: Option<String>impersonate_groups: Option<Vec<String>>auth_provider: Option<AuthProviderConfig>exec: Option<ExecConfig>

Trait Implementations

impl Clone for AuthInfo[src]

impl Debug for AuthInfo[src]

impl Serialize for AuthInfo[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

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