mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryClient

type RegistryClient struct {
	mock.Mock
}

RegistryClient is an autogenerated mock type for the RegistryClient type

func (*RegistryClient) ManifestV1

func (_m *RegistryClient) ManifestV1(repository string, reference string) (*schema1.SignedManifest, error)

ManifestV1 provides a mock function with given fields: repository, reference

func (*RegistryClient) ManifestV2 added in v0.8.0

func (_m *RegistryClient) ManifestV2(repository string, reference string) (*schema2.DeserializedManifest, error)

ManifestV2 provides a mock function with given fields: repository, reference

func (*RegistryClient) TagMetadata added in v0.8.0

func (_m *RegistryClient) TagMetadata(repository string, manifest distribution.Manifest) (*tag.TagInfo, error)

TagMetadata provides a mock function with given fields: repository, manifest

func (*RegistryClient) Tags

func (_m *RegistryClient) Tags(nameInRepository string) ([]string, error)

Tags provides a mock function with given fields: nameInRepository

Jump to

Keyboard shortcuts

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