Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendDigest ¶
func AppendDigest(ref NamedRepository, d digest.Digest) reference.Canonical
AppendDigest appends a digest to a named repository
Types ¶
type NamedRepository ¶
NamedRepository is a represents a image refererence where the Name evaluates to the repository name with out the domain
func SeperateRepository ¶
func SeperateRepository(ref reference.Named) NamedRepository
SeperateRepository converts a named into a named where the output of the Name() function will not have the domain as a prefix
func TrimNamed ¶
func TrimNamed(ref reference.Named) NamedRepository
TrimNamed removes a tag from a Named
type NamedTaggedRepository ¶
type NamedTaggedRepository interface { reference.NamedTagged Domain() string Path() string }
NamedTaggedRepository is a represents a image refererence where the Name evaluates to the repository name with out the domain
func CastToTagged ¶
func CastToTagged(ref reference.Named) (NamedTaggedRepository, error)
CastToTagged converts a Named into a NamedTaggedRepository, choosing the default "latest" tag if necessary
func SeperateTaggedRepository ¶
func SeperateTaggedRepository(ref reference.NamedTagged) NamedTaggedRepository
SeperateTaggedRepository converts a named into a named where the output of the Name() method will not have the domain as a prefix