github.com/openshift/installer@v1.4.17/pkg/asset/mock/filefetcher_generated.go (about)

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