Versions in this module Expand all Collapse all v1 v1.0.0 Feb 17, 2017 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 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) DeleteManifest(repository string, digest digest.Digest) error + func (registry *Registry) DownloadLayer(repository string, digest digest.Digest) (io.ReadCloser, error) + func (registry *Registry) HasLayer(repository string, digest digest.Digest) (bool, error) + func (registry *Registry) LayerMetadata(repository string, digest digest.Digest) (distribution.Descriptor, error) + func (registry *Registry) Manifest(repository, reference string) (*manifestV1.SignedManifest, error) + func (registry *Registry) ManifestDigest(repository, reference string) (digest.Digest, error) + func (registry *Registry) ManifestV2(repository, reference string) (*manifestV2.DeserializedManifest, error) + func (registry *Registry) PutManifest(repository, reference string, signedManifest *manifestV1.SignedManifest) error + func (registry *Registry) Repositories() ([]string, error) + func (registry *Registry) Tags(repository string) (tags []string, err error) + func (registry *Registry) UploadLayer(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)