proxy

package
v0.0.0-...-4b35d5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegistryProxy

func NewRegistryProxy(registry name.Registry, opts ...Option) (http.Handler, error)

NewRegistryProxy returns a new reverse proxy for a registry

Types

type Option

type Option func(p *registryProxy)

Option is a functional option that configures the proxy

func WithAccessController

func WithAccessController(ac auth.AccessController) Option

WithAccessController is a functional option that confgiures the access controller on the proxy

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL