Documentation ¶
Overview ¶
Package fixtures is a generated GoMock package.
Index ¶
- func NewMatcher(f func(interface{}) bool, s string) gomock.Matcher
- type Closer
- type ContextKey
- type Initializer
- type Injector
- type MockCloser
- type MockCloserMockRecorder
- type MockInitializer
- type MockInitializerMockRecorder
- type MockInjector
- type MockInjectorMockRecorder
- type MockReleaser
- type MockReleaserMockRecorder
- type Releaser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContextKey ¶
type ContextKey int
ContextKey represents a context key.
const ( FirstContextKey ContextKey = iota SecondContextKey ContextKey = iota ThirdContextKey ContextKey = iota FourthContextKey ContextKey = iota )
Known context keys.
type Initializer ¶
Initializer allows to mock an Initializer func.
type MockCloser ¶
type MockCloser struct {
// contains filtered or unexported fields
}
MockCloser is a mock of Closer interface.
func NewMockCloser ¶
func NewMockCloser(ctrl *gomock.Controller) *MockCloser
NewMockCloser creates a new mock instance.
func (*MockCloser) EXPECT ¶
func (m *MockCloser) EXPECT() *MockCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCloserMockRecorder ¶
type MockCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockCloserMockRecorder is the mock recorder for MockCloser.
func (*MockCloserMockRecorder) Close ¶
func (mr *MockCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockInitializer ¶
type MockInitializer struct {
// contains filtered or unexported fields
}
MockInitializer is a mock of Initializer interface.
func NewMockInitializer ¶
func NewMockInitializer(ctrl *gomock.Controller) *MockInitializer
NewMockInitializer creates a new mock instance.
func (*MockInitializer) EXPECT ¶
func (m *MockInitializer) EXPECT() *MockInitializerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInitializer) Initialize ¶
Initialize mocks base method.
type MockInitializerMockRecorder ¶
type MockInitializerMockRecorder struct {
// contains filtered or unexported fields
}
MockInitializerMockRecorder is the mock recorder for MockInitializer.
func (*MockInitializerMockRecorder) Initialize ¶
func (mr *MockInitializerMockRecorder) Initialize(ctx interface{}) *gomock.Call
Initialize indicates an expected call of Initialize.
type MockInjector ¶
type MockInjector struct {
// contains filtered or unexported fields
}
MockInjector is a mock of Injector interface.
func NewMockInjector ¶
func NewMockInjector(ctrl *gomock.Controller) *MockInjector
NewMockInjector creates a new mock instance.
func (*MockInjector) EXPECT ¶
func (m *MockInjector) EXPECT() *MockInjectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockInjectorMockRecorder ¶
type MockInjectorMockRecorder struct {
// contains filtered or unexported fields
}
MockInjectorMockRecorder is the mock recorder for MockInjector.
func (*MockInjectorMockRecorder) Inject ¶
func (mr *MockInjectorMockRecorder) Inject(arg0 interface{}) *gomock.Call
Inject indicates an expected call of Inject.
type MockReleaser ¶
type MockReleaser struct {
// contains filtered or unexported fields
}
MockReleaser is a mock of Releaser interface.
func NewMockReleaser ¶
func NewMockReleaser(ctrl *gomock.Controller) *MockReleaser
NewMockReleaser creates a new mock instance.
func (*MockReleaser) EXPECT ¶
func (m *MockReleaser) EXPECT() *MockReleaserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockReleaserMockRecorder ¶
type MockReleaserMockRecorder struct {
// contains filtered or unexported fields
}
MockReleaserMockRecorder is the mock recorder for MockReleaser.
func (*MockReleaserMockRecorder) Release ¶
func (mr *MockReleaserMockRecorder) Release() *gomock.Call
Release indicates an expected call of Release.