Documentation ¶
Index ¶
- Constants
- 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 ¶
View Source
const ( GithubSSHRepoPrefix = "git@github.com:sighupio" GithubHTTPSRepoPrefix = "https://github.com/sighupio" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
type Downloader struct { HTTPS bool // contains filtered or unexported fields }
func NewDownloader ¶
func NewDownloader(client netx.Client, basePath, binPath string, https bool) *Downloader
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.