Documentation ¶
Index ¶
Constants ¶
View Source
const (
DockerHubURL = "docker.io"
)
Variables ¶
This section is empty.
Functions ¶
func AttachConnectorToTagOrDigest ¶ added in v1.5.0
func RemoveDuplicateItems ¶ added in v1.5.3
func RemoveEmptyItems ¶ added in v1.4.1
func RepoMathPrefix ¶ added in v1.5.0
Types ¶
type RepoURL ¶
type RepoURL struct {
// contains filtered or unexported fields
}
func GenerateRepoURLs ¶ added in v1.5.0
func GenerateRepoURLs(url string, externalTagsOrDigest func(registry, repository string, ) (tagsOrDigest []string, err error)) ([]*RepoURL, error)
GenerateRepoURLs creates a RepoURL slice. If url has no tags or digest, tags or digest should be provided by externalTagsOrDigest func, and empty slice will be returned if no tags or digest is provided.
func (*RepoURL) GetRegistry ¶
GetRegistry returns the registry in a url
func (*RepoURL) GetRepoWithTagOrDigest ¶ added in v1.5.0
GetRepoWithTagOrDigest returns repository:tag in a url
func (*RepoURL) GetTagOrDigest ¶ added in v1.5.0
GetTagOrDigest returns the tag in a url
func (*RepoURL) GetURLWithoutTagOrDigest ¶ added in v1.5.0
Click to show internal directories.
Click to hide internal directories.