...

Source file src/github.com/redhat-developer/odo/pkg/alizer/mock.go

Documentation: github.com/redhat-developer/odo/pkg/alizer

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: pkg/alizer/interface.go
     3  
     4  // Package alizer is a generated GoMock package.
     5  package alizer
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	gomock "github.com/golang/mock/gomock"
    12  )
    13  
    14  // MockClient is a mock of Client interface.
    15  type MockClient struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockClientMockRecorder
    18  }
    19  
    20  // MockClientMockRecorder is the mock recorder for MockClient.
    21  type MockClientMockRecorder struct {
    22  	mock *MockClient
    23  }
    24  
    25  // NewMockClient creates a new mock instance.
    26  func NewMockClient(ctrl *gomock.Controller) *MockClient {
    27  	mock := &MockClient{ctrl: ctrl}
    28  	mock.recorder = &MockClientMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use.
    33  func (m *MockClient) EXPECT() *MockClientMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // DetectFramework mocks base method.
    38  func (m *MockClient) DetectFramework(ctx context.Context, path string) (DetectedFramework, error) {
    39  	m.ctrl.T.Helper()
    40  	ret := m.ctrl.Call(m, "DetectFramework", ctx, path)
    41  	ret0, _ := ret[0].(DetectedFramework)
    42  	ret1, _ := ret[1].(error)
    43  	return ret0, ret1
    44  }
    45  
    46  // DetectFramework indicates an expected call of DetectFramework.
    47  func (mr *MockClientMockRecorder) DetectFramework(ctx, path interface{}) *gomock.Call {
    48  	mr.mock.ctrl.T.Helper()
    49  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetectFramework", reflect.TypeOf((*MockClient)(nil).DetectFramework), ctx, path)
    50  }
    51  
    52  // DetectName mocks base method.
    53  func (m *MockClient) DetectName(path string) (string, error) {
    54  	m.ctrl.T.Helper()
    55  	ret := m.ctrl.Call(m, "DetectName", path)
    56  	ret0, _ := ret[0].(string)
    57  	ret1, _ := ret[1].(error)
    58  	return ret0, ret1
    59  }
    60  
    61  // DetectName indicates an expected call of DetectName.
    62  func (mr *MockClientMockRecorder) DetectName(path interface{}) *gomock.Call {
    63  	mr.mock.ctrl.T.Helper()
    64  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetectName", reflect.TypeOf((*MockClient)(nil).DetectName), path)
    65  }
    66  
    67  // DetectPorts mocks base method.
    68  func (m *MockClient) DetectPorts(path string) ([]int, error) {
    69  	m.ctrl.T.Helper()
    70  	ret := m.ctrl.Call(m, "DetectPorts", path)
    71  	ret0, _ := ret[0].([]int)
    72  	ret1, _ := ret[1].(error)
    73  	return ret0, ret1
    74  }
    75  
    76  // DetectPorts indicates an expected call of DetectPorts.
    77  func (mr *MockClientMockRecorder) DetectPorts(path interface{}) *gomock.Call {
    78  	mr.mock.ctrl.T.Helper()
    79  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DetectPorts", reflect.TypeOf((*MockClient)(nil).DetectPorts), path)
    80  }
    81  

View as plain text