testing

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRegistry

func SetupRegistry(t *testing.T) (name.Registry, func())

SetupRegistry starts a local registry for testing.

If TF_OCI_REGISTRY is set, it will be used instead.

func SetupRepository

func SetupRepository(t *testing.T, repo string) (name.Repository, func())

SetupRegistry starts a local registry for testing and returns a repository within that registry.

If TF_OCI_REGISTRY is set, that registry will be used instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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