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 EnsureFinalizer ¶
func EnsureFinalizer(finalizer string) UpdateFunc
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 (*Updater) Apply ¶
func (u *Updater) Apply(ctx context.Context, obj *unstructured.Unstructured) error
func (*Updater) Update ¶
func (u *Updater) Update(fs ...UpdateFunc)
func (*Updater) UpdateStatus ¶
func (u *Updater) UpdateStatus(fs ...UpdateStatusFunc)
Click to show internal directories.
Click to hide internal directories.