artifact

package
v1.9.16 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MIN_ARTIFACT_ARTIFAC = errors.MinPkgArtifact + 10
	MIN_ARTIFACT_GITLAB  = errors.MinPkgArtifact + 20
	MIN_ARTIFACT_GITHUB  = errors.MinPkgArtifact + 40
	MIN_ARTIFACT_JFORG   = errors.MinPkgArtifact + 60
	MIN_ARTIFACT_S3AWS   = errors.MinPkgArtifact + 80
)

Variables

This section is empty.

Functions

func CheckRegex

func CheckRegex(name, regex string) bool

func DownloadRelease

func DownloadRelease(link string) (file os.File, err errors.Error)

func ValidatePreRelease

func ValidatePreRelease(version *version.Version) bool

Types

type Client

type Client interface {
	client.ArtifactManagement

	ListReleases() (releases version.Collection, err errors.Error)
	GetArtifact(containName string, regexName string, release *version.Version) (link string, err errors.Error)
	Download(dst ioutils.FileProgress, containName string, regexName string, release *version.Version) errors.Error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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