constants

package
v0.0.0-...-2f1ad5f Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TarMethod indicates that the artifact is in TAR archive format
	TarMethod = "tar"

	// GunzipCompression indicates that the artifact is compressed with gunzip
	GunzipCompression = "gz"
)
View Source
const (
	// ReadyStatus indicates that all actions on a resource are resolved
	ReadyStatus = "ready"

	// FailedStatus indicates that some actions on a resource have failed and it can't be automatically recovered
	FailedStatus = "failed"

	// ProcessingStatus indicates that some actions are currently underway on a resource and have not yet resolved
	ProcessingStatus = "processing"
)
View Source
const (
	// Releases indicates that tags which have an associated release are valid for app installation and upgrade
	Releases = "releases"

	// PreReleases indicates that tags which are marked as pre-release are valid for app installation and upgrade
	PreReleases = "pre-releases"

	// Tags indicates that tags without releases associated with them are valid for app installation and upgrade
	Tags = "tags"
)

Variables

View Source
var (
	// DefaultPackageRepository indicates the URL of the default repository used to fetch packages
	DefaultPackageRepository = "https://packages.git-pkg.dev"

	// DefaultContentType is the mime type expected for downloaded artifacts
	DefaultContentType = "application/octet-stream"

	// DefaultBaseDir is the default directory where packages will be installed and maintained
	DefaultBaseDir = ".local/git-pkg"

	// LatestVersion can be provided as the desired package version when you just want the latest release/prerelease/tag
	LatestVersion = semver.MustParse("0.0.0")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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