Struct k8s_sync::config::KubeConfig [−][src]
pub struct KubeConfig {
pub kind: Option<String>,
pub api_version: Option<String>,
pub preferences: Option<Preferences>,
pub clusters: Vec<NamedCluster>,
pub auth_infos: Vec<NamedAuthInfo>,
pub contexts: Vec<NamedContext>,
pub current_context: String,
pub extensions: Option<Vec<NamedExtension>>,
}Fields
kind: Option<String>api_version: Option<String>preferences: Option<Preferences>clusters: Vec<NamedCluster>auth_infos: Vec<NamedAuthInfo>contexts: Vec<NamedContext>current_context: Stringextensions: Option<Vec<NamedExtension>>Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for KubeConfig
impl Send for KubeConfig
impl Sync for KubeConfig
impl Unpin for KubeConfig
impl UnwindSafe for KubeConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. 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
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