Enum kube_client::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
MissingEnvironmentVariables
Required envionment variables were not set
ReadDefaultNamespace(Error)
Tuple Fields
0: ErrorFailed to read the default namespace for the service account
ReadToken(Error)
Tuple Fields
0: ErrorFailed to read the token for the service account
ReadCertificateBundle(Error)
Tuple Fields
0: ErrorFailed to read a certificate bundle
ParseClusterUrl(InvalidUri)
Tuple Fields
0: InvalidUriFailed to parse cluster url
ParseCertificates(PemError)
Tuple Fields
0: PemErrorFailed 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
