...

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

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

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: pkg/configAutomount/interface.go
     3  
     4  // Package configAutomount is a generated GoMock package.
     5  package configAutomount
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  )
    12  
    13  // MockClient is a mock of Client interface.
    14  type MockClient struct {
    15  	ctrl     *gomock.Controller
    16  	recorder *MockClientMockRecorder
    17  }
    18  
    19  // MockClientMockRecorder is the mock recorder for MockClient.
    20  type MockClientMockRecorder struct {
    21  	mock *MockClient
    22  }
    23  
    24  // NewMockClient creates a new mock instance.
    25  func NewMockClient(ctrl *gomock.Controller) *MockClient {
    26  	mock := &MockClient{ctrl: ctrl}
    27  	mock.recorder = &MockClientMockRecorder{mock}
    28  	return mock
    29  }
    30  
    31  // EXPECT returns an object that allows the caller to indicate expected use.
    32  func (m *MockClient) EXPECT() *MockClientMockRecorder {
    33  	return m.recorder
    34  }
    35  
    36  // GetAutomountingVolumes mocks base method.
    37  func (m *MockClient) GetAutomountingVolumes() ([]AutomountInfo, error) {
    38  	m.ctrl.T.Helper()
    39  	ret := m.ctrl.Call(m, "GetAutomountingVolumes")
    40  	ret0, _ := ret[0].([]AutomountInfo)
    41  	ret1, _ := ret[1].(error)
    42  	return ret0, ret1
    43  }
    44  
    45  // GetAutomountingVolumes indicates an expected call of GetAutomountingVolumes.
    46  func (mr *MockClientMockRecorder) GetAutomountingVolumes() *gomock.Call {
    47  	mr.mock.ctrl.T.Helper()
    48  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAutomountingVolumes", reflect.TypeOf((*MockClient)(nil).GetAutomountingVolumes))
    49  }
    50  

View as plain text