Documentation ¶
Index ¶
- Constants
- func GetMaxParallelism(envMaxParallelism string, logE *logrus.Entry) int
- func GetRootDir(osEnv osenv.OSEnv) string
- type FileNotFoundError
- type Package
- func (p *Package) ChecksumID(rt *runtime.Runtime) (string, error)
- func (p *Package) ChecksumIDFromAsset(asset string) (string, error)
- func (p *Package) ExePath(rootDir string, file *registry.File, rt *runtime.Runtime) (string, error)
- func (p *Package) PkgPath(rootDir string, rt *runtime.Runtime) (string, error)
- func (p *Package) RenameFile(logE *logrus.Entry, fs afero.Fs, pkgPath string, file *registry.File, ...) (string, error)
- func (p *Package) RenderAsset(rt *runtime.Runtime) (string, error)
- func (p *Package) RenderChecksumFileID(rt *runtime.Runtime) (string, error)
- func (p *Package) RenderChecksumFileName(rt *runtime.Runtime) (string, error)
- func (p *Package) RenderChecksumURL(rt *runtime.Runtime) (string, error)
- func (p *Package) RenderCosign(cos *registry.Cosign, rt *runtime.Runtime) (*registry.Cosign, error)
- func (p *Package) RenderDir(file *registry.File, rt *runtime.Runtime) (string, error)
- func (p *Package) RenderPath() (string, error)
- func (p *Package) RenderTemplateString(s string, rt *runtime.Runtime) (string, error)
- func (p *Package) RenderURL(rt *runtime.Runtime) (string, error)
- func (p *Package) TemplateArtifact(rt *runtime.Runtime, asset string) *template.Artifact
- 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" )
View Source
const ( // DefaultVerCnt is the default value for // --limit/-l flag in command generate, update DefaultVerCnt int = 30 )
Exported constant
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 (e *FileNotFoundError) Error() string
func (*FileNotFoundError) Unwrap ¶ added in v2.4.0
func (e *FileNotFoundError) Unwrap() error
type Package ¶
type Package struct { Package *aqua.Package PackageInfo *registry.PackageInfo Registry *aqua.Registry }
func ListPackages ¶
func ListPackagesNotOverride ¶
func (*Package) ChecksumID ¶ added in v2.11.0
func (*Package) ChecksumIDFromAsset ¶ added in v2.11.0
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 Limit int 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 OnlyPackage bool OnlyRegistry bool PolicyConfigFilePaths []string Commands []string }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.