Struct kube_client::config::KubeConfigOptions
source · pub struct KubeConfigOptions {
pub context: Option<String>,
pub cluster: Option<String>,
pub user: Option<String>,
}
Expand description
KubeConfigOptions stores options used when loading kubeconfig file.
Fields§
§context: Option<String>
The named context to load
cluster: Option<String>
The cluster to load
user: Option<String>
The user to load
Trait Implementations§
source§impl Clone for KubeConfigOptions
impl Clone for KubeConfigOptions
source§fn clone(&self) -> KubeConfigOptions
fn clone(&self) -> KubeConfigOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for KubeConfigOptions
impl Default for KubeConfigOptions
source§fn default() -> KubeConfigOptions
fn default() -> KubeConfigOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KubeConfigOptions
impl RefUnwindSafe for KubeConfigOptions
impl Send for KubeConfigOptions
impl Sync for KubeConfigOptions
impl Unpin for KubeConfigOptions
impl UnwindSafe for KubeConfigOptions
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)