Documentation
¶
Index ¶
- type Installer
- func (i *Installer) Download(ctx context.Context, source *v1alpha1.ModuleSource, moduleName, version string) (string, error)
- func (i *Installer) GetDownloaded() (map[string]struct{}, error)
- func (i *Installer) GetImageDigest(ctx context.Context, source *v1alpha1.ModuleSource, moduleName, version string) (string, error)
- func (i *Installer) Install(ctx context.Context, module, version, tempModulePath string) error
- func (i *Installer) Restore(ctx context.Context, ms *v1alpha1.ModuleSource, module, version string) error
- func (i *Installer) SetClusterUUID(id string)
- func (i *Installer) Uninstall(ctx context.Context, module string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
func (*Installer) GetDownloaded ¶
GetDownloaded gets all downloaded modules from downloaded dir
func (*Installer) GetImageDigest ¶
func (*Installer) Restore ¶
func (i *Installer) Restore(ctx context.Context, ms *v1alpha1.ModuleSource, module, version string) error
Restore ensures the module image is present, verified, and mounted.
func (*Installer) SetClusterUUID ¶
Click to show internal directories.
Click to hide internal directories.