registry

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opt

type Opt func(*registryOptions)

func WithDockerNetwork

func WithDockerNetwork(network string) Opt

func WithImage

func WithImage(image string) Opt

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry(
	ctx context.Context,
	dir string,
	opts ...Opt,
) (*Registry, error)

func (*Registry) Address

func (r *Registry) Address() string

func (*Registry) CACertFile

func (r *Registry) CACertFile() string

func (*Registry) Delete

func (r *Registry) Delete(ctx context.Context) error

func (*Registry) HostPortAddress

func (r *Registry) HostPortAddress() string

Jump to

Keyboard shortcuts

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