Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRegistryHandler ¶
func NewRegistryHandler(ctx context.Context, config *dconfiguration.Configuration) (http.Handler, error)
Types ¶
type RegistryHandlers ¶
func NewRegistryHandlers ¶
func NewRegistryHandlers(ctx context.Context, config *configuration.Configuration) (RegistryHandlers, error)
func (RegistryHandlers) RegistryHandler ¶
func (registries RegistryHandlers) RegistryHandler() http.Handler
{registry_host}/v2/{hub}/ {registry_host}/v2/
func (RegistryHandlers) RegistryMirrorMiddleware ¶
func (registries RegistryHandlers) RegistryMirrorMiddleware() func(next http.Handler) http.Handler
{registry_host}/hub-prefix-mirrors/{hub}/v2/{hub}/ {registry_host}/mirrors/{hub}/v2/
type RegistryProxyCache ¶
func NewRegistryProxyCache ¶
func NewRegistryProxyCache(ctx context.Context, config *configuration.Configuration) (*RegistryProxyCache, error)
func (*RegistryProxyCache) ListenAndServe ¶
func (r *RegistryProxyCache) ListenAndServe() error
ListenAndServe runs the registry's HTTP Server.
Click to show internal directories.
Click to hide internal directories.