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§
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 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