Documentation ¶
Index ¶
Constants ¶
View Source
const ( SortTagDefault = SortTag("default") SortTagReverse = SortTag("reverse") SortTagLexicographical = SortTag("lexicographical") SortTagSemver = SortTag("semver") )
SortTag constants
Variables ¶
View Source
var SortTagTypes = []SortTag{ SortTagDefault, SortTagReverse, SortTagLexicographical, SortTagSemver, }
SortTagTypes is the list of available sort tag types
Functions ¶
func ImageReference ¶ added in v4.26.0
func ImageReference(name string) (types.ImageReference, error)
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents an active docker registry object
type Image ¶
type Image struct { Domain string Path string Tag string Digest digest.Digest HubLink string // contains filtered or unexported fields }
Image holds information about an image.
func ParseImage ¶
func ParseImage(parseOpts ParseImageOptions) (Image, error)
ParseImage returns an Image struct with all the values filled in for a given image.
type Manifest ¶
type Manifest struct { Name string Tag string MIMEType string Digest digest.Digest Created *time.Time DockerVersion string Labels map[string]string Layers []string Platform string Raw []byte }
Manifest is the Docker image manifest information
type Options ¶
type Options struct { Auth types.DockerAuthConfig InsecureTLS bool Timeout time.Duration UserAgent string CompareDigest bool ImageOs string ImageArch string ImageVariant string }
Options holds docker registry object options
type ParseImageOptions ¶
ParseImageOptions holds image options for parsing.
type SortTag ¶ added in v4.22.0
type SortTag string
SortTag holds sort tag type
Click to show internal directories.
Click to hide internal directories.