Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtendedVersionPattern = regexp.MustCompile(`^v?([\d]+)\.?([\d]+)?\.?([\d]+)?[-+.]?(.*)$`)
Functions ¶
func NormalizeVersion ¶
func SHA256FromURI ¶
func SHA256FromURI(uri string, mods ...RequestModifierFunc) (string, error)
Types ¶
type Outputs ¶
func NewOutputs ¶
func NewOutputs(uri string, latestVersion *semver.Version, additionalOutputs Outputs, mods ...RequestModifierFunc) (Outputs, error)
type RequestModifierFunc ¶
func WithBasicAuth ¶
func WithBasicAuth(username, password string) RequestModifierFunc
Click to show internal directories.
Click to hide internal directories.