artifact

package
v1.13.8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinArtifactGitlab = subUp + liberr.MinPkgArtifact
	MinArtifactGithub = subUp + MinArtifactGitlab
	MinArtifactJfrog  = subUp + MinArtifactGithub
	MinArtifactS3AWS  = subUp + MinArtifactJfrog
)

Variables

This section is empty.

Functions

func CheckRegex

func CheckRegex(name, regex string) bool

func DownloadRelease

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

func ValidatePreRelease

func ValidatePreRelease(version *hscvrs.Version) bool

Types

type Client

type Client interface {
	artcli.ArtifactManagement

	ListReleases() (releases hscvrs.Collection, err error)
	GetArtifact(containName string, regexName string, release *hscvrs.Version) (link string, err error)
	Download(dst libfpg.Progress, containName string, regexName string, release *hscvrs.Version) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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