pub fn from_config(config: LocalConfig) -> Self {
        Self {
            pb_factory: ProgressBarFactory::new(config.hide_spinner),
            config,
        }
    }
/// Creates a `LocalInstaller` with the given configuration options
///
/// # Example
///
/// ```
/// # use fluvio_cluster::{ClusterError, LocalInstaller, LocalConfig};
/// # fn example() -> Result<(), ClusterError> {
/// use semver::Version;
/// let config = LocalConfig::builder(Version::parse("0.7.0-alpha.1").unwrap()).build()?;
/// let installer = LocalInstaller::from_config(config);
/// # Ok(())
/// # }
/// ```
Creates a `LocalInstaller` with the given configuration options
Creates a ` LocalInstaller ` with the given configuration options
pub fn from_config(config: LocalConfig) -> Self {
        Self {
            pb_factory: ProgressBarFactory::new(config.hide_spinner),
            config,
        }
    }
pub fn from_config ( config : LocalConfig ) -> Self { Self { pb_factory : ProgressBarFactory :: new ( config . hide_spinner ) , config , } }
Creates a `LocalInstaller` with the given configuration options
Creates a ` LocalInstaller ` with the given configuration options
config
LocalConfig
config
LocalConfig
example
None
use fluvio_cluster::{clustererror, localinstaller, localconfig};
None
fn example() -> result<(), clustererror> {
use semver::Version;
let config = LocalConfig::builder(Version::parse("0.7.0-alpha.1").unwrap()).build()?;
let installer = LocalInstaller::from_config(config).
use semver :: Version ; let config = LocalConfig :: builder ( Version :: parse ( " 0 . 7 . 0 - alpha . 1 " ) . unwrap () ) . build () ? ; let installer = LocalInstaller :: from_config ( config ) .
ok(())
None
}
None