Versions in this module Expand all Collapse all v1 v1.0.0 Jul 22, 2020 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, scope, 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 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, scope, username, password string) (*Registry, error) + func NewInsecure(registryUrl, scope, username, password string) (*Registry, error) + func NewSecure(registryUrl, scope, username, password, cert, key string) (*Registry, error) + func (r *Registry) Ping() error + func (registry *Registry) BlobMetadata(repository string, digest digest.Digest) (distribution.Descriptor, error) + func (registry *Registry) DeleteManifest(repository string, digest digest.Digest) error + func (registry *Registry) DownloadBlob(repository string, digest digest.Digest) (io.ReadCloser, 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 + Scope string + Transport http.RoundTripper + Username string + func (t *TokenTransport) RoundTrip(req *http.Request) (*http.Response, error)