Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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.
func (Image) Reference ¶
Reference returns either the digest if it is non-empty or the tag for the 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 `json:"-"` }
Manifest is the Docker image manifest information
type Options ¶
type Options struct { Username string Password string InsecureTLS bool Timeout time.Duration UserAgent string ImageOs string ImageArch string ImageVariant string }
Options holds docker registry object options
type ParseImageOptions ¶
ParseImageOptions holds image options for parsing.
Click to show internal directories.
Click to hide internal directories.