distribution: github.com/niels-s/distribution/registry/proxy Index | Files | Directories

package proxy

import "github.com/niels-s/distribution/registry/proxy"


Package Files

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

func ConfigureAuth Uses

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

ConfigureAuth authorizes with the upstream registry

func NewRegistryPullThroughCache Uses

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 Uses

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

Metrics is used to hold metric counters related to the proxy



Package proxy imports 19 packages (graph). Updated 2017-06-11. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).