mocks

package
v0.1.0-M4 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: Apache-2.0, EPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks 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) Value

func (m *MockContext) Value(key 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(key interface{}) *gomock.Call

Value indicates an expected call of Value

type Mockcanceler

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

Mockcanceler is a mock of canceler interface

func NewMockcanceler

func NewMockcanceler(ctrl *gomock.Controller) *Mockcanceler

NewMockcanceler creates a new mock instance

func (*Mockcanceler) Done

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

Done mocks base method

func (*Mockcanceler) EXPECT

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

type MockcancelerMockRecorder

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

MockcancelerMockRecorder is the mock recorder for Mockcanceler

func (*MockcancelerMockRecorder) Done

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

Done indicates an expected call of Done

type Mockstringer

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

Mockstringer is a mock of stringer interface

func NewMockstringer

func NewMockstringer(ctrl *gomock.Controller) *Mockstringer

NewMockstringer creates a new mock instance

func (*Mockstringer) EXPECT

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

func (*Mockstringer) String

func (m *Mockstringer) String() string

String mocks base method

type MockstringerMockRecorder

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

MockstringerMockRecorder is the mock recorder for Mockstringer

func (*MockstringerMockRecorder) String

func (mr *MockstringerMockRecorder) String() *gomock.Call

String indicates an expected call of String

Jump to

Keyboard shortcuts

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