...

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

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

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: pkg/deploy/interface.go
     3  
     4  // Package deploy is a generated GoMock package.
     5  package deploy
     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  // Deploy mocks base method.
    38  func (m *MockClient) Deploy(ctx context.Context) error {
    39  	m.ctrl.T.Helper()
    40  	ret := m.ctrl.Call(m, "Deploy", ctx)
    41  	ret0, _ := ret[0].(error)
    42  	return ret0
    43  }
    44  
    45  // Deploy indicates an expected call of Deploy.
    46  func (mr *MockClientMockRecorder) Deploy(ctx interface{}) *gomock.Call {
    47  	mr.mock.ctrl.T.Helper()
    48  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Deploy", reflect.TypeOf((*MockClient)(nil).Deploy), ctx)
    49  }
    50  

View as plain text