Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // LoginServer is the registry login server name, such as myregistry.azurecr.io LoginServer string // DataEndpoint is the registry data endpoint, such as myregistry.southindia.azurecr.io DataEndpoint string // Username is the registry login username Username string // Password is the registry login password Password string // Insecure indicates if registry should be accessed over HTTP Insecure bool // BasicAuthMode indicates that only basic auth should be used BasicAuthMode bool }
Options configures the proxy.
type Proxy ¶
type Proxy struct { rhttp.RoundTripper *Options zerolog.Logger }
Proxy acts as a proxy to a remote registry.
func (Proxy) CheckHealth ¶
CheckHealth checks the health of core registry APIs.
func (Proxy) CheckReferrers ¶
CheckReferrers checks the registry's referrer APIs.
Click to show internal directories.
Click to hide internal directories.