Struct k8_config::KubeConfig [−][src]
pub struct KubeConfig { pub api_version: String, pub clusters: Vec<Cluster>, pub contexts: Vec<Context>, pub current_context: String, pub kind: String, pub users: Vec<User>, }
Fields
api_version: String
clusters: Vec<Cluster>
contexts: Vec<Context>
current_context: String
kind: String
users: Vec<User>
Implementations
read from default home directory
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for KubeConfig
impl Send for KubeConfig
impl Sync for KubeConfig
impl Unpin for KubeConfig
impl UnwindSafe for KubeConfig