forked from openshift/installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
filefetcher_generated.go
64 lines (54 loc) · 2.03 KB
/
filefetcher_generated.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
// Code generated by MockGen. DO NOT EDIT.
// Source: ./filefetcher.go
// Package mock is a generated GoMock package.
package mock
import (
gomock "github.com/golang/mock/gomock"
asset "github.com/openshift/installer/pkg/asset"
reflect "reflect"
)
// MockFileFetcher is a mock of FileFetcher interface
type MockFileFetcher struct {
ctrl *gomock.Controller
recorder *MockFileFetcherMockRecorder
}
// MockFileFetcherMockRecorder is the mock recorder for MockFileFetcher
type MockFileFetcherMockRecorder struct {
mock *MockFileFetcher
}
// NewMockFileFetcher creates a new mock instance
func NewMockFileFetcher(ctrl *gomock.Controller) *MockFileFetcher {
mock := &MockFileFetcher{ctrl: ctrl}
mock.recorder = &MockFileFetcherMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use
func (m *MockFileFetcher) EXPECT() *MockFileFetcherMockRecorder {
return m.recorder
}
// FetchByName mocks base method
func (m *MockFileFetcher) FetchByName(arg0 string) (*asset.File, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "FetchByName", arg0)
ret0, _ := ret[0].(*asset.File)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// FetchByName indicates an expected call of FetchByName
func (mr *MockFileFetcherMockRecorder) FetchByName(arg0 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchByName", reflect.TypeOf((*MockFileFetcher)(nil).FetchByName), arg0)
}
// FetchByPattern mocks base method
func (m *MockFileFetcher) FetchByPattern(pattern string) ([]*asset.File, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "FetchByPattern", pattern)
ret0, _ := ret[0].([]*asset.File)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// FetchByPattern indicates an expected call of FetchByPattern
func (mr *MockFileFetcherMockRecorder) FetchByPattern(pattern interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchByPattern", reflect.TypeOf((*MockFileFetcher)(nil).FetchByPattern), pattern)
}