Enum kube::config::InClusterError [−][src]
pub enum InClusterError {
MissingEnvironmentVariables,
ReadDefaultNamespace(Error),
ReadToken(Error),
ReadCertificateBundle(Error),
ParseClusterUrl(InvalidUri),
ParseCertificates(PemError),
}
This is supported on crate feature
config
only.Expand description
Errors from loading in-cluster config
Variants
Required envionment variables were not set
ReadDefaultNamespace(Error)
Failed to read the default namespace for the service account
Tuple Fields of ReadDefaultNamespace
0: Error
ReadToken(Error)
Failed to read the token for the service account
Tuple Fields of ReadToken
0: Error
ReadCertificateBundle(Error)
Failed to read a certificate bundle
Tuple Fields of ReadCertificateBundle
0: Error
ParseClusterUrl(InvalidUri)
Failed to parse cluster url
Tuple Fields of ParseClusterUrl
0: InvalidUri
Failed to parse PEM-encoded certificates
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