Struct kube::config::AuthInfo [−][src]
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>, }
Expand description
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<'de> Deserialize<'de> for AuthInfo
[src]
impl<'de> Deserialize<'de> for AuthInfo
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AuthInfo
impl Send for AuthInfo
impl Sync for AuthInfo
impl Unpin for AuthInfo
impl UnwindSafe for AuthInfo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,