Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type Func
- type MockErrorAggregator
- type MockErrorAggregatorFactory
- type MockErrorAggregatorFactoryMockRecorder
- type MockErrorAggregatorMockRecorder
- type MockFunc
- type MockFuncMockRecorder
- type MockIntervalFactory
- type MockIntervalFactoryMockRecorder
- type MockWaitFunc
- type MockWaitFuncMockRecorder
- type WaitFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockErrorAggregator ¶
type MockErrorAggregator struct {
// contains filtered or unexported fields
}
MockErrorAggregator is a mock of ErrorAggregator interface.
func NewMockErrorAggregator ¶
func NewMockErrorAggregator(ctrl *gomock.Controller) *MockErrorAggregator
NewMockErrorAggregator creates a new mock instance.
func (*MockErrorAggregator) EXPECT ¶
func (m *MockErrorAggregator) EXPECT() *MockErrorAggregatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockErrorAggregator) Error ¶
func (m *MockErrorAggregator) Error() error
Error mocks base method.
func (*MockErrorAggregator) Minor ¶
func (m *MockErrorAggregator) Minor(arg0 error)
Minor mocks base method.
func (*MockErrorAggregator) Severe ¶
func (m *MockErrorAggregator) Severe(arg0 error)
Severe mocks base method.
type MockErrorAggregatorFactory ¶
type MockErrorAggregatorFactory struct {
// contains filtered or unexported fields
}
MockErrorAggregatorFactory is a mock of ErrorAggregatorFactory interface.
func NewMockErrorAggregatorFactory ¶
func NewMockErrorAggregatorFactory(ctrl *gomock.Controller) *MockErrorAggregatorFactory
NewMockErrorAggregatorFactory creates a new mock instance.
func (*MockErrorAggregatorFactory) EXPECT ¶
func (m *MockErrorAggregatorFactory) EXPECT() *MockErrorAggregatorFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockErrorAggregatorFactory) New ¶
func (m *MockErrorAggregatorFactory) New() retry.ErrorAggregator
New mocks base method.
type MockErrorAggregatorFactoryMockRecorder ¶
type MockErrorAggregatorFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockErrorAggregatorFactoryMockRecorder is the mock recorder for MockErrorAggregatorFactory.
func (*MockErrorAggregatorFactoryMockRecorder) New ¶
func (mr *MockErrorAggregatorFactoryMockRecorder) New() *gomock.Call
New indicates an expected call of New.
type MockErrorAggregatorMockRecorder ¶
type MockErrorAggregatorMockRecorder struct {
// contains filtered or unexported fields
}
MockErrorAggregatorMockRecorder is the mock recorder for MockErrorAggregator.
func (*MockErrorAggregatorMockRecorder) Error ¶
func (mr *MockErrorAggregatorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockErrorAggregatorMockRecorder) Minor ¶
func (mr *MockErrorAggregatorMockRecorder) Minor(arg0 interface{}) *gomock.Call
Minor indicates an expected call of Minor.
func (*MockErrorAggregatorMockRecorder) Severe ¶
func (mr *MockErrorAggregatorMockRecorder) Severe(arg0 interface{}) *gomock.Call
Severe indicates an expected call of Severe.
type MockFunc ¶
type MockFunc struct {
// contains filtered or unexported fields
}
MockFunc is a mock of Func interface.
func NewMockFunc ¶
func NewMockFunc(ctrl *gomock.Controller) *MockFunc
NewMockFunc creates a new mock instance.
func (*MockFunc) EXPECT ¶
func (m *MockFunc) EXPECT() *MockFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFuncMockRecorder ¶
type MockFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockFuncMockRecorder is the mock recorder for MockFunc.
func (*MockFuncMockRecorder) Do ¶
func (mr *MockFuncMockRecorder) Do(arg0 interface{}) *gomock.Call
Do indicates an expected call of Do.
type MockIntervalFactory ¶
type MockIntervalFactory struct {
// contains filtered or unexported fields
}
MockIntervalFactory is a mock of IntervalFactory interface.
func NewMockIntervalFactory ¶
func NewMockIntervalFactory(ctrl *gomock.Controller) *MockIntervalFactory
NewMockIntervalFactory creates a new mock instance.
func (*MockIntervalFactory) EXPECT ¶
func (m *MockIntervalFactory) EXPECT() *MockIntervalFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIntervalFactoryMockRecorder ¶
type MockIntervalFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockIntervalFactoryMockRecorder is the mock recorder for MockIntervalFactory.
func (*MockIntervalFactoryMockRecorder) New ¶
func (mr *MockIntervalFactoryMockRecorder) New(arg0 interface{}) *gomock.Call
New indicates an expected call of New.
type MockWaitFunc ¶
type MockWaitFunc struct {
// contains filtered or unexported fields
}
MockWaitFunc is a mock of WaitFunc interface.
func NewMockWaitFunc ¶
func NewMockWaitFunc(ctrl *gomock.Controller) *MockWaitFunc
NewMockWaitFunc creates a new mock instance.
func (*MockWaitFunc) Do ¶
func (m *MockWaitFunc) Do(arg0 context.Context) (context.Context, context.CancelFunc)
Do mocks base method.
func (*MockWaitFunc) EXPECT ¶
func (m *MockWaitFunc) EXPECT() *MockWaitFuncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWaitFuncMockRecorder ¶
type MockWaitFuncMockRecorder struct {
// contains filtered or unexported fields
}
MockWaitFuncMockRecorder is the mock recorder for MockWaitFunc.
func (*MockWaitFuncMockRecorder) Do ¶
func (mr *MockWaitFuncMockRecorder) Do(arg0 interface{}) *gomock.Call
Do indicates an expected call of Do.