github.com/aporeto-inc/trireme-lib@v10.358.0+incompatible/monitor/internal/pod/mockzapcore_test.go (about)

     1  // Code generated by MockGen. DO NOT EDIT.
     2  // Source: go.uber.org/zap/zapcore (interfaces: Core)
     3  
     4  // Package podmonitor is a generated GoMock package.
     5  package podmonitor
     6  
     7  import (
     8  	reflect "reflect"
     9  
    10  	gomock "github.com/golang/mock/gomock"
    11  	zapcore "go.uber.org/zap/zapcore"
    12  )
    13  
    14  // MockCore is a mock of Core interface
    15  // nolint
    16  type MockCore struct {
    17  	ctrl     *gomock.Controller
    18  	recorder *MockCoreMockRecorder
    19  }
    20  
    21  // MockCoreMockRecorder is the mock recorder for MockCore
    22  // nolint
    23  type MockCoreMockRecorder struct {
    24  	mock *MockCore
    25  }
    26  
    27  // NewMockCore creates a new mock instance
    28  // nolint
    29  func NewMockCore(ctrl *gomock.Controller) *MockCore {
    30  	mock := &MockCore{ctrl: ctrl}
    31  	mock.recorder = &MockCoreMockRecorder{mock}
    32  	return mock
    33  }
    34  
    35  // EXPECT returns an object that allows the caller to indicate expected use
    36  // nolint
    37  func (m *MockCore) EXPECT() *MockCoreMockRecorder {
    38  	return m.recorder
    39  }
    40  
    41  // Check mocks base method
    42  // nolint
    43  func (m *MockCore) Check(arg0 zapcore.Entry, arg1 *zapcore.CheckedEntry) *zapcore.CheckedEntry {
    44  	m.ctrl.T.Helper()
    45  	ret := m.ctrl.Call(m, "Check", arg0, arg1)
    46  	ret0, _ := ret[0].(*zapcore.CheckedEntry)
    47  	return ret0
    48  }
    49  
    50  // Check indicates an expected call of Check
    51  // nolint
    52  func (mr *MockCoreMockRecorder) Check(arg0, arg1 interface{}) *gomock.Call {
    53  	mr.mock.ctrl.T.Helper()
    54  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Check", reflect.TypeOf((*MockCore)(nil).Check), arg0, arg1)
    55  }
    56  
    57  // Enabled mocks base method
    58  // nolint
    59  func (m *MockCore) Enabled(arg0 zapcore.Level) bool {
    60  	m.ctrl.T.Helper()
    61  	ret := m.ctrl.Call(m, "Enabled", arg0)
    62  	ret0, _ := ret[0].(bool)
    63  	return ret0
    64  }
    65  
    66  // Enabled indicates an expected call of Enabled
    67  // nolint
    68  func (mr *MockCoreMockRecorder) Enabled(arg0 interface{}) *gomock.Call {
    69  	mr.mock.ctrl.T.Helper()
    70  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Enabled", reflect.TypeOf((*MockCore)(nil).Enabled), arg0)
    71  }
    72  
    73  // Sync mocks base method
    74  // nolint
    75  func (m *MockCore) Sync() error {
    76  	m.ctrl.T.Helper()
    77  	ret := m.ctrl.Call(m, "Sync")
    78  	ret0, _ := ret[0].(error)
    79  	return ret0
    80  }
    81  
    82  // Sync indicates an expected call of Sync
    83  // nolint
    84  func (mr *MockCoreMockRecorder) Sync() *gomock.Call {
    85  	mr.mock.ctrl.T.Helper()
    86  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Sync", reflect.TypeOf((*MockCore)(nil).Sync))
    87  }
    88  
    89  // With mocks base method
    90  // nolint
    91  func (m *MockCore) With(arg0 []zapcore.Field) zapcore.Core {
    92  	m.ctrl.T.Helper()
    93  	ret := m.ctrl.Call(m, "With", arg0)
    94  	ret0, _ := ret[0].(zapcore.Core)
    95  	return ret0
    96  }
    97  
    98  // With indicates an expected call of With
    99  // nolint
   100  func (mr *MockCoreMockRecorder) With(arg0 interface{}) *gomock.Call {
   101  	mr.mock.ctrl.T.Helper()
   102  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "With", reflect.TypeOf((*MockCore)(nil).With), arg0)
   103  }
   104  
   105  // Write mocks base method
   106  // nolint
   107  func (m *MockCore) Write(arg0 zapcore.Entry, arg1 []zapcore.Field) error {
   108  	m.ctrl.T.Helper()
   109  	ret := m.ctrl.Call(m, "Write", arg0, arg1)
   110  	ret0, _ := ret[0].(error)
   111  	return ret0
   112  }
   113  
   114  // Write indicates an expected call of Write
   115  // nolint
   116  func (mr *MockCoreMockRecorder) Write(arg0, arg1 interface{}) *gomock.Call {
   117  	mr.mock.ctrl.T.Helper()
   118  	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Write", reflect.TypeOf((*MockCore)(nil).Write), arg0, arg1)
   119  }