registrytest

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicAuthMW added in v0.0.7

func BasicAuthMW(t testing.TB, username, password string) func(http.Handler) http.Handler

func New

func New(t testing.TB, dir string, mws ...func(http.Handler) http.Handler) string

New starts a new Docker registry listening on localhost. It will automatically shut down when the test finishes. It will store data in dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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