config

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PkgInfoTypeGitHubRelease = "github_release"
	PkgInfoTypeGitHubContent = "github_content"
	PkgInfoTypeGitHubArchive = "github_archive"
	PkgInfoTypeHTTP          = "http"
	PkgInfoTypeGo            = "go"
	PkgInfoTypeGoInstall     = "go_install"
)

Variables

This section is empty.

Functions

func GetMaxParallelism added in v1.6.1

func GetMaxParallelism(envMaxParallelism string, logE *logrus.Entry) int

func GetRootDir added in v1.6.1

func GetRootDir(osEnv osenv.OSEnv) string

Types

type Package

type Package struct {
	Package     *aqua.Package
	PackageInfo *registry.PackageInfo
}

func ListPackages added in v1.18.0

func ListPackages(logE *logrus.Entry, cfg *aqua.Config, rt *runtime.Runtime, registries map[string]*registry.Config) ([]*Package, bool)

func (*Package) CompleteWindowsExt added in v1.12.0

func (cpkg *Package) CompleteWindowsExt(s string) string

func (*Package) GetChecksumID added in v1.18.0

func (cpkg *Package) GetChecksumID(rt *runtime.Runtime) (string, error)

func (*Package) GetChecksumIDFromAsset added in v1.18.0

func (cpkg *Package) GetChecksumIDFromAsset(asset string) (string, error)

func (*Package) GetFileSrc added in v1.10.0

func (cpkg *Package) GetFileSrc(file *registry.File, rt *runtime.Runtime) (string, error)

func (*Package) GetPkgPath added in v1.10.0

func (cpkg *Package) GetPkgPath(rootDir string, rt *runtime.Runtime) (string, error)

func (*Package) RenameFile added in v1.12.0

func (cpkg *Package) RenameFile(logE *logrus.Entry, fs afero.Fs, pkgPath string, file *registry.File, rt *runtime.Runtime) (string, error)

func (*Package) RenderAsset added in v1.10.0

func (cpkg *Package) RenderAsset(rt *runtime.Runtime) (string, error)

func (*Package) RenderChecksumFileName added in v1.18.0

func (cpkg *Package) RenderChecksumFileName(rt *runtime.Runtime) (string, error)

func (*Package) RenderDir added in v1.10.0

func (cpkg *Package) RenderDir(file *registry.File, rt *runtime.Runtime) (string, error)

func (*Package) RenderSrc added in v1.10.0

func (cpkg *Package) RenderSrc(file *registry.File, rt *runtime.Runtime) (string, error)

func (*Package) RenderURL added in v1.10.0

func (cpkg *Package) RenderURL(rt *runtime.Runtime) (string, error)

func (*Package) WindowsExt added in v1.12.0

func (cpkg *Package) WindowsExt() string

type Param

type Param struct {
	GlobalConfigFilePaths []string
	ConfigFilePath        string
	LogLevel              string
	File                  string
	AQUAVersion           string
	RootDir               string
	PWD                   string
	InsertFile            string
	LogColor              string
	Dest                  string
	MaxParallelism        int
	Args                  []string
	OnlyLink              bool
	IsTest                bool
	All                   bool
	Insert                bool
	SelectVersion         bool
	ProgressBar           bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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