artifact

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MIN_ARTIFACT_ARTIFAC = errors.MIN_PKG_Artifact + 10
	MIN_ARTIFACT_GITLAB  = errors.MIN_PKG_Artifact + 20
	MIN_ARTIFACT_GITHUB  = errors.MIN_PKG_Artifact + 40
	MIN_ARTIFACT_JFORG   = errors.MIN_PKG_Artifact + 60
	MIN_ARTIFACT_S3AWS   = errors.MIN_PKG_Artifact + 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