Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCounter ¶
type MockCounter struct {
// contains filtered or unexported fields
}
MockCounter is a mock of Counter interface
func NewMockCounter ¶
func NewMockCounter(ctrl *gomock.Controller) *MockCounter
NewMockCounter creates a new mock instance
func (*MockCounter) EXPECT ¶
func (m *MockCounter) EXPECT() *MockCounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCounter) Increment ¶
func (m *MockCounter) Increment(metric string)
Increment mocks base method
type MockCounterMockRecorder ¶
type MockCounterMockRecorder struct {
// contains filtered or unexported fields
}
MockCounterMockRecorder is the mock recorder for MockCounter
func (*MockCounterMockRecorder) Increment ¶
func (mr *MockCounterMockRecorder) Increment(metric interface{}) *gomock.Call
Increment indicates an expected call of Increment
func (*MockCounterMockRecorder) Reset ¶
func (mr *MockCounterMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset
func (*MockCounterMockRecorder) Stats ¶
func (mr *MockCounterMockRecorder) Stats(metrics ...interface{}) *gomock.Call
Stats indicates an expected call of Stats
type MockRestrictor ¶
type MockRestrictor struct {
// contains filtered or unexported fields
}
MockRestrictor is a mock of Restrictor interface
func NewMockRestrictor ¶
func NewMockRestrictor(ctrl *gomock.Controller) *MockRestrictor
NewMockRestrictor creates a new mock instance
func (*MockRestrictor) Check ¶
func (m *MockRestrictor) Check(arg0 context.Context) (bool, error)
Check mocks base method
func (*MockRestrictor) EXPECT ¶
func (m *MockRestrictor) EXPECT() *MockRestrictorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRestrictorMockRecorder ¶
type MockRestrictorMockRecorder struct {
// contains filtered or unexported fields
}
MockRestrictorMockRecorder is the mock recorder for MockRestrictor
func (*MockRestrictorMockRecorder) Check ¶
func (mr *MockRestrictorMockRecorder) Check(arg0 interface{}) *gomock.Call
Check indicates an expected call of Check
func (*MockRestrictorMockRecorder) Defer ¶
func (mr *MockRestrictorMockRecorder) Defer() *gomock.Call
Defer indicates an expected call of Defer
type MockTimer ¶
type MockTimer struct {
// contains filtered or unexported fields
}
MockTimer is a mock of Timer interface
func NewMockTimer ¶
func NewMockTimer(ctrl *gomock.Controller) *MockTimer
NewMockTimer creates a new mock instance
func (*MockTimer) EXPECT ¶
func (m *MockTimer) EXPECT() *MockTimerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTimerMockRecorder ¶
type MockTimerMockRecorder struct {
// contains filtered or unexported fields
}
MockTimerMockRecorder is the mock recorder for MockTimer
func (*MockTimerMockRecorder) Next ¶
func (mr *MockTimerMockRecorder) Next(arg0 interface{}) *gomock.Call
Next indicates an expected call of Next
func (*MockTimerMockRecorder) Reset ¶
func (mr *MockTimerMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset