config

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2022 License: MIT Imports: 15 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 (*Package) CompleteWindowsExt added in v1.12.0

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

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) 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
	MaxParallelism        int
	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