pub enum KubeError {
MissingServiceHost,
MissingServicePort,
InvalidServicePort,
InvalidServiceUri(Error),
UnableReadCert,
InvalidCert,
UnableReadNamespace,
UnableReadToken,
}Expand description
Possible errors reading kube config
Variants§
MissingServiceHost
Missing env variables KUBERNETES_SERVICE_HOST
MissingServicePort
Missing env variables KUBERNETES_SERVICE_PORT
InvalidServicePort
Service port is not valid port
InvalidServiceUri(Error)
Unable to construct valid URI out of host and port
UnableReadCert
Unable to read ca.crt
InvalidCert
ca.crt is not valid PEM file
UnableReadNamespace
namespace is not valid utf-8 file
UnableReadToken
token is not valid utf-8 file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KubeError
impl RefUnwindSafe for KubeError
impl Send for KubeError
impl Sync for KubeError
impl Unpin for KubeError
impl UnsafeUnpin for KubeError
impl UnwindSafe for KubeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more