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)
Click to show internal directories.
Click to hide internal directories.