Struct k8s_sync::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>Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for AuthInfo
impl UnwindSafe for AuthInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more