pub async fn load_kube_config_with(options: ConfigOptions) -> Result<Configuration> {
    let result = create_client_builder(options).await?;
    Ok(Configuration::new(
        result.1.cluster.server,
        result.0.build()
            .map_err(|e| Error::KubeConfig(format!("Unable to build client: {}", e)))?,
    ))
}
/// Returns a config which includes authentication and cluster information from kubeconfig file.
Returns a config which includes authentication and cluster information from kubeconfig file.
Returns a config which includes authentication and cluster information from kubeconfig file .
pub async fn load_kube_config_with(options: ConfigOptions) -> Result<Configuration> {
    let result = create_client_builder(options).await?;
    Ok(Configuration::new(
        result.1.cluster.server,
        result.0.build()
            .map_err(|e| Error::KubeConfig(format!("Unable to build client: {}", e)))?,
    ))
}
pub async fn load_kube_config_with ( options : ConfigOptions ) -> Result < Configuration > { let result = create_client_builder ( options ) . await ? ; Ok ( Configuration :: new ( result . 1 . cluster . server , result . 0 . build ( ) . map_err ( | e | Error :: KubeConfig ( format ! ( " " e ) ) ) ? , ) ) }
Returns a config which includes authentication and cluster information from kubeconfig file.
Returns a config which includes authentication and cluster information from kubeconfig file .
options
ConfigOptions