Documentation ¶
Overview ¶
Package pathmapping maps image names to repositories with new prefixes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlattenRepoPath ¶
FlattenRepoPath maps the given Name to a new Name with a given repository prefix. It aims to avoid collisions between repositories and to include enough of the original name to make it recognizable by a human being.
func FlattenRepoPathPreserveTagDigest ¶
func FlattenRepoPathPreserveTagDigest(repoPrefix string, originalImage image.Name) (image.Name, error)
FlattenRepoPathPreserveTagDigest maps the given Name to a new Name with a given repository prefix. It aims to avoid collisions between repositories and to include enough of the original name to make it recognizable by a human being. It preserves any tag and/or digest.
Types ¶
Click to show internal directories.
Click to hide internal directories.