Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/envoyproxy/ratelimit
/ functions
Functions
294 in github.com/envoyproxy/ratelimit
⨍
Functions
294
◇
Types & classes
79
↓ 1 callers
Method
startGrpc
()
src/server/server_impl.go:87
↓ 1 callers
Function
validateYamlKeys
Validate a YAML config file's keys. @param config specifies the file contents to load. @param any specifies the yaml file and a map.
src/config/config_impl.go:158
Method
AddDebugHttpEndpoint
(path string, help string, handler http.HandlerFunc)
src/server/server_impl.go:50
Method
AddUpdateCallback
AddUpdateCallback indicates an expected call of AddUpdateCallback
test/mocks/runtime/loader/loader.go:42
Method
Descriptor
()
proto/ratelimit/ratelimit.pb.go:110
Method
Descriptor
()
proto/ratelimit/ratelimit.pb.go:183
Method
Descriptor
()
proto/ratelimit/ratelimit.pb.go:222
Method
Descriptor
()
proto/ratelimit/ratelimit.pb.go:269
Method
Descriptor
()
proto/ratelimit/ratelimit.pb.go:321
Method
Descriptor
()
proto/ratelimit/ratelimit.pb.go:371
Method
DoLimit
(_param0 context.Context, _param1 *ratelimit.RateLimitRequest, _param2 []*config.RateLimit)
test/mocks/redis/redis.go:35
Method
DoLimit
(arg0, arg1, arg2 interface{})
test/mocks/redis/redis.go:41
Method
DoLimit
( ctx context.Context, request *pb.RateLimitRequest, limits []*config.RateLimit)
src/redis/cache_impl.go:120
Method
Dump
Dump mocks base method
test/mocks/config/config.go:40
Method
Dump
Dump indicates an expected call of Dump
test/mocks/config/config.go:47
Method
Dump
()
src/config/config_impl.go:235
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use
test/mocks/runtime/loader/loader.go:32
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use
test/mocks/runtime/snapshot/snapshot.go:33
Method
EXPECT
()
test/mocks/redis/redis.go:31
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use
test/mocks/config/config.go:35
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use
test/mocks/config/config.go:82
Method
Entries
Entries mocks base method
test/mocks/runtime/snapshot/snapshot.go:38
Method
Entries
Entries indicates an expected call of Entries
test/mocks/runtime/snapshot/snapshot.go:45
Method
EnumDescriptor
()
proto/ratelimit/ratelimit.pb.go:54
Method
EnumDescriptor
()
proto/ratelimit/ratelimit.pb.go:80
Method
FeatureEnabled
FeatureEnabled mocks base method
test/mocks/runtime/snapshot/snapshot.go:50
Method
FeatureEnabled
FeatureEnabled indicates an expected call of FeatureEnabled
test/mocks/runtime/snapshot/snapshot.go:57
Method
FeatureEnabledForID
FeatureEnabledForID mocks base method
test/mocks/runtime/snapshot/snapshot.go:62
Method
FeatureEnabledForID
FeatureEnabledForID indicates an expected call of FeatureEnabledForID
test/mocks/runtime/snapshot/snapshot.go:69
Method
FlushCounter
(name string, value uint64)
test/common/common.go:22
Method
FlushGauge
(name string, value uint64)
test/common/common.go:28
Method
FlushTimer
(name string, value float64)
test/common/common.go:34
Method
Get
Get mocks base method
test/mocks/runtime/snapshot/snapshot.go:74
Method
Get
Get indicates an expected call of Get
test/mocks/runtime/snapshot/snapshot.go:81
Method
Get
()
test/mocks/redis/redis.go:66
Method
Get
()
test/mocks/redis/redis.go:72
Method
Get
()
src/redis/driver_impl.go:48
Method
GetCode
()
proto/ratelimit/ratelimit.pb.go:392
Method
GetCurrentLimit
()
proto/ratelimit/ratelimit.pb.go:399
Method
GetDescriptors
()
proto/ratelimit/ratelimit.pb.go:138
Method
GetDomain
()
proto/ratelimit/ratelimit.pb.go:131
Method
GetEntries
()
proto/ratelimit/ratelimit.pb.go:204
Method
GetHitsAddend
()
proto/ratelimit/ratelimit.pb.go:145
Method
GetInteger
GetInteger mocks base method
test/mocks/runtime/snapshot/snapshot.go:86
Method
GetInteger
GetInteger indicates an expected call of GetInteger
test/mocks/runtime/snapshot/snapshot.go:93
Method
GetKey
()
proto/ratelimit/ratelimit.pb.go:243
Method
GetLegacyService
()
src/service/ratelimit.go:167
Method
GetLimit
GetLimit mocks base method
test/mocks/config/config.go:52
Method
GetLimit
GetLimit indicates an expected call of GetLimit
test/mocks/config/config.go:59
Method
GetLimit
( ctx context.Context, domain string, descriptor *pb_struct.RateLimitDescriptor)
src/config/config_impl.go:244
Method
GetLimitRemaining
()
proto/ratelimit/ratelimit.pb.go:406
Method
GetModified
GetModified mocks base method
test/mocks/runtime/snapshot/snapshot.go:98
Method
GetModified
GetModified indicates an expected call of GetModified
test/mocks/runtime/snapshot/snapshot.go:105
Method
GetOverallCode
()
proto/ratelimit/ratelimit.pb.go:342
Method
GetRequestsPerUnit
()
proto/ratelimit/ratelimit.pb.go:290
Method
GetStatuses
()
proto/ratelimit/ratelimit.pb.go:349
Method
GetUnit
()
proto/ratelimit/ratelimit.pb.go:297
Method
GetValue
()
proto/ratelimit/ratelimit.pb.go:250
Method
GrpcServer
()
src/server/server_impl.go:55
Method
Int
()
test/mocks/redis/redis.go:149
Method
Int
()
test/mocks/redis/redis.go:155
Method
Int
()
src/redis/driver_impl.go:118
Method
Int63
()
test/mocks/redis/redis.go:211
Method
Int63
()
test/mocks/redis/redis.go:217
Method
Int63
()
src/redis/cache_impl.go:331
Method
Keys
Keys indicates an expected call of Keys
test/mocks/runtime/snapshot/snapshot.go:117
Method
Load
Load mocks base method
test/mocks/config/config.go:87
Method
Load
Load indicates an expected call of Load
test/mocks/config/config.go:94
Method
Load
( configs []RateLimitConfigToLoad, statsScope stats.Scope)
src/config/config_impl.go:305
Function
NewMockConnection
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:95
Function
NewMockIFace
NewMockIFace creates a new mock instance
test/mocks/runtime/loader/loader.go:25
Function
NewMockIFace
NewMockIFace creates a new mock instance
test/mocks/runtime/snapshot/snapshot.go:26
Function
NewMockJitterRandSource
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:201
Function
NewMockPool
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:56
Function
NewMockRateLimitCache
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:25
Function
NewMockRateLimitConfig
NewMockRateLimitConfig creates a new mock instance
test/mocks/config/config.go:28
Function
NewMockRateLimitConfigLoader
NewMockRateLimitConfigLoader creates a new mock instance
test/mocks/config/config.go:75
Function
NewMockResponse
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:139
Function
NewMockTimeSource
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:170
Function
NewRateLimitServiceClient
(cc *grpc.ClientConn)
proto/ratelimit/ratelimit.pb.go:443
Function
NewRunner
()
src/service_cmd/runner/runner.go:28
Function
NewService
(runtime loader.IFace, cache redis.RateLimitCache, configLoader config.RateLimitConfigLoader, stats stats.Sco
src/service/ratelimit.go:177
Method
PipeAppend
(_param0 string, _param1 ...interface{})
test/mocks/redis/redis.go:105
Method
PipeAppend
(arg0 interface{}, arg1 ...interface{})
test/mocks/redis/redis.go:113
Method
PipeAppend
(cmd string, args ...interface{})
src/redis/driver_impl.go:104
Method
PipeResponse
()
test/mocks/redis/redis.go:118
Method
PipeResponse
()
test/mocks/redis/redis.go:124
Method
PipeResponse
()
src/redis/driver_impl.go:109
Method
ProtoMessage
()
proto/ratelimit/ratelimit.pb.go:109
Method
ProtoMessage
()
proto/ratelimit/ratelimit.pb.go:182
Method
ProtoMessage
()
proto/ratelimit/ratelimit.pb.go:221
Method
ProtoMessage
()
proto/ratelimit/ratelimit.pb.go:268
Method
ProtoMessage
()
proto/ratelimit/ratelimit.pb.go:320
Method
ProtoMessage
()
proto/ratelimit/ratelimit.pb.go:370
Method
Put
(_param0 redis.Connection)
test/mocks/redis/redis.go:76
Method
Put
(arg0 interface{})
test/mocks/redis/redis.go:80
Method
Put
(c Connection)
src/redis/driver_impl.go:56
Function
RegisterRateLimitServiceServer
(s *grpc.Server, srv RateLimitServiceServer)
proto/ratelimit/ratelimit.pb.go:463
Method
Reset
()
proto/ratelimit/ratelimit.pb.go:107
Method
Reset
()
proto/ratelimit/ratelimit.pb.go:180
← previous
next →
101–200 of 294, ranked by callers