Versions in this module Expand all Collapse all v1 v1.0.0 Jun 20, 2022 Changes in this version + var ErrNoMorePages = errors.New("no more pages") + func Log(format string, args ...interface{}) + func Quiet(format string, args ...interface{}) + func WrapTransport(transport http.RoundTripper, url, username, password string) http.RoundTripper + type AuthorizationChallenge struct + Parameters map[string]string + Scheme string + type BasicTransport struct + Password string + Transport http.RoundTripper + URL string + Username string + func (t *BasicTransport) RoundTrip(req *http.Request) (*http.Response, error) + type CannotReplayRequestBody struct + Err error + func (e CannotReplayRequestBody) Error() string + type ErrorTransport struct + Transport http.RoundTripper + func (t *ErrorTransport) RoundTrip(request *http.Request) (*http.Response, error) + type HTTPStatusError struct + Body []byte + Response *http.Response + func (err *HTTPStatusError) Error() string + type LogfCallback func(format string, args ...interface{}) + type Registry struct + Client *http.Client + Logf LogfCallback + URL string + func New(registryURL, username, password string) (*Registry, error) + func NewInsecure(registryURL, username, password string) (*Registry, error) + func (r *Registry) Ping() error + func (registry *Registry) BlobMetadata(repository string, digest digest.Digest) (distribution.Descriptor, error) + func (registry *Registry) DeleteImage(image string) error + func (registry *Registry) DeleteManifest(repository string, digest digest.Digest) error + func (registry *Registry) DeleteTag(image, tag string) error + func (registry *Registry) DownloadBlob(repository string, digest digest.Digest) (io.ReadCloser, error) + func (registry *Registry) GetImages() (map[string][]string, error) + func (registry *Registry) HasBlob(repository string, digest digest.Digest) (bool, error) + func (registry *Registry) Manifest(repository, reference string) (*schema1.SignedManifest, error) + func (registry *Registry) ManifestDigest(repository, reference string) (digest.Digest, error) + func (registry *Registry) ManifestV2(repository, reference string) (*schema2.DeserializedManifest, error) + func (registry *Registry) PutManifest(repository, reference string, manifest distribution.Manifest) error + func (registry *Registry) Repositories() ([]string, error) + func (registry *Registry) Tags(repository string) (tags []string, err error) + func (registry *Registry) UploadBlob(repository string, digest digest.Digest, content io.Reader, ...) error + type TokenTransport struct + Password string + Transport http.RoundTripper + Username string + func (t *TokenTransport) RoundTrip(req *http.Request) (*http.Response, error)