mocks

package
v0.0.0-...-80c8c53 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCache

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

MockCache is a mock of Cache interface.

func NewMockCache

func NewMockCache(ctrl *gomock.Controller) *MockCache

NewMockCache creates a new mock instance.

func (*MockCache) AddFile

func (m *MockCache) AddFile(arg0 string) error

AddFile mocks base method.

func (*MockCache) Dir

func (m *MockCache) Dir() string

Dir mocks base method.

func (*MockCache) EXPECT

func (m *MockCache) EXPECT() *MockCacheMockRecorder

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

func (*MockCache) Get

func (m *MockCache) Get(arg0 string) *cache.FileInfo

Get mocks base method.

func (*MockCache) Has

func (m *MockCache) Has(arg0 string) bool

Has mocks base method.

func (*MockCache) Put

func (m *MockCache) Put(arg0 string, arg1 *cache.FileInfo)

Put mocks base method.

func (*MockCache) Save

func (m *MockCache) Save() error

Save mocks base method.

func (*MockCache) Verify

func (m *MockCache) Verify(arg0 string) (*cache.FileInfo, error)

Verify mocks base method.

type MockCacheMockRecorder

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

MockCacheMockRecorder is the mock recorder for MockCache.

func (*MockCacheMockRecorder) AddFile

func (mr *MockCacheMockRecorder) AddFile(arg0 interface{}) *gomock.Call

AddFile indicates an expected call of AddFile.

func (*MockCacheMockRecorder) Dir

func (mr *MockCacheMockRecorder) Dir() *gomock.Call

Dir indicates an expected call of Dir.

func (*MockCacheMockRecorder) Get

func (mr *MockCacheMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCacheMockRecorder) Has

func (mr *MockCacheMockRecorder) Has(arg0 interface{}) *gomock.Call

Has indicates an expected call of Has.

func (*MockCacheMockRecorder) Put

func (mr *MockCacheMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call

Put indicates an expected call of Put.

func (*MockCacheMockRecorder) Save

func (mr *MockCacheMockRecorder) Save() *gomock.Call

Save indicates an expected call of Save.

func (*MockCacheMockRecorder) Verify

func (mr *MockCacheMockRecorder) Verify(arg0 interface{}) *gomock.Call

Verify indicates an expected call of Verify.

Jump to

Keyboard shortcuts

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