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