github.com/kubeshop/testkube@v1.17.23/pkg/configmap/mock_client.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/kubeshop/testkube/pkg/configmap (interfaces: Interface)
     3  
     4  // Package configmap is a generated GoMock package.
     5  package configmap
     6  
     7  import (
     8  	context "context"
     9  	reflect "reflect"
    10  
    11  	gomock "github.com/golang/mock/gomock"
    12  )
    13  
    14  // MockInterface is a mock of Interface interface.
    15  type MockInterface struct {
    16  	ctrl     *gomock.Controller
    17  	recorder *MockInterfaceMockRecorder
    18  }
    19  
    20  // MockInterfaceMockRecorder is the mock recorder for MockInterface.
    21  type MockInterfaceMockRecorder struct {
    22  	mock *MockInterface
    23  }
    24  
    25  // NewMockInterface creates a new mock instance.
    26  func NewMockInterface(ctrl *gomock.Controller) *MockInterface {
    27  	mock := &MockInterface{ctrl: ctrl}
    28  	mock.recorder = &MockInterfaceMockRecorder{mock}
    29  	return mock
    30  }
    31  
    32  // EXPECT returns an object that allows the caller to indicate expected use.
    33  func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder {
    34  	return m.recorder
    35  }
    36  
    37  // Apply mocks base method.
    38  func (m *MockInterface) Apply(arg0 context.Context, arg1 string, arg2 map[string]string) error {
    39  	m.ctrl.T.Helper()
    40  	ret := m.ctrl.Call(m, "Apply", arg0, arg1, arg2)
    41  	ret0, _ := ret[0].(error)
    42  	return ret0
    43  }
    44  
    45  // Apply indicates an expected call of Apply.
    46  func (mr *MockInterfaceMockRecorder) Apply(arg0, arg1, arg2 interface{}) *gomock.Call {
    47  	mr.mock.ctrl.T.Helper()
    48  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Apply", reflect.TypeOf((*MockInterface)(nil).Apply), arg0, arg1, arg2)
    49  }
    50  
    51  // Create mocks base method.
    52  func (m *MockInterface) Create(arg0 context.Context, arg1 string, arg2 map[string]string) error {
    53  	m.ctrl.T.Helper()
    54  	ret := m.ctrl.Call(m, "Create", arg0, arg1, arg2)
    55  	ret0, _ := ret[0].(error)
    56  	return ret0
    57  }
    58  
    59  // Create indicates an expected call of Create.
    60  func (mr *MockInterfaceMockRecorder) Create(arg0, arg1, arg2 interface{}) *gomock.Call {
    61  	mr.mock.ctrl.T.Helper()
    62  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Create", reflect.TypeOf((*MockInterface)(nil).Create), arg0, arg1, arg2)
    63  }
    64  
    65  // Get mocks base method.
    66  func (m *MockInterface) Get(arg0 context.Context, arg1 string, arg2 ...string) (map[string]string, error) {
    67  	m.ctrl.T.Helper()
    68  	varargs := []interface{}{arg0, arg1}
    69  	for _, a := range arg2 {
    70  		varargs = append(varargs, a)
    71  	}
    72  	ret := m.ctrl.Call(m, "Get", varargs...)
    73  	ret0, _ := ret[0].(map[string]string)
    74  	ret1, _ := ret[1].(error)
    75  	return ret0, ret1
    76  }
    77  
    78  // Get indicates an expected call of Get.
    79  func (mr *MockInterfaceMockRecorder) Get(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call {
    80  	mr.mock.ctrl.T.Helper()
    81  	varargs := append([]interface{}{arg0, arg1}, arg2...)
    82  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockInterface)(nil).Get), varargs...)
    83  }
    84  
    85  // Update mocks base method.
    86  func (m *MockInterface) Update(arg0 context.Context, arg1 string, arg2 map[string]string) error {
    87  	m.ctrl.T.Helper()
    88  	ret := m.ctrl.Call(m, "Update", arg0, arg1, arg2)
    89  	ret0, _ := ret[0].(error)
    90  	return ret0
    91  }
    92  
    93  // Update indicates an expected call of Update.
    94  func (mr *MockInterfaceMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call {
    95  	mr.mock.ctrl.T.Helper()
    96  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Update", reflect.TypeOf((*MockInterface)(nil).Update), arg0, arg1, arg2)
    97  }