Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigFinder ¶
type ConfigReader ¶ added in v2.16.3
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 ¶
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
Click to show internal directories.
Click to hide internal directories.