mock

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFileFetcher

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

MockFileFetcher is a mock of FileFetcher interface.

func NewMockFileFetcher

func NewMockFileFetcher(ctrl *gomock.Controller) *MockFileFetcher

NewMockFileFetcher creates a new mock instance.

func (*MockFileFetcher) EXPECT

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

func (*MockFileFetcher) FetchByName

func (m *MockFileFetcher) FetchByName(arg0 string) (*asset.File, error)

FetchByName mocks base method.

func (*MockFileFetcher) FetchByPattern

func (m *MockFileFetcher) FetchByPattern(pattern string) ([]*asset.File, error)

FetchByPattern mocks base method.

type MockFileFetcherMockRecorder

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

MockFileFetcherMockRecorder is the mock recorder for MockFileFetcher.

func (*MockFileFetcherMockRecorder) FetchByName

func (mr *MockFileFetcherMockRecorder) FetchByName(arg0 interface{}) *gomock.Call

FetchByName indicates an expected call of FetchByName.

func (*MockFileFetcherMockRecorder) FetchByPattern

func (mr *MockFileFetcherMockRecorder) FetchByPattern(pattern interface{}) *gomock.Call

FetchByPattern indicates an expected call of FetchByPattern.

Jump to

Keyboard shortcuts

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