Struct kube::config::ExecConfig [−][src]
pub struct ExecConfig { pub api_version: Option<String>, pub command: String, pub args: Option<Vec<String>>, pub env: Option<Vec<HashMap<String, String>>>, }
This is supported on crate feature
config
only.Expand description
ExecConfig stores credential-plugin configuration.
Fields
api_version: Option<String>
Preferred input version of the ExecInfo.
The returned ExecCredentials MUST use the same encoding version as the input.
command: String
Command to execute.
args: Option<Vec<String>>
Arguments to pass to the command when executing it.
env: Option<Vec<HashMap<String, String>>>
Env defines additional environment variables to expose to the process.
TODO: These are unioned with the host’s environment, as well as variables client-go uses to pass argument to the plugin.
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 ExecConfig
impl Send for ExecConfig
impl Sync for ExecConfig
impl Unpin for ExecConfig
impl UnwindSafe for ExecConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self