updatechecksum

package
v2.16.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: MIT Imports: 17 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 Controller

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

func New

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

func (*Controller) UpdateChecksum

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

type MockConfigFinder

type MockConfigFinder struct {
	Files []string
}

func (*MockConfigFinder) Finds

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

Jump to

Keyboard shortcuts

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