initialize

package
v2.43.0-0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigFinder

type ConfigFinder interface {
	Finds(wd, configFilePath string) []string
}

type ConfigReader

type ConfigReader interface {
	Read(logE *logrus.Entry, configFilePath string, cfg *aqua.Config) error
}

type Controller

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

func New

func New(param *config.Param, rt *runtime.Runtime, fs afero.Fs, vc Vacuum, configFinder ConfigFinder, configReader ConfigReader, registryInstaller RegistryInstaller) *Controller

func (*Controller) Init

func (c *Controller) Init(ctx context.Context, logE *logrus.Entry, param *config.Param) error

type RegistryInstaller

type RegistryInstaller interface {
	InstallRegistries(ctx context.Context, logE *logrus.Entry, cfg *aqua.Config, cfgFilePath string, checksums *checksum.Checksums) (map[string]*registry.Config, error)
}

type Vacuum

type Vacuum interface {
	Create(pkgPath string, timestamp time.Time) error
}

Jump to

Keyboard shortcuts

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