Documentation ¶
Index ¶
- Constants
- func DownloadAnalyzerManagerIfNeeded() error
- func DownloadDependency(artDetails *config.ServerDetails, downloadPath, targetPath string, ...) (err error)
- func DownloadExtractor(targetPath, downloadPath string) error
- func GetExtractorsRemoteDetails(downloadPath string) (server *config.ServerDetails, remoteRepo string, err error)
Constants ¶
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 ¶
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.