Enum kube_client::config::InClusterError
source · [−]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)
Failed to read the default namespace for the service account
ReadToken(Error)
Failed to read the token for the service account
ReadCertificateBundle(Error)
Failed to read a certificate bundle
ParseClusterUrl(InvalidUri)
Failed to parse cluster url
ParseCertificates(PemError)
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