package proxy

import "github.com/distribution/distribution/v3/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 Closer

type Closer interface {
	// Close release all resources used by this object
	Close() error
}

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 proxyauth_exec.go proxyblobstore.go proxymanifeststore.go proxymetrics.go proxyregistry.go proxytagservice.go

Directories

PathSynopsis
registry/proxy/scheduler
Version
v3.0.0 (latest)
Published
Apr 2, 2025
Platform
linux/amd64
Imports
29 packages
Last checked
5 days ago

Tools for package owners.