containerregistry

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, c *Configuration) error

func WithLogger

func WithLogger(ctx context.Context, l logr.Logger) context.Context

Types

type Configuration

type Configuration struct {
	StorageRoot string

	RegistryAddr     string
	RegistryBaseHost string

	Proxy *Proxy
}

func (*Configuration) MustStorage

func (c *Configuration) MustStorage() driver.StorageDriver

func (*Configuration) New

func (c *Configuration) New(ctx context.Context) (distribution.Namespace, error)

func (Configuration) WithoutProxy

func (c Configuration) WithoutProxy() *Configuration

type Proxy

type Proxy = configuration.Proxy

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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