registrytest

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t *testing.T) string

New creates a new registry server that discards all logs.

func WriteContainer

func WriteContainer(t *testing.T, serverURL, containerRef, mediaType string, files map[string]any) string

WriteContainer uploads a container to the registry server. It returns the reference to the uploaded container.

Types

This section is empty.

Jump to

Keyboard shortcuts

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