update

package
v1.78.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Updater

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

Updater keeps status.update of an application: the update plan and the version the automatic update installs next.

func NewUpdater

func NewUpdater(cli client.Client) *Updater

NewUpdater returns an Updater; the application controller runs it first on every reconcile.

func (*Updater) Update

func (u *Updater) Update(ctx context.Context, app *v1alpha1.Application) error

Update patches status.update of the application; a not yet installed application clears it, except the notified mark, which only the status service writes. The plan is the whole path after automaticVersion in every mode, so it shows where the application may go next; automaticVersion is empty in Manual mode.

Jump to

Keyboard shortcuts

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