registrytest

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: Apache-2.0 Imports: 24 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