Versions in this module Expand all Collapse all v2 v2.10.1 Aug 18, 2023 v2.9.0 Aug 18, 2023 Changes in this version + const PkgInfoTypeCargo + const PkgInfoTypeGitHubArchive + const PkgInfoTypeGitHubContent + const PkgInfoTypeGitHubRelease + const PkgInfoTypeGoBuild + const PkgInfoTypeGoInstall + const PkgInfoTypeHTTP + func GetMaxParallelism(envMaxParallelism string, logE *logrus.Entry) int + func GetRootDir(osEnv osenv.OSEnv) string + type FileNotFoundError struct + Err error + func (errorFileNotFound *FileNotFoundError) Error() string + func (errorFileNotFound *FileNotFoundError) Unwrap() error + type Package struct + Package *khulnasoft.Package + PackageInfo *registry.PackageInfo + Registry *khulnasoft.Registry + func ListPackages(logE *logrus.Entry, cfg *khulnasoft.Config, rt *runtime.Runtime, ...) ([]*Package, bool) + func ListPackagesNotOverride(logE *logrus.Entry, cfg *khulnasoft.Config, ...) ([]*Package, bool) + 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 struct + All bool + Args []string + ConfigFilePath string + Deep bool + Dest string + Detail bool + DisableLazyInstall bool + DisablePolicy bool + ExcludedTags map[string]struct{} + File string + GlobalConfigFilePaths []string + HomeDir string + Insert bool + InsertFile string + KHULNASOFTVersion string + KhulnasoftCommitHash string + LogColor string + LogLevel string + MaxParallelism int + OnlyLink bool + OutTestData string + PWD string + Pin bool + PolicyConfigFilePaths []string + ProgressBar bool + Prune bool + RequireChecksum bool + RootDir string + SelectVersion bool + SkipLink bool + Tags map[string]struct{}