Struct fluvio_cluster::SysInstaller[][src]

pub struct SysInstaller { /* fields omitted */ }

Installs or upgrades the Fluvio system charts

Example

let config = SysConfig::builder("0.7.0-alpha.1")
    .namespace("fluvio")
    .chart_version("0.7.0-alpha.1")
    .build()?;
let installer = SysInstaller::from_config(config)?;
installer.install()?;

Implementations

impl SysInstaller[src]

pub fn from_config(config: SysConfig) -> Result<Self, SysInstallError>[src]

Create a new SysInstaller using the given config

pub fn install(&self) -> Result<(), SysInstallError>[src]

Install the Fluvio System chart on the configured cluster

pub fn upgrade(&self) -> Result<(), SysInstallError>[src]

Upgrade the Fluvio System chart on the configured cluster

pub fn is_installed(&self) -> Result<bool, SysInstallError>[src]

Tells whether a system chart with the configured details is already installed

Trait Implementations

impl Debug for SysInstaller[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]