package proxy

import "github.com/docker/distribution/registry/proxy"

Index

Functions

func ConfigureAuth

func ConfigureAuth(remoteURL, username, password string, cm auth.ChallengeManager) (auth.CredentialStore, error)

ConfigureAuth authorizes with the upstream registry

func NewRegistryPullThroughCache

func NewRegistryPullThroughCache(ctx context.Context, registry distribution.Namespace, driver driver.StorageDriver, config configuration.Proxy) (distribution.Namespace, error)

NewRegistryPullThroughCache creates a registry acting as a pull through cache

Types

type Metrics

type Metrics struct {
	Requests    uint64
	Hits        uint64
	Misses      uint64
	BytesPulled uint64
	BytesPushed uint64
}

Metrics is used to hold metric counters related to the proxy

Source Files

proxyauth.go proxyblobstore.go proxymanifeststore.go proxymetrics.go proxyregistry.go proxytagservice.go

Directories

PathSynopsis
registry/proxy/scheduler
Version
v2.3.0-rc.0+incompatible
Published
Jan 19, 2016
Platform
js/wasm
Imports
18 packages
Last checked
5 hours ago

Tools for package owners.