Struct kube::config::KubeConfigOptions [−][src]
pub struct KubeConfigOptions {
pub context: Option<String>,
pub cluster: Option<String>,
pub user: Option<String>,
}
This is supported 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
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
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more