pub struct Uninstall {
pub releases: Vec<String>,
pub cascade: Option<Cascade>,
pub description: Option<String>,
pub dry_run: bool,
pub ignore_not_found: bool,
pub keep_history: bool,
pub no_hooks: bool,
pub timeout: Option<Duration>,
pub wait: Option<WaitStrategy>,
}Expand description
helm uninstall (pkg/cmd/uninstall.go): removes one or more releases. Helm prints one
release "name" uninstalled line per release (also for a missing one under
ignore_not_found, and for a dry run), which carries no more than success, so there is no
output. A release that does not exist is Error::ReleaseNotFound unless
ignore_not_found is set. Helm stops at the first failure; earlier releases stay uninstalled.
Fields§
§releases: Vec<String>The RELEASE_NAME arguments (Helm needs at least one).
cascade: Option<Cascade>Flag --cascade (Helm’s default is background).
description: Option<String>Flag --description: a custom description.
dry_run: boolFlag --dry-run: only simulate.
ignore_not_found: boolFlag --ignore-not-found: a missing release is a success.
keep_history: boolFlag --keep-history: mark the release uninstalled but keep its history.
no_hooks: boolFlag --no-hooks: skip hooks.
timeout: Option<Duration>Flag --timeout for any single Kubernetes operation (Helm’s default is five minutes).
wait: Option<WaitStrategy>Flag --wait (Helm’s default is hookOnly).
Implementations§
Trait Implementations§
impl Eq for Uninstall
impl StructuralPartialEq for Uninstall
Auto Trait Implementations§
impl Forget for Uninstall
impl Freeze for Uninstall
impl Move for Uninstall
impl RefUnwindSafe for Uninstall
impl Send for Uninstallwhere
RawVecInner: Send,
impl Sync for Uninstallwhere
RawVecInner: Sync,
impl Unpin for Uninstall
impl UnsafeUnpin for Uninstallwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Uninstallwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more