github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/cmd/juju/application/mocks/deploystepapi_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/juju/juju/cmd/juju/application (interfaces: DeployStepAPI) 3 4 // Package mocks is a generated GoMock package. 5 package mocks 6 7 import ( 8 reflect "reflect" 9 10 gomock "github.com/golang/mock/gomock" 11 ) 12 13 // MockDeployStepAPI is a mock of DeployStepAPI interface 14 type MockDeployStepAPI struct { 15 ctrl *gomock.Controller 16 recorder *MockDeployStepAPIMockRecorder 17 } 18 19 // MockDeployStepAPIMockRecorder is the mock recorder for MockDeployStepAPI 20 type MockDeployStepAPIMockRecorder struct { 21 mock *MockDeployStepAPI 22 } 23 24 // NewMockDeployStepAPI creates a new mock instance 25 func NewMockDeployStepAPI(ctrl *gomock.Controller) *MockDeployStepAPI { 26 mock := &MockDeployStepAPI{ctrl: ctrl} 27 mock.recorder = &MockDeployStepAPIMockRecorder{mock} 28 return mock 29 } 30 31 // EXPECT returns an object that allows the caller to indicate expected use 32 func (m *MockDeployStepAPI) EXPECT() *MockDeployStepAPIMockRecorder { 33 return m.recorder 34 } 35 36 // IsMetered mocks base method 37 func (m *MockDeployStepAPI) IsMetered(arg0 string) (bool, error) { 38 ret := m.ctrl.Call(m, "IsMetered", arg0) 39 ret0, _ := ret[0].(bool) 40 ret1, _ := ret[1].(error) 41 return ret0, ret1 42 } 43 44 // IsMetered indicates an expected call of IsMetered 45 func (mr *MockDeployStepAPIMockRecorder) IsMetered(arg0 interface{}) *gomock.Call { 46 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "IsMetered", reflect.TypeOf((*MockDeployStepAPI)(nil).IsMetered), arg0) 47 } 48 49 // SetMetricCredentials mocks base method 50 func (m *MockDeployStepAPI) SetMetricCredentials(arg0 string, arg1 []byte) error { 51 ret := m.ctrl.Call(m, "SetMetricCredentials", arg0, arg1) 52 ret0, _ := ret[0].(error) 53 return ret0 54 } 55 56 // SetMetricCredentials indicates an expected call of SetMetricCredentials 57 func (mr *MockDeployStepAPIMockRecorder) SetMetricCredentials(arg0, arg1 interface{}) *gomock.Call { 58 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetMetricCredentials", reflect.TypeOf((*MockDeployStepAPI)(nil).SetMetricCredentials), arg0, arg1) 59 }