Documentation ¶
Overview ¶
Package mock_context is a generated GoMock package.
Index ¶
- type MockContext
- func (m *MockContext) Deadline() (time.Time, bool)
- func (m *MockContext) Done() <-chan struct{}
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) Err() error
- func (*MockContext) NEW(ctrl *gomock.Controller) *MockContext
- func (m *MockContext) Value(arg0 interface{}) interface{}
- type MockContextMockRecorder
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) EXPECT ¶
func (m *MockContext) EXPECT() *MockContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContext) NEW ¶
func (*MockContext) NEW(ctrl *gomock.Controller) *MockContext
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.
Click to show internal directories.
Click to hide internal directories.