dependencies

package
v0.27.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GithubSSHRepoPrefix   = "git@github.com:sighupio"
	GithubHTTPSRepoPrefix = "https://github.com/sighupio"
)

Variables

View Source
var (
	ErrDownloadingModule  = errors.New("error downloading module")
	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 {
	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 NewValidator(executor execx.Executor, binPath, furyctlPath string, autoConnect bool) *Validator

func (*Validator) Validate

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

func (*Validator) ValidateBaseReqs

func (v *Validator) ValidateBaseReqs() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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