dependencies

package
v2.47.10 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ChecksumFileName = "checksum.sha2"
)

Variables

This section is empty.

Functions

func DownloadAnalyzerManagerIfNeeded

func DownloadAnalyzerManagerIfNeeded() error

Download the latest AnalyzerManager executable if not cached locally. By default, the zip is downloaded directly from jfrog releases.

func DownloadDependency

func DownloadDependency(artDetails *config.ServerDetails, downloadPath, targetPath string, shouldExplode bool) (err error)

Downloads the requested resource.

artDetails: The artifactory server details to download the resource from. downloadPath: Artifactory download path. targetPath: The local download path (without the file name).

func DownloadExtractor

func DownloadExtractor(targetPath, downloadPath string) error

Download the relevant build-info-extractor jar. By default, the jar is downloaded directly from jfrog releases.

targetPath: The local download path (without the file name). downloadPath: Artifactory download path.

func GetExtractorsRemoteDetails

func GetExtractorsRemoteDetails(downloadPath string) (server *config.ServerDetails, remoteRepo string, err error)

GetExtractorsRemoteDetails retrieves the server details necessary to download the build-info extractors from a remote repository. downloadPath - specifies the path in the remote repository from which the extractors will be downloaded.

Types

This section is empty.

Jump to

Keyboard shortcuts

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