Documentation ¶
Overview ¶
Package mock_ctxmonitor is a generated GoMock package.
Index ¶
- type MockMonitor
- func (m *MockMonitor) Count() int
- func (m *MockMonitor) EXPECT() *MockMonitorMockRecorder
- func (m *MockMonitor) SetDeadline(arg0 time.Time)
- func (m *MockMonitor) WithDeadline(arg0 context.Context, arg1 time.Time) (context.Context, context.CancelFunc)
- func (m *MockMonitor) WithTimeout(arg0 context.Context, arg1 time.Duration) (context.Context, context.CancelFunc)
- type MockMonitorMockRecorder
- func (mr *MockMonitorMockRecorder) Count() *gomock.Call
- func (mr *MockMonitorMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockMonitorMockRecorder) WithDeadline(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMonitorMockRecorder) WithTimeout(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMonitor ¶
type MockMonitor struct {
// contains filtered or unexported fields
}
MockMonitor is a mock of Monitor interface
func NewMockMonitor ¶
func NewMockMonitor(ctrl *gomock.Controller) *MockMonitor
NewMockMonitor creates a new mock instance
func (*MockMonitor) EXPECT ¶
func (m *MockMonitor) EXPECT() *MockMonitorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMonitor) SetDeadline ¶
func (m *MockMonitor) SetDeadline(arg0 time.Time)
SetDeadline mocks base method
func (*MockMonitor) WithDeadline ¶
func (m *MockMonitor) WithDeadline(arg0 context.Context, arg1 time.Time) (context.Context, context.CancelFunc)
WithDeadline mocks base method
func (*MockMonitor) WithTimeout ¶
func (m *MockMonitor) WithTimeout(arg0 context.Context, arg1 time.Duration) (context.Context, context.CancelFunc)
WithTimeout mocks base method
type MockMonitorMockRecorder ¶
type MockMonitorMockRecorder struct {
// contains filtered or unexported fields
}
MockMonitorMockRecorder is the mock recorder for MockMonitor
func (*MockMonitorMockRecorder) Count ¶
func (mr *MockMonitorMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count
func (*MockMonitorMockRecorder) SetDeadline ¶
func (mr *MockMonitorMockRecorder) SetDeadline(arg0 interface{}) *gomock.Call
SetDeadline indicates an expected call of SetDeadline
func (*MockMonitorMockRecorder) WithDeadline ¶
func (mr *MockMonitorMockRecorder) WithDeadline(arg0, arg1 interface{}) *gomock.Call
WithDeadline indicates an expected call of WithDeadline
func (*MockMonitorMockRecorder) WithTimeout ¶
func (mr *MockMonitorMockRecorder) WithTimeout(arg0, arg1 interface{}) *gomock.Call
WithTimeout indicates an expected call of WithTimeout
Click to show internal directories.
Click to hide internal directories.