Documentation
¶
Overview ¶
Package registry resolves the current manifest digest for an image tag from its registry, using a cheap manifest HEAD and the standard bearer-token auth challenge flow. It never pulls image layers.
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 resolves remote digests.
type CredStore ¶
type CredStore struct {
// contains filtered or unexported fields
}
CredStore holds registry credentials parsed from a Docker config.json.
type Ref ¶
type Ref struct {
Registry string // network host, e.g. registry-1.docker.io
Repository string // e.g. library/nginx
Tag string // e.g. latest (empty if pinned by digest)
Digest string // sha256:… if the ref is pinned by digest
}
Ref is a parsed image reference.
Click to show internal directories.
Click to hide internal directories.