mocks_remotes

package
v0.12.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks_remotes is a generated GoMock package.

Package mocks_remotes is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFetcher

type MockFetcher struct {
	// contains filtered or unexported fields
}

MockFetcher is a mock of Fetcher interface.

func NewMockFetcher

func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher

NewMockFetcher creates a new mock instance.

func (*MockFetcher) EXPECT

func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFetcher) Fetch

func (m *MockFetcher) Fetch(arg0 context.Context, arg1 v1.Descriptor) (io.ReadCloser, error)

Fetch mocks base method.

type MockFetcherMockRecorder

type MockFetcherMockRecorder struct {
	// contains filtered or unexported fields
}

MockFetcherMockRecorder is the mock recorder for MockFetcher.

func (*MockFetcherMockRecorder) Fetch

func (mr *MockFetcherMockRecorder) Fetch(arg0, arg1 interface{}) *gomock.Call

Fetch indicates an expected call of Fetch.

type MockResolver

type MockResolver struct {
	// contains filtered or unexported fields
}

MockResolver is a mock of Resolver interface.

func NewMockResolver

func NewMockResolver(ctrl *gomock.Controller) *MockResolver

NewMockResolver creates a new mock instance.

func (*MockResolver) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockResolver) Fetcher

func (m *MockResolver) Fetcher(arg0 context.Context, arg1 string) (remotes.Fetcher, error)

Fetcher mocks base method.

func (*MockResolver) Pusher

func (m *MockResolver) Pusher(arg0 context.Context, arg1 string) (remotes.Pusher, error)

Pusher mocks base method.

func (*MockResolver) Resolve

func (m *MockResolver) Resolve(arg0 context.Context, arg1 string) (string, v1.Descriptor, error)

Resolve mocks base method.

type MockResolverMockRecorder

type MockResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockResolverMockRecorder is the mock recorder for MockResolver.

func (*MockResolverMockRecorder) Fetcher

func (mr *MockResolverMockRecorder) Fetcher(arg0, arg1 interface{}) *gomock.Call

Fetcher indicates an expected call of Fetcher.

func (*MockResolverMockRecorder) Pusher

func (mr *MockResolverMockRecorder) Pusher(arg0, arg1 interface{}) *gomock.Call

Pusher indicates an expected call of Pusher.

func (*MockResolverMockRecorder) Resolve

func (mr *MockResolverMockRecorder) Resolve(arg0, arg1 interface{}) *gomock.Call

Resolve indicates an expected call of Resolve.

Jump to

Keyboard shortcuts

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