mock_ctxmonitor

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ctxmonitor is a generated GoMock package.

Index

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) Count

func (m *MockMonitor) Count() int

Count mocks base method

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL