pub struct Rollback {
pub release: String,
pub revision: Option<Revision>,
pub cleanup_on_fail: bool,
pub description: Option<String>,
pub dry_run: Option<DryRun>,
pub force: Option<Force>,
pub history_max: Option<u32>,
pub no_hooks: bool,
pub server_side: Option<ServerSide>,
pub timeout: Option<Duration>,
pub wait: Option<WaitStrategy>,
pub wait_for_jobs: bool,
}Expand description
helm rollback (pkg/cmd/rollback.go): rolls a release back to an earlier revision. Helm
prints only a success line, so there is no output; read the result with
Status.
Fields§
§release: StringThe RELEASE argument.
revision: Option<Revision>The REVISION argument; without it (or with revision 0) Helm rolls back to the previous
revision.
cleanup_on_fail: boolFlag --cleanup-on-fail: delete the resources this rollback created if it fails.
description: Option<String>Flag --description: a custom description of at most 256 characters (Helm checks).
dry_run: Option<DryRun>Flag --dry-run.
force: Option<Force>Flags --force-replace and --force-conflicts.
history_max: Option<u32>Flag --history-max: how many revisions to keep; 0 keeps all (Helm’s default is 10).
no_hooks: boolFlag --no-hooks: skip hooks.
server_side: Option<ServerSide>Flag --server-side (Helm’s default is auto).
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).
wait_for_jobs: boolFlag --wait-for-jobs: with a wait, also wait for Jobs to complete.
Implementations§
Trait Implementations§
impl Eq for Rollback
impl StructuralPartialEq for Rollback
Auto Trait Implementations§
impl Forget for Rollback
impl Freeze for Rollback
impl Move for Rollback
impl RefUnwindSafe for Rollback
impl Send for Rollbackwhere
RawVecInner: Send,
impl Sync for Rollbackwhere
RawVecInner: Sync,
impl Unpin for Rollback
impl UnsafeUnpin for Rollback
impl UnwindSafe for Rollbackwhere
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