package proxy

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

Index

Functions

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.4.1+incompatible
Published
May 10, 2016
Platform
js/wasm
Imports
20 packages
Last checked
4 hours ago

Tools for package owners.