Help us shape the future of Go! Take the 2026 Go Developer Survey

updater

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateFunc

type UpdateFunc func(*unstructured.Unstructured) bool

func RemoveFinalizer

func RemoveFinalizer(finalizer string) UpdateFunc

type UpdateStatusFunc

type UpdateStatusFunc func(*helmAppStatus) bool

func EnsureCondition

func EnsureCondition(condition status.Condition) UpdateStatusFunc

func EnsureConditionUnknown

func EnsureConditionUnknown(t status.ConditionType) UpdateStatusFunc

func EnsureDeployedRelease

func EnsureDeployedRelease(rel *release.Release) UpdateStatusFunc

func RemoveDeployedRelease

func RemoveDeployedRelease() UpdateStatusFunc

type Updater

type Updater struct {
	// contains filtered or unexported fields
}

func New

func New(client client.Client) Updater

func (*Updater) Apply

func (u *Updater) Apply(ctx context.Context, obj *unstructured.Unstructured) error

func (*Updater) CancelUpdates added in v0.1.0

func (u *Updater) CancelUpdates()

func (*Updater) Update

func (u *Updater) Update(fs ...UpdateFunc)

func (*Updater) UpdateStatus

func (u *Updater) UpdateStatus(fs ...UpdateStatusFunc)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL