github.com/kubeshop/testkube@v1.17.23/pkg/repository/result/mock_output_repository.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/kubeshop/testkube/pkg/repository/result (interfaces: OutputRepository)
     3  
     4  // Package result is a generated GoMock package.
     5  package result
     6  
     7  import (
     8  	context "context"
     9  	io "io"
    10  	reflect "reflect"
    11  
    12  	gomock "github.com/golang/mock/gomock"
    13  )
    14  
    15  // MockOutputRepository is a mock of OutputRepository interface.
    16  type MockOutputRepository struct {
    17  	ctrl     *gomock.Controller
    18  	recorder *MockOutputRepositoryMockRecorder
    19  }
    20  
    21  // MockOutputRepositoryMockRecorder is the mock recorder for MockOutputRepository.
    22  type MockOutputRepositoryMockRecorder struct {
    23  	mock *MockOutputRepository
    24  }
    25  
    26  // NewMockOutputRepository creates a new mock instance.
    27  func NewMockOutputRepository(ctrl *gomock.Controller) *MockOutputRepository {
    28  	mock := &MockOutputRepository{ctrl: ctrl}
    29  	mock.recorder = &MockOutputRepositoryMockRecorder{mock}
    30  	return mock
    31  }
    32  
    33  // EXPECT returns an object that allows the caller to indicate expected use.
    34  func (m *MockOutputRepository) EXPECT() *MockOutputRepositoryMockRecorder {
    35  	return m.recorder
    36  }
    37  
    38  // DeleteAllOutput mocks base method.
    39  func (m *MockOutputRepository) DeleteAllOutput(arg0 context.Context) error {
    40  	m.ctrl.T.Helper()
    41  	ret := m.ctrl.Call(m, "DeleteAllOutput", arg0)
    42  	ret0, _ := ret[0].(error)
    43  	return ret0
    44  }
    45  
    46  // DeleteAllOutput indicates an expected call of DeleteAllOutput.
    47  func (mr *MockOutputRepositoryMockRecorder) DeleteAllOutput(arg0 interface{}) *gomock.Call {
    48  	mr.mock.ctrl.T.Helper()
    49  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAllOutput", reflect.TypeOf((*MockOutputRepository)(nil).DeleteAllOutput), arg0)
    50  }
    51  
    52  // DeleteOutput mocks base method.
    53  func (m *MockOutputRepository) DeleteOutput(arg0 context.Context, arg1, arg2, arg3 string) error {
    54  	m.ctrl.T.Helper()
    55  	ret := m.ctrl.Call(m, "DeleteOutput", arg0, arg1, arg2, arg3)
    56  	ret0, _ := ret[0].(error)
    57  	return ret0
    58  }
    59  
    60  // DeleteOutput indicates an expected call of DeleteOutput.
    61  func (mr *MockOutputRepositoryMockRecorder) DeleteOutput(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
    62  	mr.mock.ctrl.T.Helper()
    63  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteOutput", reflect.TypeOf((*MockOutputRepository)(nil).DeleteOutput), arg0, arg1, arg2, arg3)
    64  }
    65  
    66  // DeleteOutputByTest mocks base method.
    67  func (m *MockOutputRepository) DeleteOutputByTest(arg0 context.Context, arg1 string) error {
    68  	m.ctrl.T.Helper()
    69  	ret := m.ctrl.Call(m, "DeleteOutputByTest", arg0, arg1)
    70  	ret0, _ := ret[0].(error)
    71  	return ret0
    72  }
    73  
    74  // DeleteOutputByTest indicates an expected call of DeleteOutputByTest.
    75  func (mr *MockOutputRepositoryMockRecorder) DeleteOutputByTest(arg0, arg1 interface{}) *gomock.Call {
    76  	mr.mock.ctrl.T.Helper()
    77  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteOutputByTest", reflect.TypeOf((*MockOutputRepository)(nil).DeleteOutputByTest), arg0, arg1)
    78  }
    79  
    80  // DeleteOutputByTestSuite mocks base method.
    81  func (m *MockOutputRepository) DeleteOutputByTestSuite(arg0 context.Context, arg1 string) error {
    82  	m.ctrl.T.Helper()
    83  	ret := m.ctrl.Call(m, "DeleteOutputByTestSuite", arg0, arg1)
    84  	ret0, _ := ret[0].(error)
    85  	return ret0
    86  }
    87  
    88  // DeleteOutputByTestSuite indicates an expected call of DeleteOutputByTestSuite.
    89  func (mr *MockOutputRepositoryMockRecorder) DeleteOutputByTestSuite(arg0, arg1 interface{}) *gomock.Call {
    90  	mr.mock.ctrl.T.Helper()
    91  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteOutputByTestSuite", reflect.TypeOf((*MockOutputRepository)(nil).DeleteOutputByTestSuite), arg0, arg1)
    92  }
    93  
    94  // DeleteOutputForAllTestSuite mocks base method.
    95  func (m *MockOutputRepository) DeleteOutputForAllTestSuite(arg0 context.Context) error {
    96  	m.ctrl.T.Helper()
    97  	ret := m.ctrl.Call(m, "DeleteOutputForAllTestSuite", arg0)
    98  	ret0, _ := ret[0].(error)
    99  	return ret0
   100  }
   101  
   102  // DeleteOutputForAllTestSuite indicates an expected call of DeleteOutputForAllTestSuite.
   103  func (mr *MockOutputRepositoryMockRecorder) DeleteOutputForAllTestSuite(arg0 interface{}) *gomock.Call {
   104  	mr.mock.ctrl.T.Helper()
   105  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteOutputForAllTestSuite", reflect.TypeOf((*MockOutputRepository)(nil).DeleteOutputForAllTestSuite), arg0)
   106  }
   107  
   108  // DeleteOutputForTestSuites mocks base method.
   109  func (m *MockOutputRepository) DeleteOutputForTestSuites(arg0 context.Context, arg1 []string) error {
   110  	m.ctrl.T.Helper()
   111  	ret := m.ctrl.Call(m, "DeleteOutputForTestSuites", arg0, arg1)
   112  	ret0, _ := ret[0].(error)
   113  	return ret0
   114  }
   115  
   116  // DeleteOutputForTestSuites indicates an expected call of DeleteOutputForTestSuites.
   117  func (mr *MockOutputRepositoryMockRecorder) DeleteOutputForTestSuites(arg0, arg1 interface{}) *gomock.Call {
   118  	mr.mock.ctrl.T.Helper()
   119  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteOutputForTestSuites", reflect.TypeOf((*MockOutputRepository)(nil).DeleteOutputForTestSuites), arg0, arg1)
   120  }
   121  
   122  // DeleteOutputForTests mocks base method.
   123  func (m *MockOutputRepository) DeleteOutputForTests(arg0 context.Context, arg1 []string) error {
   124  	m.ctrl.T.Helper()
   125  	ret := m.ctrl.Call(m, "DeleteOutputForTests", arg0, arg1)
   126  	ret0, _ := ret[0].(error)
   127  	return ret0
   128  }
   129  
   130  // DeleteOutputForTests indicates an expected call of DeleteOutputForTests.
   131  func (mr *MockOutputRepositoryMockRecorder) DeleteOutputForTests(arg0, arg1 interface{}) *gomock.Call {
   132  	mr.mock.ctrl.T.Helper()
   133  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteOutputForTests", reflect.TypeOf((*MockOutputRepository)(nil).DeleteOutputForTests), arg0, arg1)
   134  }
   135  
   136  // GetOutput mocks base method.
   137  func (m *MockOutputRepository) GetOutput(arg0 context.Context, arg1, arg2, arg3 string) (string, error) {
   138  	m.ctrl.T.Helper()
   139  	ret := m.ctrl.Call(m, "GetOutput", arg0, arg1, arg2, arg3)
   140  	ret0, _ := ret[0].(string)
   141  	ret1, _ := ret[1].(error)
   142  	return ret0, ret1
   143  }
   144  
   145  // GetOutput indicates an expected call of GetOutput.
   146  func (mr *MockOutputRepositoryMockRecorder) GetOutput(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   147  	mr.mock.ctrl.T.Helper()
   148  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOutput", reflect.TypeOf((*MockOutputRepository)(nil).GetOutput), arg0, arg1, arg2, arg3)
   149  }
   150  
   151  // GetOutputSize mocks base method.
   152  func (m *MockOutputRepository) GetOutputSize(arg0 context.Context, arg1, arg2, arg3 string) (int, error) {
   153  	m.ctrl.T.Helper()
   154  	ret := m.ctrl.Call(m, "GetOutputSize", arg0, arg1, arg2, arg3)
   155  	ret0, _ := ret[0].(int)
   156  	ret1, _ := ret[1].(error)
   157  	return ret0, ret1
   158  }
   159  
   160  // GetOutputSize indicates an expected call of GetOutputSize.
   161  func (mr *MockOutputRepositoryMockRecorder) GetOutputSize(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   162  	mr.mock.ctrl.T.Helper()
   163  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOutputSize", reflect.TypeOf((*MockOutputRepository)(nil).GetOutputSize), arg0, arg1, arg2, arg3)
   164  }
   165  
   166  // InsertOutput mocks base method.
   167  func (m *MockOutputRepository) InsertOutput(arg0 context.Context, arg1, arg2, arg3, arg4 string) error {
   168  	m.ctrl.T.Helper()
   169  	ret := m.ctrl.Call(m, "InsertOutput", arg0, arg1, arg2, arg3, arg4)
   170  	ret0, _ := ret[0].(error)
   171  	return ret0
   172  }
   173  
   174  // InsertOutput indicates an expected call of InsertOutput.
   175  func (mr *MockOutputRepositoryMockRecorder) InsertOutput(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
   176  	mr.mock.ctrl.T.Helper()
   177  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "InsertOutput", reflect.TypeOf((*MockOutputRepository)(nil).InsertOutput), arg0, arg1, arg2, arg3, arg4)
   178  }
   179  
   180  // StreamOutput mocks base method.
   181  func (m *MockOutputRepository) StreamOutput(arg0 context.Context, arg1, arg2, arg3 string) (io.Reader, error) {
   182  	m.ctrl.T.Helper()
   183  	ret := m.ctrl.Call(m, "StreamOutput", arg0, arg1, arg2, arg3)
   184  	ret0, _ := ret[0].(io.Reader)
   185  	ret1, _ := ret[1].(error)
   186  	return ret0, ret1
   187  }
   188  
   189  // StreamOutput indicates an expected call of StreamOutput.
   190  func (mr *MockOutputRepositoryMockRecorder) StreamOutput(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
   191  	mr.mock.ctrl.T.Helper()
   192  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamOutput", reflect.TypeOf((*MockOutputRepository)(nil).StreamOutput), arg0, arg1, arg2, arg3)
   193  }
   194  
   195  // UpdateOutput mocks base method.
   196  func (m *MockOutputRepository) UpdateOutput(arg0 context.Context, arg1, arg2, arg3, arg4 string) error {
   197  	m.ctrl.T.Helper()
   198  	ret := m.ctrl.Call(m, "UpdateOutput", arg0, arg1, arg2, arg3, arg4)
   199  	ret0, _ := ret[0].(error)
   200  	return ret0
   201  }
   202  
   203  // UpdateOutput indicates an expected call of UpdateOutput.
   204  func (mr *MockOutputRepositoryMockRecorder) UpdateOutput(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call {
   205  	mr.mock.ctrl.T.Helper()
   206  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateOutput", reflect.TypeOf((*MockOutputRepository)(nil).UpdateOutput), arg0, arg1, arg2, arg3, arg4)
   207  }