Enum kube_client::error::OAuthError [−][src]
pub enum OAuthError {
MissingGoogleCredentials,
LoadCredentials(Error),
ParseCredentials(Error),
InvalidKeyFormat(Error),
InvalidRsaKey(Error),
RequestToken(Error),
RetrieveCredentials(Error),
ParseToken(Error),
Unknown(String),
}This is supported on (crate features
config or client) and crate feature oauth only.Expand description
Possible errors when requesting token with OAuth
Variants
Missing GOOGLE_APPLICATION_CREDENTIALS env
LoadCredentials(Error)Tuple Fields of LoadCredentials
0: ErrorParseCredentials(Error)Tuple Fields of ParseCredentials
0: ErrorInvalidKeyFormat(Error)Tuple Fields of InvalidKeyFormat
0: ErrorInvalidRsaKey(Error)Tuple Fields of InvalidRsaKey
0: ErrorRequestToken(Error)Tuple Fields of RequestToken
0: ErrorRetrieveCredentials(Error)Tuple Fields of RetrieveCredentials
0: ErrorParseToken(Error)Tuple Fields of ParseToken
0: ErrorUnknown(String)Tuple Fields of Unknown
0: StringTrait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for OAuthError
impl Send for OAuthError
impl Sync for OAuthError
impl Unpin for OAuthError
impl !UnwindSafe for OAuthError
Blanket Implementations
Mutably borrows from an owned value. 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