Enum kube::client::AuthError [−][src]
pub enum AuthError {
InvalidBasicAuth(InvalidHeaderValue),
InvalidBearerToken(InvalidHeaderValue),
UnrefreshableTokenResponse,
ExecPluginFailed,
MalformedTokenExpirationDate(ParseError),
AuthExecStart(Error),
AuthExecRun {
cmd: String,
status: ExitStatus,
out: Output,
},
AuthExecParse(Error),
AuthExec(String),
ReadTokenFile(Error, PathBuf),
ParseTokenKey(Error),
OAuth(Error),
}
This is supported on crate feature
client
only.Expand description
Client auth errors
Variants
InvalidBasicAuth(InvalidHeaderValue)
Invalid basic auth
Tuple Fields of InvalidBasicAuth
InvalidBearerToken(InvalidHeaderValue)
Invalid bearer token
Tuple Fields of InvalidBearerToken
Tried to refresh a token and got a non-refreshable token response
Exec plugin response did not contain a status
MalformedTokenExpirationDate(ParseError)
Malformed token expiration date
Tuple Fields of MalformedTokenExpirationDate
0: ParseError
AuthExecStart(Error)
Failed to start auth exec
Tuple Fields of AuthExecStart
0: Error
Failed to run auth exec command
Fields of AuthExecRun
AuthExecParse(Error)
Failed to parse auth exec output
Tuple Fields of AuthExecParse
0: Error
AuthExec(String)
Failed to exec auth
Tuple Fields of AuthExec
0: String
Failed to read token file
ParseTokenKey(Error)
Failed to parse token-key
Tuple Fields of ParseTokenKey
0: Error
OAuth(Error)
OAuth error
Tuple Fields of OAuth
0: Error
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
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