Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestTag ¶
func GetLatestTag( repoURL string, updateStrategy ImageUpdateStrategy, semverConstraint string, allowTags string, ignoreTags []string, platform string, creds *Credentials, ) (string, error)
Types ¶
type Credentials ¶
type Credentials struct { // Username identifies a principal, which combined with the value of the // Password field, can be used for reading from some image repository. Username string // Password, when combined with the principal identified by the Username // field, can be used for reading from some image repository. Password string }
Credentials represents the credentials for connecting to a private image repository.
type ImageUpdateStrategy ¶
type ImageUpdateStrategy string
const ( ImageUpdateStrategySemVer ImageUpdateStrategy = "SemVer" ImageUpdateStrategyLatest ImageUpdateStrategy = "Latest" ImageUpdateStrategyName ImageUpdateStrategy = "Name" ImageUpdateStrategyDigest ImageUpdateStrategy = "Digest" )
Click to show internal directories.
Click to hide internal directories.