github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/inter/imocks/ddl_resolver.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/choria-io/go-choria/inter (interfaces: DDLResolver) 3 4 // Package imock is a generated GoMock package. 5 package imock 6 7 import ( 8 context "context" 9 reflect "reflect" 10 11 inter "github.com/choria-io/go-choria/inter" 12 gomock "github.com/golang/mock/gomock" 13 ) 14 15 // MockDDLResolver is a mock of DDLResolver interface. 16 type MockDDLResolver struct { 17 ctrl *gomock.Controller 18 recorder *MockDDLResolverMockRecorder 19 } 20 21 // MockDDLResolverMockRecorder is the mock recorder for MockDDLResolver. 22 type MockDDLResolverMockRecorder struct { 23 mock *MockDDLResolver 24 } 25 26 // NewMockDDLResolver creates a new mock instance. 27 func NewMockDDLResolver(ctrl *gomock.Controller) *MockDDLResolver { 28 mock := &MockDDLResolver{ctrl: ctrl} 29 mock.recorder = &MockDDLResolverMockRecorder{mock} 30 return mock 31 } 32 33 // EXPECT returns an object that allows the caller to indicate expected use. 34 func (m *MockDDLResolver) EXPECT() *MockDDLResolverMockRecorder { 35 return m.recorder 36 } 37 38 // DDL mocks base method. 39 func (m *MockDDLResolver) DDL(arg0 context.Context, arg1, arg2 string, arg3 interface{}, arg4 inter.Framework) error { 40 m.ctrl.T.Helper() 41 ret := m.ctrl.Call(m, "DDL", arg0, arg1, arg2, arg3, arg4) 42 ret0, _ := ret[0].(error) 43 return ret0 44 } 45 46 // DDL indicates an expected call of DDL. 47 func (mr *MockDDLResolverMockRecorder) DDL(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { 48 mr.mock.ctrl.T.Helper() 49 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DDL", reflect.TypeOf((*MockDDLResolver)(nil).DDL), arg0, arg1, arg2, arg3, arg4) 50 } 51 52 // DDLBytes mocks base method. 53 func (m *MockDDLResolver) DDLBytes(arg0 context.Context, arg1, arg2 string, arg3 inter.Framework) ([]byte, error) { 54 m.ctrl.T.Helper() 55 ret := m.ctrl.Call(m, "DDLBytes", arg0, arg1, arg2, arg3) 56 ret0, _ := ret[0].([]byte) 57 ret1, _ := ret[1].(error) 58 return ret0, ret1 59 } 60 61 // DDLBytes indicates an expected call of DDLBytes. 62 func (mr *MockDDLResolverMockRecorder) DDLBytes(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { 63 mr.mock.ctrl.T.Helper() 64 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DDLBytes", reflect.TypeOf((*MockDDLResolver)(nil).DDLBytes), arg0, arg1, arg2, arg3) 65 } 66 67 // DDLNames mocks base method. 68 func (m *MockDDLResolver) DDLNames(arg0 context.Context, arg1 string, arg2 inter.Framework) ([]string, error) { 69 m.ctrl.T.Helper() 70 ret := m.ctrl.Call(m, "DDLNames", arg0, arg1, arg2) 71 ret0, _ := ret[0].([]string) 72 ret1, _ := ret[1].(error) 73 return ret0, ret1 74 } 75 76 // DDLNames indicates an expected call of DDLNames. 77 func (mr *MockDDLResolverMockRecorder) DDLNames(arg0, arg1, arg2 interface{}) *gomock.Call { 78 mr.mock.ctrl.T.Helper() 79 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DDLNames", reflect.TypeOf((*MockDDLResolver)(nil).DDLNames), arg0, arg1, arg2) 80 } 81 82 // String mocks base method. 83 func (m *MockDDLResolver) String() string { 84 m.ctrl.T.Helper() 85 ret := m.ctrl.Call(m, "String") 86 ret0, _ := ret[0].(string) 87 return ret0 88 } 89 90 // String indicates an expected call of String. 91 func (mr *MockDDLResolverMockRecorder) String() *gomock.Call { 92 mr.mock.ctrl.T.Helper() 93 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "String", reflect.TypeOf((*MockDDLResolver)(nil).String)) 94 }