refs

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsImageIDLikeReference

func IsImageIDLikeReference(ref string) bool

IsImageIDLikeReference reports whether ref is a Docker image ID rather than a pullable tag.

func NormalizeImageUpdateRef

func NormalizeImageUpdateRef(imageRef string) string

NormalizeImageUpdateRef returns the canonical image reference key used for update match.

Types

type Reference

type Reference struct {
	NormalizedRef string
	RegistryHost  string
	Repository    string
	Tag           string
}

Reference is a normalized Docker image reference.

func NormalizeReference

func NormalizeReference(imageRef string) (*Reference, error)

NormalizeReference parses and canonicalizes an image reference.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL