Struct kube_client::config::KubeConfigOptions
source · [−]pub struct KubeConfigOptions {
pub context: Option<String>,
pub cluster: Option<String>,
pub user: Option<String>,
}
Available on crate feature
config
only.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
sourceimpl Clone for KubeConfigOptions
impl Clone for KubeConfigOptions
sourcefn clone(&self) -> KubeConfigOptions
fn clone(&self) -> KubeConfigOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for KubeConfigOptions
impl Default for KubeConfigOptions
sourcefn default() -> KubeConfigOptions
fn default() -> KubeConfigOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for KubeConfigOptions
impl Send for KubeConfigOptions
impl Sync for KubeConfigOptions
impl Unpin for KubeConfigOptions
impl UnwindSafe for KubeConfigOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more