pub struct KubeConfig { /* private fields */ }Expand description
Kubernetes API config
Implementations§
Source§impl KubeConfig
impl KubeConfig
Sourcepub fn in_cluster_env() -> Result<Self, KubeError>
pub fn in_cluster_env() -> Result<Self, KubeError>
Creates kubeconfig based on in-cluster environment
Returns None if environment is not valid or missing some environment variables
Auto Trait Implementations§
impl !Freeze for KubeConfig
impl RefUnwindSafe for KubeConfig
impl Send for KubeConfig
impl Sync for KubeConfig
impl Unpin for KubeConfig
impl UnsafeUnpin for KubeConfig
impl UnwindSafe for KubeConfig
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