Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterController ¶
Types ¶
type Installer ¶ added in v1.78.0
type Installer interface {
GetImageDigest(ctx context.Context, source *v1alpha1.ModuleSource, moduleName, version string) (string, error)
Download(ctx context.Context, source *v1alpha1.ModuleSource, moduleName, version string) (string, error)
Install(ctx context.Context, module, version, tempModulePath string) error
Uninstall(ctx context.Context, module string) error
}
Installer is the subset of the module installer the override controller needs to resolve a tag digest and (re)deploy a module. Depending on this narrow interface (instead of the concrete loader) keeps the deploy path mockable in tests.