Documentation
¶
Index ¶
- func BootOf(ctx context.Context, cli client.Reader, app *v1alpha1.Application) (engine.BootApplication, error)
- func PreserveOf(app *v1alpha1.Application) []disk.PreservePackage
- func RegisterController(synced *sync.WaitGroup, runtime ctrlmanager.Manager, manager packageManager, ...) error
- func Restorable(app *v1alpha1.Application) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BootOf ¶ added in v1.78.0
func BootOf(ctx context.Context, cli client.Reader, app *v1alpha1.Application) (engine.BootApplication, error)
BootOf is what Boot restores of an installed application: its activated version with its settings checkpoint (status.lastAppliedConfiguration), from the repository in spec; one being deleted is restored to be uninstalled. An application with no activated version needs no repository: it restores nothing.
func PreserveOf ¶ added in v1.78.0
func PreserveOf(app *v1alpha1.Application) []disk.PreservePackage
PreserveOf is what DiskCleanup keeps of an installed application: the images of the version it asks for (Application.TargetVersion) and the one it runs (status), one entry each.
func RegisterController ¶
func RegisterController( synced *sync.WaitGroup, runtime ctrlmanager.Manager, manager packageManager, moduleManager moduleManager, deckhouseSettings deckhouseSettings, logger *log.Logger, ) error
RegisterController registers the Application controller with the manager.
func Restorable ¶ added in v1.78.0
func Restorable(app *v1alpha1.Application) bool
Restorable reports whether Boot gets app and DiskCleanup keeps its image: always, except one being deleted with no activated version (nothing to uninstall) or force-removed (its release is deleted by name).
Types ¶
This section is empty.