github.com/kubeshop/testkube@v1.17.23/pkg/imageinspector/mock_inspector.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/kubeshop/testkube/pkg/imageinspector (interfaces: Inspector) 3 4 // Package imageinspector is a generated GoMock package. 5 package imageinspector 6 7 import ( 8 context "context" 9 reflect "reflect" 10 11 gomock "github.com/golang/mock/gomock" 12 v1 "k8s.io/api/core/v1" 13 ) 14 15 // MockInspector is a mock of Inspector interface. 16 type MockInspector struct { 17 ctrl *gomock.Controller 18 recorder *MockInspectorMockRecorder 19 } 20 21 // MockInspectorMockRecorder is the mock recorder for MockInspector. 22 type MockInspectorMockRecorder struct { 23 mock *MockInspector 24 } 25 26 // NewMockInspector creates a new mock instance. 27 func NewMockInspector(ctrl *gomock.Controller) *MockInspector { 28 mock := &MockInspector{ctrl: ctrl} 29 mock.recorder = &MockInspectorMockRecorder{mock} 30 return mock 31 } 32 33 // EXPECT returns an object that allows the caller to indicate expected use. 34 func (m *MockInspector) EXPECT() *MockInspectorMockRecorder { 35 return m.recorder 36 } 37 38 // Inspect mocks base method. 39 func (m *MockInspector) Inspect(arg0 context.Context, arg1, arg2 string, arg3 v1.PullPolicy, arg4 []string) (*Info, error) { 40 m.ctrl.T.Helper() 41 ret := m.ctrl.Call(m, "Inspect", arg0, arg1, arg2, arg3, arg4) 42 ret0, _ := ret[0].(*Info) 43 ret1, _ := ret[1].(error) 44 return ret0, ret1 45 } 46 47 // Inspect indicates an expected call of Inspect. 48 func (mr *MockInspectorMockRecorder) Inspect(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { 49 mr.mock.ctrl.T.Helper() 50 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Inspect", reflect.TypeOf((*MockInspector)(nil).Inspect), arg0, arg1, arg2, arg3, arg4) 51 }