[−][src]Struct fluvio_helm::HelmClient
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,
namespace: &str,
name: &str,
chart: &str,
version: Option<&str>,
opts: &[(&str, &str)]
) -> Result<(), HelmError>
[src]
&self,
namespace: &str,
name: &str,
chart: &str,
version: Option<&str>,
opts: &[(&str, &str)]
) -> Result<(), HelmError>
Installs the given chart under the given name.
The opts
are passed to helm as --set
arguments.
pub fn uninstall(
&self,
name: &str,
namespace: &str,
ignore_not_found: bool
) -> Result<(), HelmError>
[src]
&self,
name: &str,
namespace: &str,
ignore_not_found: bool
) -> Result<(), HelmError>
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: &str
) -> Result<Vec<InstalledChart>, HelmError>
[src]
&self,
name: &str,
namespace: &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
[src]
impl Send for HelmClient
[src]
impl Sync for HelmClient
[src]
impl Unpin for HelmClient
[src]
impl UnwindSafe for HelmClient
[src]
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>,