fake

package
v1.82.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(extractions ...Extraction) *fakeRegistryExtractor

New returns a simple implementation of registry.Extractor which can be used to fake the registry extractor in unit tests.

Types

type Extraction

type Extraction struct {
	Image      string
	PathSuffix string
	Dest       string
}

Extraction is a fake implementation of Extractor for unit tests.

Jump to

Keyboard shortcuts

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