Documentation ¶
Overview ¶
Package mocks_remotes is a generated GoMock package.
Package mocks_remotes is a generated GoMock package.
Index ¶
- type MockFetcher
- type MockFetcherMockRecorder
- type MockResolver
- func (m *MockResolver) EXPECT() *MockResolverMockRecorder
- func (m *MockResolver) Fetcher(arg0 context.Context, arg1 string) (remotes.Fetcher, error)
- func (m *MockResolver) Pusher(arg0 context.Context, arg1 string) (remotes.Pusher, error)
- func (m *MockResolver) Resolve(arg0 context.Context, arg1 string) (string, v1.Descriptor, error)
- type MockResolverMockRecorder
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 ¶
func (m *MockResolver) EXPECT() *MockResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.