dependencies

package
v0.29.10 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDownloadingModule  = errors.New("error downloading module")
	ErrDownloadTimeout    = errors.New("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

func NewCachingDownloader(client netx.Client, outDir, basePath, binPath string, gitProtocol git.Protocol) *Downloader

func NewDownloader

func NewDownloader(client netx.Client, basePath, binPath string, gitProtocol git.Protocol) *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 NewValidator(executor execx.Executor, binPath, furyctlPath string, autoConnect bool) *Validator

func (*Validator) Validate

func (v *Validator) Validate(res dist.DownloadResult) error

func (*Validator) ValidateBaseReqs

func (v *Validator) ValidateBaseReqs() error

Jump to

Keyboard shortcuts

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