Documentation ¶
Overview ¶
Package ref is used to define references References default to remote registry references (registry:port/repo:tag) Schemes can be included in front of the reference for different reference types
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualRegistry ¶
EqualRegistry compares the registry between two references
func EqualRepository ¶
EqualRepository compares the repository between two references
Types ¶
type Ref ¶
type Ref struct { Scheme string Reference string // unparsed string Registry string // server, host:port Repository string // path on server Tag string Digest string Path string }
Ref reference to a registry/repository If the tag or digest is available, it's also included in the reference. Reference itself is the unparsed string. While this is currently a struct, that may change in the future and access to contents should not be assumed/used.
func (Ref) CommonName ¶
CommonName outputs a parsable name from a reference
Click to show internal directories.
Click to hide internal directories.