github.com/kubeshop/testkube@v1.17.23/pkg/tcl/expressionstcl/mock_machine.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: github.com/kubeshop/testkube/pkg/tcl/expressionstcl (interfaces: Machine)
     3  
     4  // Package expressionstcl is a generated GoMock package.
     5  package expressionstcl
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  )
    12  
    13  // MockMachine is a mock of Machine interface.
    14  type MockMachine struct {
    15  	ctrl     *gomock.Controller
    16  	recorder *MockMachineMockRecorder
    17  }
    18  
    19  // MockMachineMockRecorder is the mock recorder for MockMachine.
    20  type MockMachineMockRecorder struct {
    21  	mock *MockMachine
    22  }
    23  
    24  // NewMockMachine creates a new mock instance.
    25  func NewMockMachine(ctrl *gomock.Controller) *MockMachine {
    26  	mock := &MockMachine{ctrl: ctrl}
    27  	mock.recorder = &MockMachineMockRecorder{mock}
    28  	return mock
    29  }
    30  
    31  // EXPECT returns an object that allows the caller to indicate expected use.
    32  func (m *MockMachine) EXPECT() *MockMachineMockRecorder {
    33  	return m.recorder
    34  }
    35  
    36  // Call mocks base method.
    37  func (m *MockMachine) Call(arg0 string, arg1 ...StaticValue) (Expression, bool, error) {
    38  	m.ctrl.T.Helper()
    39  	varargs := []interface{}{arg0}
    40  	for _, a := range arg1 {
    41  		varargs = append(varargs, a)
    42  	}
    43  	ret := m.ctrl.Call(m, "Call", varargs...)
    44  	ret0, _ := ret[0].(Expression)
    45  	ret1, _ := ret[1].(bool)
    46  	ret2, _ := ret[2].(error)
    47  	return ret0, ret1, ret2
    48  }
    49  
    50  // Call indicates an expected call of Call.
    51  func (mr *MockMachineMockRecorder) Call(arg0 interface{}, arg1 ...interface{}) *gomock.Call {
    52  	mr.mock.ctrl.T.Helper()
    53  	varargs := append([]interface{}{arg0}, arg1...)
    54  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Call", reflect.TypeOf((*MockMachine)(nil).Call), varargs...)
    55  }
    56  
    57  // Get mocks base method.
    58  func (m *MockMachine) Get(arg0 string) (Expression, bool, error) {
    59  	m.ctrl.T.Helper()
    60  	ret := m.ctrl.Call(m, "Get", arg0)
    61  	ret0, _ := ret[0].(Expression)
    62  	ret1, _ := ret[1].(bool)
    63  	ret2, _ := ret[2].(error)
    64  	return ret0, ret1, ret2
    65  }
    66  
    67  // Get indicates an expected call of Get.
    68  func (mr *MockMachineMockRecorder) Get(arg0 interface{}) *gomock.Call {
    69  	mr.mock.ctrl.T.Helper()
    70  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockMachine)(nil).Get), arg0)
    71  }