config

package
v1.38.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 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
	Registry    *aqua.Registry
}

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 ListPackagesNotOverride added in v1.19.3

func ListPackagesNotOverride(logE *logrus.Entry, cfg *aqua.Config, 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) GetTemplateArtifact added in v1.26.0

func (cpkg *Package) GetTemplateArtifact(rt *runtime.Runtime, asset string) *template.Artifact

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) RenderChecksumFileID added in v1.19.3

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

func (*Package) RenderChecksumFileName added in v1.18.0

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

func (*Package) RenderChecksumURL added in v1.19.3

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

func (*Package) RenderCosign added in v1.26.0

func (cpkg *Package) RenderCosign(cos *registry.Cosign, rt *runtime.Runtime) (*registry.Cosign, error)

func (*Package) RenderDir added in v1.10.0

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

func (*Package) RenderPath added in v1.27.0

func (cpkg *Package) RenderPath() (string, error)

func (*Package) RenderSrc added in v1.10.0

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

func (*Package) RenderTemplateString added in v1.26.0

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

func (*Package) RenderURL added in v1.10.0

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

func (*Package) SemVer added in v1.31.0

func (cpkg *Package) SemVer() string

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
	HomeDir               string
	OutTestData           string
	MaxParallelism        int
	Args                  []string
	Tags                  map[string]struct{}
	ExcludedTags          map[string]struct{}
	OnlyLink              bool
	IsTest                bool
	All                   bool
	Insert                bool
	SelectVersion         bool
	ProgressBar           bool
	Deep                  bool
	SkipLink              bool
	Pin                   bool
	Prune                 bool
	RequireChecksum       bool
	PolicyConfigFilePaths []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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