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 ¶
NewUpdater returns an Updater; the application controller runs it first on every reconcile.
func (*Updater) Update ¶
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.