updatechecksum

package
v2.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 16 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 added in v2.16.3

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

type Controller

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

func New

func New(param *config.Param, configFinder ConfigFinder, configReader ConfigReader, registInstaller RegistryInstaller, fs afero.Fs, rt *runtime.Runtime, chkDL download.ChecksumDownloader, pkgDownloader download.ClientAPI, registDownloader GitHubContentFileDownloader) *Controller

func (*Controller) UpdateChecksum

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

type GitHubContentFileDownloader added in v2.16.3

type GitHubContentFileDownloader interface {
	DownloadGitHubContentFile(ctx context.Context, logE *logrus.Entry, param *domain.GitHubContentFileParam) (*domain.GitHubContentFile, error)
}

type MockConfigFinder

type MockConfigFinder struct {
	Files []string
}

func (*MockConfigFinder) Finds

func (f *MockConfigFinder) Finds(wd, configFilePath string) []string

type RegistryInstaller added in v2.16.3

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

Jump to

Keyboard shortcuts

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