Struct fluvio_helm::HelmClient [−][src]
Client to manage helm operations
Implementations
impl HelmClient
[src]
pub fn new() -> Result<Self, HelmError>
[src]
Creates a Rust client to manage our helm needs.
This only succeeds if the helm command can be found.
pub fn install(&self, args: &InstallArg) -> Result<(), HelmError>
[src]
Installs the given chart under the given name.
pub fn upgrade(&self, args: &InstallArg) -> Result<(), HelmError>
[src]
Upgrades the given chart
pub fn uninstall(&self, uninstall: UninstallArg) -> Result<(), HelmError>
[src]
Uninstalls specified chart library
pub fn repo_add(&self, chart: &str, location: &str) -> Result<(), HelmError>
[src]
Adds a new helm repo with the given chart name and chart location
pub fn repo_update(&self) -> Result<(), HelmError>
[src]
Updates the local helm repository
pub fn search_repo(
&self,
chart: &str,
version: &str
) -> Result<Vec<Chart>, HelmError>
[src]
&self,
chart: &str,
version: &str
) -> Result<Vec<Chart>, HelmError>
Searches the repo for the named helm chart
pub fn versions(&self, chart: &str) -> Result<Vec<Chart>, HelmError>
[src]
Get all the available versions
pub fn chart_version_exists(
&self,
name: &str,
version: &str
) -> Result<bool, HelmError>
[src]
&self,
name: &str,
version: &str
) -> Result<bool, HelmError>
Checks that a given version of a given chart exists in the repo.
pub fn get_installed_chart_by_name(
&self,
name: &str,
namespace: Option<&str>
) -> Result<Vec<InstalledChart>, HelmError>
[src]
&self,
name: &str,
namespace: Option<&str>
) -> Result<Vec<InstalledChart>, HelmError>
Returns the list of installed charts by name
pub fn get_helm_version(&self) -> Result<String, HelmError>
[src]
get helm package version
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HelmClient
impl Send for HelmClient
impl Sync for HelmClient
impl Unpin for HelmClient
impl UnwindSafe for HelmClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,