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 ¶ added in v1.16.0
func NewOutputs(uri string, latestVersion *semver.Version, additionalOutputs Outputs, mods ...RequestModifierFunc) (Outputs, error)
type RequestModifierFunc ¶ added in v1.2.0
func WithBasicAuth ¶ added in v1.2.0
func WithBasicAuth(username, password string) RequestModifierFunc
Directories ¶
Path | Synopsis |
---|---|
* Copyright 2023-2023 the original author or authors.
|
* Copyright 2023-2023 the original author or authors. |
Click to show internal directories.
Click to hide internal directories.