Documentation ¶
Overview ¶
Package mock_limiter is a generated GoMock package.
Package mock_limiter is a generated GoMock package.
Index ¶
- type MockDDBClient
- func (m *MockDDBClient) BatchWriteItem(arg0 context.Context, arg1 *dynamodb.BatchWriteItemInput, ...) (*dynamodb.BatchWriteItemOutput, error)
- func (m *MockDDBClient) EXPECT() *MockDDBClientMockRecorder
- func (m *MockDDBClient) GetItem(arg0 context.Context, arg1 *dynamodb.GetItemInput, ...) (*dynamodb.GetItemOutput, error)
- func (m *MockDDBClient) UpdateItem(arg0 context.Context, arg1 *dynamodb.UpdateItemInput, ...) (*dynamodb.UpdateItemOutput, error)
- type MockDDBClientMockRecorder
- func (mr *MockDDBClientMockRecorder) BatchWriteItem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDDBClientMockRecorder) GetItem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDDBClientMockRecorder) UpdateItem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockLimitPreparer
- type MockLimitPreparerMockRecorder
- type MockLimiter
- type MockLimiterMockRecorder
- type MockPreparer
- type MockPreparerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDDBClient ¶
type MockDDBClient struct {
// contains filtered or unexported fields
}
MockDDBClient is a mock of DDBClient interface.
func NewMockDDBClient ¶
func NewMockDDBClient(ctrl *gomock.Controller) *MockDDBClient
NewMockDDBClient creates a new mock instance.
func (*MockDDBClient) BatchWriteItem ¶
func (m *MockDDBClient) BatchWriteItem(arg0 context.Context, arg1 *dynamodb.BatchWriteItemInput, arg2 ...func(*dynamodb.Options)) (*dynamodb.BatchWriteItemOutput, error)
BatchWriteItem mocks base method.
func (*MockDDBClient) EXPECT ¶
func (m *MockDDBClient) EXPECT() *MockDDBClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDDBClient) GetItem ¶
func (m *MockDDBClient) GetItem(arg0 context.Context, arg1 *dynamodb.GetItemInput, arg2 ...func(*dynamodb.Options)) (*dynamodb.GetItemOutput, error)
GetItem mocks base method.
func (*MockDDBClient) UpdateItem ¶
func (m *MockDDBClient) UpdateItem(arg0 context.Context, arg1 *dynamodb.UpdateItemInput, arg2 ...func(*dynamodb.Options)) (*dynamodb.UpdateItemOutput, error)
UpdateItem mocks base method.
type MockDDBClientMockRecorder ¶
type MockDDBClientMockRecorder struct {
// contains filtered or unexported fields
}
MockDDBClientMockRecorder is the mock recorder for MockDDBClient.
func (*MockDDBClientMockRecorder) BatchWriteItem ¶
func (mr *MockDDBClientMockRecorder) BatchWriteItem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
BatchWriteItem indicates an expected call of BatchWriteItem.
func (*MockDDBClientMockRecorder) GetItem ¶
func (mr *MockDDBClientMockRecorder) GetItem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetItem indicates an expected call of GetItem.
func (*MockDDBClientMockRecorder) UpdateItem ¶
func (mr *MockDDBClientMockRecorder) UpdateItem(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateItem indicates an expected call of UpdateItem.
type MockLimitPreparer ¶
type MockLimitPreparer struct {
// contains filtered or unexported fields
}
MockLimitPreparer is a mock of LimitPreparer interface.
func NewMockLimitPreparer ¶
func NewMockLimitPreparer(ctrl *gomock.Controller) *MockLimitPreparer
NewMockLimitPreparer creates a new mock instance.
func (*MockLimitPreparer) EXPECT ¶
func (m *MockLimitPreparer) EXPECT() *MockLimitPreparerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLimitPreparer) PrepareTokens ¶
func (m *MockLimitPreparer) PrepareTokens(arg0 context.Context, arg1 string) error
PrepareTokens mocks base method.
func (*MockLimitPreparer) ShouldThrottle ¶
ShouldThrottle mocks base method.
type MockLimitPreparerMockRecorder ¶
type MockLimitPreparerMockRecorder struct {
// contains filtered or unexported fields
}
MockLimitPreparerMockRecorder is the mock recorder for MockLimitPreparer.
func (*MockLimitPreparerMockRecorder) PrepareTokens ¶
func (mr *MockLimitPreparerMockRecorder) PrepareTokens(arg0, arg1 interface{}) *gomock.Call
PrepareTokens indicates an expected call of PrepareTokens.
func (*MockLimitPreparerMockRecorder) ShouldThrottle ¶
func (mr *MockLimitPreparerMockRecorder) ShouldThrottle(arg0, arg1 interface{}) *gomock.Call
ShouldThrottle indicates an expected call of ShouldThrottle.
type MockLimiter ¶
type MockLimiter struct {
// contains filtered or unexported fields
}
MockLimiter is a mock of Limiter interface.
func NewMockLimiter ¶
func NewMockLimiter(ctrl *gomock.Controller) *MockLimiter
NewMockLimiter creates a new mock instance.
func (*MockLimiter) EXPECT ¶
func (m *MockLimiter) EXPECT() *MockLimiterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLimiter) ShouldThrottle ¶
ShouldThrottle mocks base method.
type MockLimiterMockRecorder ¶
type MockLimiterMockRecorder struct {
// contains filtered or unexported fields
}
MockLimiterMockRecorder is the mock recorder for MockLimiter.
func (*MockLimiterMockRecorder) ShouldThrottle ¶
func (mr *MockLimiterMockRecorder) ShouldThrottle(arg0, arg1 interface{}) *gomock.Call
ShouldThrottle indicates an expected call of ShouldThrottle.
type MockPreparer ¶
type MockPreparer struct {
// contains filtered or unexported fields
}
MockPreparer is a mock of Preparer interface.
func NewMockPreparer ¶
func NewMockPreparer(ctrl *gomock.Controller) *MockPreparer
NewMockPreparer creates a new mock instance.
func (*MockPreparer) EXPECT ¶
func (m *MockPreparer) EXPECT() *MockPreparerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPreparer) PrepareTokens ¶
func (m *MockPreparer) PrepareTokens(arg0 context.Context, arg1 string) error
PrepareTokens mocks base method.
type MockPreparerMockRecorder ¶
type MockPreparerMockRecorder struct {
// contains filtered or unexported fields
}
MockPreparerMockRecorder is the mock recorder for MockPreparer.
func (*MockPreparerMockRecorder) PrepareTokens ¶
func (mr *MockPreparerMockRecorder) PrepareTokens(arg0, arg1 interface{}) *gomock.Call
PrepareTokens indicates an expected call of PrepareTokens.