Documentation ¶
Index ¶
- type RemoteInterface
- func (_m *RemoteInterface) BlobReader(repo string, dig string) (int64, io.ReadCloser, error)
- func (_m *RemoteInterface) ListTags(repo string) ([]string, error)
- func (_m *RemoteInterface) Manifest(repo string, ref string) (distribution.Manifest, string, error)
- func (_m *RemoteInterface) ManifestExist(repo string, ref string) (bool, *distribution.Descriptor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RemoteInterface ¶
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
Click to show internal directories.
Click to hide internal directories.