mock_context

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_context is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContext

type MockContext struct {
	// contains filtered or unexported fields
}

MockContext is a mock of Context interface.

func NewMockContext

func NewMockContext(ctrl *gomock.Controller) *MockContext

NewMockContext creates a new mock instance.

func (*MockContext) Deadline

func (m *MockContext) Deadline() (time.Time, bool)

Deadline mocks base method.

func (*MockContext) Done

func (m *MockContext) Done() <-chan struct{}

Done mocks base method.

func (*MockContext) EXPECT

func (m *MockContext) EXPECT() *MockContextMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockContext) Err

func (m *MockContext) Err() error

Err mocks base method.

func (*MockContext) NEW

NEW creates a MockContext.

func (*MockContext) Value

func (m *MockContext) Value(arg0 interface{}) interface{}

Value mocks base method.

type MockContextMockRecorder

type MockContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockContextMockRecorder is the mock recorder for MockContext.

func (*MockContextMockRecorder) Deadline

func (mr *MockContextMockRecorder) Deadline() *gomock.Call

Deadline indicates an expected call of Deadline.

func (*MockContextMockRecorder) Done

func (mr *MockContextMockRecorder) Done() *gomock.Call

Done indicates an expected call of Done.

func (*MockContextMockRecorder) Err

func (mr *MockContextMockRecorder) Err() *gomock.Call

Err indicates an expected call of Err.

func (*MockContextMockRecorder) Value

func (mr *MockContextMockRecorder) Value(arg0 interface{}) *gomock.Call

Value indicates an expected call of Value.

Jump to

Keyboard shortcuts

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