proxy

package
v0.0.0-...-d01dfd4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RemoteInterface

type RemoteInterface struct {
	mock.Mock
}

RemoteInterface is an autogenerated mock type for the RemoteInterface type

func NewRemoteInterface

func NewRemoteInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *RemoteInterface

NewRemoteInterface creates a new instance of RemoteInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RemoteInterface) BlobReader

func (_m *RemoteInterface) BlobReader(repo string, dig string) (int64, io.ReadCloser, error)

BlobReader provides a mock function with given fields: repo, dig

func (*RemoteInterface) ListTags

func (_m *RemoteInterface) ListTags(repo string) ([]string, error)

ListTags provides a mock function with given fields: repo

func (*RemoteInterface) Manifest

func (_m *RemoteInterface) Manifest(repo string, ref string) (distribution.Manifest, string, error)

Manifest provides a mock function with given fields: repo, ref

func (*RemoteInterface) ManifestExist

func (_m *RemoteInterface) ManifestExist(repo string, ref string) (bool, *distribution.Descriptor, error)

ManifestExist provides a mock function with given fields: repo, ref

Jump to

Keyboard shortcuts

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