github.com/kubeshop/testkube@v1.17.23/pkg/executor/scraper/mock_extractor.go (about)

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