config

package
v1.12.0-0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 13 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) CompleteWindowsExe

func (cpkg *Package) CompleteWindowsExe(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) 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)

type Param

type Param struct {
	ConfigFilePath        string
	LogLevel              string
	OnlyLink              bool
	IsTest                bool
	All                   bool
	Insert                bool
	File                  string
	GlobalConfigFilePaths []string
	AQUAVersion           string
	RootDir               string
	MaxParallelism        int
	PWD                   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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