MCPcopy Create free account

hub / github.com/envoyproxy/ratelimit / functions

Functions294 in github.com/envoyproxy/ratelimit

↓ 1 callersMethodstartGrpc
()
src/server/server_impl.go:87
↓ 1 callersFunctionvalidateYamlKeys
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
MethodAddDebugHttpEndpoint
(path string, help string, handler http.HandlerFunc)
src/server/server_impl.go:50
MethodAddUpdateCallback
AddUpdateCallback indicates an expected call of AddUpdateCallback
test/mocks/runtime/loader/loader.go:42
MethodDescriptor
()
proto/ratelimit/ratelimit.pb.go:110
MethodDescriptor
()
proto/ratelimit/ratelimit.pb.go:183
MethodDescriptor
()
proto/ratelimit/ratelimit.pb.go:222
MethodDescriptor
()
proto/ratelimit/ratelimit.pb.go:269
MethodDescriptor
()
proto/ratelimit/ratelimit.pb.go:321
MethodDescriptor
()
proto/ratelimit/ratelimit.pb.go:371
MethodDoLimit
(_param0 context.Context, _param1 *ratelimit.RateLimitRequest, _param2 []*config.RateLimit)
test/mocks/redis/redis.go:35
MethodDoLimit
(arg0, arg1, arg2 interface{})
test/mocks/redis/redis.go:41
MethodDoLimit
( ctx context.Context, request *pb.RateLimitRequest, limits []*config.RateLimit)
src/redis/cache_impl.go:120
MethodDump
Dump mocks base method
test/mocks/config/config.go:40
MethodDump
Dump indicates an expected call of Dump
test/mocks/config/config.go:47
MethodDump
()
src/config/config_impl.go:235
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
test/mocks/runtime/loader/loader.go:32
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
test/mocks/runtime/snapshot/snapshot.go:33
MethodEXPECT
()
test/mocks/redis/redis.go:31
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
test/mocks/config/config.go:35
MethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use
test/mocks/config/config.go:82
MethodEntries
Entries mocks base method
test/mocks/runtime/snapshot/snapshot.go:38
MethodEntries
Entries indicates an expected call of Entries
test/mocks/runtime/snapshot/snapshot.go:45
MethodEnumDescriptor
()
proto/ratelimit/ratelimit.pb.go:54
MethodEnumDescriptor
()
proto/ratelimit/ratelimit.pb.go:80
MethodFeatureEnabled
FeatureEnabled mocks base method
test/mocks/runtime/snapshot/snapshot.go:50
MethodFeatureEnabled
FeatureEnabled indicates an expected call of FeatureEnabled
test/mocks/runtime/snapshot/snapshot.go:57
MethodFeatureEnabledForID
FeatureEnabledForID mocks base method
test/mocks/runtime/snapshot/snapshot.go:62
MethodFeatureEnabledForID
FeatureEnabledForID indicates an expected call of FeatureEnabledForID
test/mocks/runtime/snapshot/snapshot.go:69
MethodFlushCounter
(name string, value uint64)
test/common/common.go:22
MethodFlushGauge
(name string, value uint64)
test/common/common.go:28
MethodFlushTimer
(name string, value float64)
test/common/common.go:34
MethodGet
Get mocks base method
test/mocks/runtime/snapshot/snapshot.go:74
MethodGet
Get indicates an expected call of Get
test/mocks/runtime/snapshot/snapshot.go:81
MethodGet
()
test/mocks/redis/redis.go:66
MethodGet
()
test/mocks/redis/redis.go:72
MethodGet
()
src/redis/driver_impl.go:48
MethodGetCode
()
proto/ratelimit/ratelimit.pb.go:392
MethodGetCurrentLimit
()
proto/ratelimit/ratelimit.pb.go:399
MethodGetDescriptors
()
proto/ratelimit/ratelimit.pb.go:138
MethodGetDomain
()
proto/ratelimit/ratelimit.pb.go:131
MethodGetEntries
()
proto/ratelimit/ratelimit.pb.go:204
MethodGetHitsAddend
()
proto/ratelimit/ratelimit.pb.go:145
MethodGetInteger
GetInteger mocks base method
test/mocks/runtime/snapshot/snapshot.go:86
MethodGetInteger
GetInteger indicates an expected call of GetInteger
test/mocks/runtime/snapshot/snapshot.go:93
MethodGetKey
()
proto/ratelimit/ratelimit.pb.go:243
MethodGetLegacyService
()
src/service/ratelimit.go:167
MethodGetLimit
GetLimit mocks base method
test/mocks/config/config.go:52
MethodGetLimit
GetLimit indicates an expected call of GetLimit
test/mocks/config/config.go:59
MethodGetLimit
( ctx context.Context, domain string, descriptor *pb_struct.RateLimitDescriptor)
src/config/config_impl.go:244
MethodGetLimitRemaining
()
proto/ratelimit/ratelimit.pb.go:406
MethodGetModified
GetModified mocks base method
test/mocks/runtime/snapshot/snapshot.go:98
MethodGetModified
GetModified indicates an expected call of GetModified
test/mocks/runtime/snapshot/snapshot.go:105
MethodGetOverallCode
()
proto/ratelimit/ratelimit.pb.go:342
MethodGetRequestsPerUnit
()
proto/ratelimit/ratelimit.pb.go:290
MethodGetStatuses
()
proto/ratelimit/ratelimit.pb.go:349
MethodGetUnit
()
proto/ratelimit/ratelimit.pb.go:297
MethodGetValue
()
proto/ratelimit/ratelimit.pb.go:250
MethodGrpcServer
()
src/server/server_impl.go:55
MethodInt
()
test/mocks/redis/redis.go:149
MethodInt
()
test/mocks/redis/redis.go:155
MethodInt
()
src/redis/driver_impl.go:118
MethodInt63
()
test/mocks/redis/redis.go:211
MethodInt63
()
test/mocks/redis/redis.go:217
MethodInt63
()
src/redis/cache_impl.go:331
MethodKeys
Keys indicates an expected call of Keys
test/mocks/runtime/snapshot/snapshot.go:117
MethodLoad
Load mocks base method
test/mocks/config/config.go:87
MethodLoad
Load indicates an expected call of Load
test/mocks/config/config.go:94
MethodLoad
( configs []RateLimitConfigToLoad, statsScope stats.Scope)
src/config/config_impl.go:305
FunctionNewMockConnection
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:95
FunctionNewMockIFace
NewMockIFace creates a new mock instance
test/mocks/runtime/loader/loader.go:25
FunctionNewMockIFace
NewMockIFace creates a new mock instance
test/mocks/runtime/snapshot/snapshot.go:26
FunctionNewMockJitterRandSource
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:201
FunctionNewMockPool
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:56
FunctionNewMockRateLimitCache
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:25
FunctionNewMockRateLimitConfig
NewMockRateLimitConfig creates a new mock instance
test/mocks/config/config.go:28
FunctionNewMockRateLimitConfigLoader
NewMockRateLimitConfigLoader creates a new mock instance
test/mocks/config/config.go:75
FunctionNewMockResponse
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:139
FunctionNewMockTimeSource
(ctrl *gomock.Controller)
test/mocks/redis/redis.go:170
FunctionNewRateLimitServiceClient
(cc *grpc.ClientConn)
proto/ratelimit/ratelimit.pb.go:443
FunctionNewRunner
()
src/service_cmd/runner/runner.go:28
FunctionNewService
(runtime loader.IFace, cache redis.RateLimitCache, configLoader config.RateLimitConfigLoader, stats stats.Sco
src/service/ratelimit.go:177
MethodPipeAppend
(_param0 string, _param1 ...interface{})
test/mocks/redis/redis.go:105
MethodPipeAppend
(arg0 interface{}, arg1 ...interface{})
test/mocks/redis/redis.go:113
MethodPipeAppend
(cmd string, args ...interface{})
src/redis/driver_impl.go:104
MethodPipeResponse
()
test/mocks/redis/redis.go:118
MethodPipeResponse
()
test/mocks/redis/redis.go:124
MethodPipeResponse
()
src/redis/driver_impl.go:109
MethodProtoMessage
()
proto/ratelimit/ratelimit.pb.go:109
MethodProtoMessage
()
proto/ratelimit/ratelimit.pb.go:182
MethodProtoMessage
()
proto/ratelimit/ratelimit.pb.go:221
MethodProtoMessage
()
proto/ratelimit/ratelimit.pb.go:268
MethodProtoMessage
()
proto/ratelimit/ratelimit.pb.go:320
MethodProtoMessage
()
proto/ratelimit/ratelimit.pb.go:370
MethodPut
(_param0 redis.Connection)
test/mocks/redis/redis.go:76
MethodPut
(arg0 interface{})
test/mocks/redis/redis.go:80
MethodPut
(c Connection)
src/redis/driver_impl.go:56
FunctionRegisterRateLimitServiceServer
(s *grpc.Server, srv RateLimitServiceServer)
proto/ratelimit/ratelimit.pb.go:463
MethodReset
()
proto/ratelimit/ratelimit.pb.go:107
MethodReset
()
proto/ratelimit/ratelimit.pb.go:180
← previousnext →101–200 of 294, ranked by callers