Struct k8s_cluster_api::v1beta1::bootstrap::kubeadm::Discovery [−][src]
pub struct Discovery {
pub bootstrap_token: Option<BootstrapTokenDiscovery>,
pub file: Option<FileDiscovery>,
pub tls_bootstrap_token: Option<String>,
pub timeout: Option<i64>,
}
Expand description
Discovery specifies the options for the kubelet to use during the TLS Bootstrap process.
Fields
bootstrap_token: Option<BootstrapTokenDiscovery>
BootstrapToken is used to set the options for bootstrap token based discovery BootstrapToken and File are mutually exclusive
file: Option<FileDiscovery>
File is used to specify a file or URL to a kubeconfig file from which to load cluster information BootstrapToken and File are mutually exclusive
tls_bootstrap_token: Option<String>
TLSBootstrapToken is a token used for TLS bootstrapping. If .BootstrapToken is set, this field is defaulted to .BootstrapToken.Token, but can be overridden. If .File is set, this field must be set in case the KubeConfigFile does not contain any other authentication information
timeout: Option<i64>
Timeout modifies the discovery timeout
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 Discovery
impl UnwindSafe for Discovery
Blanket Implementations
Mutably borrows from an owned value. 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