...

Package proxy

import "github.com/docker/distribution/registry/proxy"
Overview
Index
Subdirectories

Overview ▾

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

type Metrics

Metrics is used to hold metric counters related to the proxy

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

Subdirectories

Name Synopsis
..
scheduler