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 + type Alias struct + Name string + type Cargo struct + AllFeatures bool + Features []string + type Checksum struct + Algorithm string + Asset string + Cosign *Cosign + Enabled *bool + FileFormat string + Pattern *ChecksumPattern + Replacements Replacements + Type string + URL string + func (chk *Checksum) GetAlgorithm() string + func (chk *Checksum) GetCosign() *Cosign + func (chk *Checksum) GetEnabled() bool + func (chk *Checksum) GetReplacements() Replacements + type ChecksumPattern struct + Checksum string + File string + type Config struct + PackageInfos PackageInfos + type Cosign struct + Certificate *DownloadedFile + CosignExperimental bool + Enabled *bool + Key *DownloadedFile + Opts []string + Signature *DownloadedFile + func (cos *Cosign) GetEnabled() bool + func (cos *Cosign) RenderOpts(rt *runtime.Runtime, art *template.Artifact) ([]string, error) + type DownloadedFile struct + Asset *string + RepoName string + RepoOwner string + Type string + URL *string + type File struct + Dir string + Name string + Src string + type FormatOverride struct + Format string + GOOS string + type FormatOverrides []*FormatOverride + func (o FormatOverrides) IsZero() bool + type Override struct + Asset *string + Cargo *Cargo + Checksum *Checksum + CompleteWindowsExt *bool + Cosign *Cosign + Crate *string + Files []*File + Format string + GOArch string + GOOS string + Replacements Replacements + SLSAProvenance *SLSAProvenance + Type string + URL *string + WindowsExt string + func (ov *Override) Match(rt *runtime.Runtime) bool + type Overrides []*Override + func (o Overrides) IsZero() bool + type PackageInfo struct + Aliases []*Alias + Asset *string + Cargo *Cargo + Checksum *Checksum + CompleteWindowsExt *bool + Cosign *Cosign + Crate *string + Description string + ErrorMessage string + Files []*File + Format string + FormatOverrides []*FormatOverride + Link string + Name string + NoAsset *bool + Overrides []*Override + Path *string + Private bool + Replacements Replacements + RepoName string + RepoOwner string + Rosetta2 *bool + SLSAProvenance *SLSAProvenance + SearchWords []string + SupportedEnvs SupportedEnvs + Type string + URL *string + VersionConstraints string + VersionFilter *string + VersionOverrides []*VersionOverride + VersionPrefix *string + VersionSource string + WindowsExt string + func (pkgInfo *PackageInfo) CheckSupported(rt *runtime.Runtime, env string) (bool, error) + func (pkgInfo *PackageInfo) CheckSupportedEnvs(goos, goarch, env string) bool + func (pkgInfo *PackageInfo) Copy() *PackageInfo + func (pkgInfo *PackageInfo) GetAsset() *string + func (pkgInfo *PackageInfo) GetChecksumReplacements() Replacements + func (pkgInfo *PackageInfo) GetDescription() string + func (pkgInfo *PackageInfo) GetFiles() []*File + func (pkgInfo *PackageInfo) GetFormat() string + func (pkgInfo *PackageInfo) GetLink() string + func (pkgInfo *PackageInfo) GetName() string + func (pkgInfo *PackageInfo) GetPath() string + func (pkgInfo *PackageInfo) GetReplacements() Replacements + func (pkgInfo *PackageInfo) GetRosetta2() bool + func (pkgInfo *PackageInfo) GetType() string + func (pkgInfo *PackageInfo) GetVersionPrefix() string + func (pkgInfo *PackageInfo) HasRepo() bool + func (pkgInfo *PackageInfo) IsNoAsset() bool + func (pkgInfo *PackageInfo) Override(logE *logrus.Entry, v string, rt *runtime.Runtime) (*PackageInfo, error) + func (pkgInfo *PackageInfo) OverrideByRuntime(rt *runtime.Runtime) + func (pkgInfo *PackageInfo) SLSASourceURI() string + func (pkgInfo *PackageInfo) SetVersion(logE *logrus.Entry, v string) (*PackageInfo, error) + func (pkgInfo *PackageInfo) Validate() error + type PackageInfos []*PackageInfo + func (pkgInfos *PackageInfos) ToMap(logE *logrus.Entry) map[string]*PackageInfo + type Replacements map[string]string + func (Replacements) JSONSchema() *jsonschema.Schema + func (r Replacements) IsZero() bool + type SLSAProvenance struct + Asset *string + Enabled *bool + RepoName string + RepoOwner string + SourceURI *string + Type string + URL *string + func (sp *SLSAProvenance) GetDownloadedFile() *DownloadedFile + func (sp *SLSAProvenance) GetEnabled() bool + func (sp *SLSAProvenance) GetSourceURI() string + func (sp *SLSAProvenance) ToDownloadedFile() *DownloadedFile + type SupportedEnvs []string + func (SupportedEnvs) JSONSchema() *jsonschema.Schema + type VersionOverride struct + Asset *string + Cargo *Cargo + Checksum *Checksum + CompleteWindowsExt *bool + Cosign *Cosign + Crate *string + ErrorMessage string + Files []*File + Format string + FormatOverrides FormatOverrides + NoAsset *bool + Overrides Overrides + Path *string + Replacements Replacements + RepoName string + RepoOwner string + Rosetta2 *bool + SLSAProvenance *SLSAProvenance + SupportedEnvs SupportedEnvs + Type string + URL *string + VersionConstraints string + VersionFilter *string + VersionPrefix *string + VersionSource string + WindowsExt string