dockermocks

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRegistry

type MockRegistry struct {
	ReturnedTags   []string
	ReturnedDigest string
	ReturnedError  error
	InputImageName string
}

MockRegistry is a stub implementation of the `Registry` interface to be used in our unit test suites.

func (*MockRegistry) Digest

func (m *MockRegistry) Digest(image dockerimage.Image) (string, error)

func (*MockRegistry) Tags added in v0.30.0

func (m *MockRegistry) Tags(image dockerimage.Image) ([]string, error)

Jump to

Keyboard shortcuts

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