testregistry

package
v1.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2026 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package testregistry provides a simple in-memory OCI registry for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() http.Handler

New creates a new test registry handler.

Types

type Registry

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

Registry is an in-memory OCI distribution registry for testing.

func (*Registry) ServeHTTP

func (r *Registry) ServeHTTP(w http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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