Documentation ¶
Overview ¶
Package mock_config is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRateLimitConfig ¶
type MockRateLimitConfig struct {
// contains filtered or unexported fields
}
MockRateLimitConfig is a mock of RateLimitConfig interface
func NewMockRateLimitConfig ¶
func NewMockRateLimitConfig(ctrl *gomock.Controller) *MockRateLimitConfig
NewMockRateLimitConfig creates a new mock instance
func (*MockRateLimitConfig) Dump ¶
func (m *MockRateLimitConfig) Dump() string
Dump mocks base method
func (*MockRateLimitConfig) EXPECT ¶
func (m *MockRateLimitConfig) EXPECT() *MockRateLimitConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRateLimitConfig) GetLimit ¶
func (m *MockRateLimitConfig) GetLimit(arg0 context.Context, arg1 string, arg2 *ratelimit.RateLimitDescriptor) *config.RateLimit
GetLimit mocks base method
type MockRateLimitConfigLoader ¶
type MockRateLimitConfigLoader struct {
// contains filtered or unexported fields
}
MockRateLimitConfigLoader is a mock of RateLimitConfigLoader interface
func NewMockRateLimitConfigLoader ¶
func NewMockRateLimitConfigLoader(ctrl *gomock.Controller) *MockRateLimitConfigLoader
NewMockRateLimitConfigLoader creates a new mock instance
func (*MockRateLimitConfigLoader) EXPECT ¶
func (m *MockRateLimitConfigLoader) EXPECT() *MockRateLimitConfigLoaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRateLimitConfigLoader) Load ¶
func (m *MockRateLimitConfigLoader) Load(arg0 []config.RateLimitConfigToLoad, arg1 gostats.Scope) config.RateLimitConfig
Load mocks base method
type MockRateLimitConfigLoaderMockRecorder ¶ added in v1.1.0
type MockRateLimitConfigLoaderMockRecorder struct {
// contains filtered or unexported fields
}
MockRateLimitConfigLoaderMockRecorder is the mock recorder for MockRateLimitConfigLoader
func (*MockRateLimitConfigLoaderMockRecorder) Load ¶ added in v1.1.0
func (mr *MockRateLimitConfigLoaderMockRecorder) Load(arg0, arg1 interface{}) *gomock.Call
Load indicates an expected call of Load
type MockRateLimitConfigMockRecorder ¶ added in v1.1.0
type MockRateLimitConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockRateLimitConfigMockRecorder is the mock recorder for MockRateLimitConfig
func (*MockRateLimitConfigMockRecorder) Dump ¶ added in v1.1.0
func (mr *MockRateLimitConfigMockRecorder) Dump() *gomock.Call
Dump indicates an expected call of Dump
func (*MockRateLimitConfigMockRecorder) GetLimit ¶ added in v1.1.0
func (mr *MockRateLimitConfigMockRecorder) GetLimit(arg0, arg1, arg2 interface{}) *gomock.Call
GetLimit indicates an expected call of GetLimit