github.com/replicatedhq/ship@v0.55.0/pkg/test-mocks/apptype/determine_type_mock.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/replicatedhq/ship/pkg/specs/apptype (interfaces: Inspector,LocalAppCopy)
     3  
     4  // Package apptype is a generated GoMock package.
     5  package apptype
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	gomock "github.com/golang/mock/gomock"
    12  	apptype "github.com/replicatedhq/ship/pkg/specs/apptype"
    13  	afero "github.com/spf13/afero"
    14  )
    15  
    16  // MockInspector is a mock of Inspector interface
    17  type MockInspector struct {
    18  	ctrl     *gomock.Controller
    19  	recorder *MockInspectorMockRecorder
    20  }
    21  
    22  // MockInspectorMockRecorder is the mock recorder for MockInspector
    23  type MockInspectorMockRecorder struct {
    24  	mock *MockInspector
    25  }
    26  
    27  // NewMockInspector creates a new mock instance
    28  func NewMockInspector(ctrl *gomock.Controller) *MockInspector {
    29  	mock := &MockInspector{ctrl: ctrl}
    30  	mock.recorder = &MockInspectorMockRecorder{mock}
    31  	return mock
    32  }
    33  
    34  // EXPECT returns an object that allows the caller to indicate expected use
    35  func (m *MockInspector) EXPECT() *MockInspectorMockRecorder {
    36  	return m.recorder
    37  }
    38  
    39  // DetermineApplicationType mocks base method
    40  func (m *MockInspector) DetermineApplicationType(arg0 context.Context, arg1 string) (apptype.LocalAppCopy, error) {
    41  	m.ctrl.T.Helper()
    42  	ret := m.ctrl.Call(m, "DetermineApplicationType", arg0, arg1)
    43  	ret0, _ := ret[0].(apptype.LocalAppCopy)
    44  	ret1, _ := ret[1].(error)
    45  	return ret0, ret1
    46  }
    47  
    48  // DetermineApplicationType indicates an expected call of DetermineApplicationType
    49  func (mr *MockInspectorMockRecorder) DetermineApplicationType(arg0, arg1 interface{}) *gomock.Call {
    50  	mr.mock.ctrl.T.Helper()
    51  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetermineApplicationType", reflect.TypeOf((*MockInspector)(nil).DetermineApplicationType), arg0, arg1)
    52  }
    53  
    54  // MockLocalAppCopy is a mock of LocalAppCopy interface
    55  type MockLocalAppCopy struct {
    56  	ctrl     *gomock.Controller
    57  	recorder *MockLocalAppCopyMockRecorder
    58  }
    59  
    60  // MockLocalAppCopyMockRecorder is the mock recorder for MockLocalAppCopy
    61  type MockLocalAppCopyMockRecorder struct {
    62  	mock *MockLocalAppCopy
    63  }
    64  
    65  // NewMockLocalAppCopy creates a new mock instance
    66  func NewMockLocalAppCopy(ctrl *gomock.Controller) *MockLocalAppCopy {
    67  	mock := &MockLocalAppCopy{ctrl: ctrl}
    68  	mock.recorder = &MockLocalAppCopyMockRecorder{mock}
    69  	return mock
    70  }
    71  
    72  // EXPECT returns an object that allows the caller to indicate expected use
    73  func (m *MockLocalAppCopy) EXPECT() *MockLocalAppCopyMockRecorder {
    74  	return m.recorder
    75  }
    76  
    77  // GetLocalPath mocks base method
    78  func (m *MockLocalAppCopy) GetLocalPath() string {
    79  	m.ctrl.T.Helper()
    80  	ret := m.ctrl.Call(m, "GetLocalPath")
    81  	ret0, _ := ret[0].(string)
    82  	return ret0
    83  }
    84  
    85  // GetLocalPath indicates an expected call of GetLocalPath
    86  func (mr *MockLocalAppCopyMockRecorder) GetLocalPath() *gomock.Call {
    87  	mr.mock.ctrl.T.Helper()
    88  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLocalPath", reflect.TypeOf((*MockLocalAppCopy)(nil).GetLocalPath))
    89  }
    90  
    91  // GetType mocks base method
    92  func (m *MockLocalAppCopy) GetType() string {
    93  	m.ctrl.T.Helper()
    94  	ret := m.ctrl.Call(m, "GetType")
    95  	ret0, _ := ret[0].(string)
    96  	return ret0
    97  }
    98  
    99  // GetType indicates an expected call of GetType
   100  func (mr *MockLocalAppCopyMockRecorder) GetType() *gomock.Call {
   101  	mr.mock.ctrl.T.Helper()
   102  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetType", reflect.TypeOf((*MockLocalAppCopy)(nil).GetType))
   103  }
   104  
   105  // Remove mocks base method
   106  func (m *MockLocalAppCopy) Remove(arg0 afero.Afero) error {
   107  	m.ctrl.T.Helper()
   108  	ret := m.ctrl.Call(m, "Remove", arg0)
   109  	ret0, _ := ret[0].(error)
   110  	return ret0
   111  }
   112  
   113  // Remove indicates an expected call of Remove
   114  func (mr *MockLocalAppCopyMockRecorder) Remove(arg0 interface{}) *gomock.Call {
   115  	mr.mock.ctrl.T.Helper()
   116  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Remove", reflect.TypeOf((*MockLocalAppCopy)(nil).Remove), arg0)
   117  }