Documentation ¶
Index ¶
- Variables
- type Downloader
- func (dd *Downloader) DownloadAll(kfd config.KFD) ([]error, []string)
- func (dd *Downloader) DownloadInstallers(installers config.KFDKubernetes, gitPrefix string) error
- func (dd *Downloader) DownloadModules(kfd config.KFD, gitPrefix string) error
- func (dd *Downloader) DownloadTools(kfd config.KFD) ([]string, error)
- type Validator
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrDownloadingModule = errors.New("error downloading module") ErrDownloadTimeout = fmt.Errorf("timeout while downloading") ErrModuleHasNoVersion = errors.New("module has no version") ErrModuleHasNoName = errors.New("module has no name") ErrModuleNotFound = errors.New("module not found") )
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct {
// contains filtered or unexported fields
}
func NewCachingDownloader ¶ added in v0.27.3
func NewDownloader ¶
func (*Downloader) DownloadAll ¶
func (dd *Downloader) DownloadAll(kfd config.KFD) ([]error, []string)
func (*Downloader) DownloadInstallers ¶
func (dd *Downloader) DownloadInstallers(installers config.KFDKubernetes, gitPrefix string) error
func (*Downloader) DownloadModules ¶
func (dd *Downloader) DownloadModules(kfd config.KFD, gitPrefix string) error
func (*Downloader) DownloadTools ¶
func (dd *Downloader) DownloadTools(kfd config.KFD) ([]string, error)
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func (*Validator) Validate ¶
func (v *Validator) Validate(res distribution.DownloadResult) error
func (*Validator) ValidateBaseReqs ¶
Click to show internal directories.
Click to hide internal directories.