Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCache
- func (m *MockCache) AddFile(arg0 string) error
- func (m *MockCache) Dir() string
- func (m *MockCache) EXPECT() *MockCacheMockRecorder
- func (m *MockCache) Get(arg0 string) *cache.FileInfo
- func (m *MockCache) Has(arg0 string) bool
- func (m *MockCache) Put(arg0 string, arg1 *cache.FileInfo)
- func (m *MockCache) Save() error
- func (m *MockCache) Verify(arg0 string) (*cache.FileInfo, error)
- type MockCacheMockRecorder
- func (mr *MockCacheMockRecorder) AddFile(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Dir() *gomock.Call
- func (mr *MockCacheMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Has(arg0 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Save() *gomock.Call
- func (mr *MockCacheMockRecorder) Verify(arg0 interface{}) *gomock.Call
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) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
Click to show internal directories.
Click to hide internal directories.