download

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckBinary

func CheckBinary(ctx context.Context, conf Conf, name, os, arch, variant string) error

CheckBinary checks if binary exist and download it if needed

func GetBinaryFromArtifactory

func GetBinaryFromArtifactory(conf Conf, filename string) error

func Init

func Init(ctx context.Context, conf Conf) error

Types

type Conf

type Conf struct {
	Directory             string
	DownloadFromGitHub    bool
	ArtifactoryURL        string
	ArtifactoryPath       string
	ArtifactoryRepository string
	ArtifactoryToken      string
	SupportedOSArch       []string
	ForceDownloadGitHub   bool
}

Jump to

Keyboard shortcuts

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