Documentation ¶
Index ¶
- Constants
- func GetMaxParallelism(envMaxParallelism string, logE *logrus.Entry) int
- func GetRootDir(osEnv osenv.OSEnv) string
- type FileNotFoundError
- type Package
- func (cpkg *Package) GetChecksumID(rt *runtime.Runtime) (string, error)
- func (cpkg *Package) GetChecksumIDFromAsset(asset string) (string, error)
- func (cpkg *Package) GetExePath(rootDir string, file *registry.File, rt *runtime.Runtime) (string, error)
- func (cpkg *Package) GetPkgPath(rootDir string, rt *runtime.Runtime) (string, error)
- func (cpkg *Package) GetTemplateArtifact(rt *runtime.Runtime, asset string) *template.Artifact
- func (cpkg *Package) RenameFile(logE *logrus.Entry, fs afero.Fs, pkgPath string, file *registry.File, ...) (string, error)
- func (cpkg *Package) RenderAsset(rt *runtime.Runtime) (string, error)
- func (cpkg *Package) RenderChecksumFileID(rt *runtime.Runtime) (string, error)
- func (cpkg *Package) RenderChecksumFileName(rt *runtime.Runtime) (string, error)
- func (cpkg *Package) RenderChecksumURL(rt *runtime.Runtime) (string, error)
- func (cpkg *Package) RenderCosign(cos *registry.Cosign, rt *runtime.Runtime) (*registry.Cosign, error)
- func (cpkg *Package) RenderDir(file *registry.File, rt *runtime.Runtime) (string, error)
- func (cpkg *Package) RenderPath() (string, error)
- func (cpkg *Package) RenderTemplateString(s string, rt *runtime.Runtime) (string, error)
- func (cpkg *Package) RenderURL(rt *runtime.Runtime) (string, error)
- type Param
Constants ¶
View Source
const ( PkgInfoTypeGitHubRelease = "github_release" PkgInfoTypeGitHubContent = "github_content" PkgInfoTypeGitHubArchive = "github_archive" PkgInfoTypeHTTP = "http" PkgInfoTypeGoInstall = "go_install" PkgInfoTypeGoBuild = "go_build" PkgInfoTypeCargo = "cargo" PkgInfoTypePypi = "pypi" )
Variables ¶
This section is empty.
Functions ¶
func GetRootDir ¶
Types ¶
type FileNotFoundError ¶ added in v2.4.0
type FileNotFoundError struct {
Err error
}
func (*FileNotFoundError) Error ¶ added in v2.4.0
func (errorFileNotFound *FileNotFoundError) Error() string
func (*FileNotFoundError) Unwrap ¶ added in v2.4.0
func (errorFileNotFound *FileNotFoundError) Unwrap() error
type Package ¶
type Package struct { Package *aqua.Package PackageInfo *registry.PackageInfo Registry *aqua.Registry }
func ListPackages ¶
func ListPackagesNotOverride ¶
func (*Package) GetChecksumID ¶
func (*Package) GetChecksumIDFromAsset ¶
func (*Package) GetExePath ¶ added in v2.9.0
func (*Package) GetPkgPath ¶
func (*Package) GetTemplateArtifact ¶
func (*Package) RenameFile ¶
func (*Package) RenderChecksumFileID ¶
func (*Package) RenderChecksumFileName ¶
func (*Package) RenderChecksumURL ¶
func (*Package) RenderCosign ¶
func (*Package) RenderPath ¶
func (*Package) RenderTemplateString ¶
type Param ¶
type Param struct { GlobalConfigFilePaths []string ConfigFilePath string LogLevel string File string AQUAVersion string AquaCommitHash 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{} DisableLazyInstall bool OnlyLink bool All bool Insert bool SelectVersion bool ProgressBar bool Deep bool SkipLink bool Pin bool Prune bool RequireChecksum bool DisablePolicy bool Detail bool PolicyConfigFilePaths []string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.