Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLoadOCIArchiveRequired = errors.New("image must be loaded from archive before parsing image reference")
Functions ¶
This section is empty.
Types ¶
type ImageReference ¶
type ImageReference struct {
Protocol Protocol
Digest digest.Digest
Tag string
ExplicitTag string
Path string
Domain string
// contains filtered or unexported fields
}
func Parse ¶
func Parse(rawRef string) (*ImageReference, error)
func (*ImageReference) FamiliarMatch ¶
func (ir *ImageReference) FamiliarMatch(pattern string) (bool, error)
func (*ImageReference) FamiliarName ¶
func (ir *ImageReference) FamiliarName() string
func (*ImageReference) Name ¶
func (ir *ImageReference) Name() string
func (*ImageReference) String ¶
func (ir *ImageReference) String() string
func (*ImageReference) SuggestContainerName ¶
func (ir *ImageReference) SuggestContainerName(suffix string) string
Click to show internal directories.
Click to hide internal directories.