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.8.3+incompatible (latest)
Published
Oct 2, 2023
Platform
js/wasm
Imports
23 packages
Last checked
1 day ago

Tools for package owners.