MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 3,802 callersMethodRun
()
tests/streams/scripts/load_gen.go:12
↓ 1,670 callersMethodError
(args ...interface{})
trace/log.go:15
↓ 1,047 callersMethodClose
()
internal/cache/repository.go:15
↓ 714 callersFunctionStartTest
(genConf func(globalConf *config.Config), testConfig ...TestConfig)
gateway/testutil.go:1055
↓ 646 callersMethodErrorf
(msg string, args ...interface{})
trace/jaeger/jaeger.go:23
↓ 620 callersMethodBuildAndLoadAPI
(apiGens ...func(spec *APISpec))
gateway/testutil.go:1895
↓ 595 callersMethodGetConfig
()
internal/model/interfaces.go:42
↓ 532 callersMethodSet
(key string, addrs []string)
dnscache/manager.go:38
↓ 490 callersMethodDebug
(args ...interface{})
trace/log.go:14
↓ 449 callersMethodSetConfig
(conf config.Config, skipReload ...bool)
gateway/server.go:2148
↓ 355 callersMethodAdd
Add to the bucket. Returns bucket state after adding.
internal/model/bucket.go:25
↓ 338 callersMethodContains
Contains is used to assert if a method exists in EndpointMethods.
user/session.go:229
↓ 286 callersMethodReturn
Return rewrite *gomock.Call.Return
internal/policy/store_mock.gen.go:63
↓ 230 callersMethodInfo
(args ...interface{})
trace/log.go:17
↓ 228 callersMethodGetConfig
()
gateway/server.go:2140
↓ 225 callersMethodResetTestConfig
TestSkipTargetPassEscapingOffWithSkipURLCleaningTrue TestBrokenClients TestGRPC_TokenBasedAuthentication Deprecated: ResetTestConfig resets the config
gateway/testutil.go:271
↓ 203 callersMethodCleanup
Cleanup will delete all expired items from the cache map.
internal/cache/cache.go:115
↓ 200 callersMethodUnlock
(ctx context.Context)
internal/rate/mock/locker.go:15
↓ 198 callersMethodLoadAPI
(specs ...*APISpec)
gateway/testutil.go:1843
↓ 197 callersMethodWrite
(p []byte)
gateway/reverse_proxy.go:1614
↓ 193 callersMethodLock
(key string, timeout time.Duration)
ee/middleware/upstreamoauth/model.go:36
↓ 192 callersFunctionError
(ctx context.Context, logrus Logrus, args ...interface{})
trace/log.go:26
↓ 192 callersMethodStore
()
gateway/auth_manager.go:20
↓ 187 callersFunctionPos
(line,ch,sticky)
templates/playground/playground.js:149
↓ 184 callersMethodWriteHeader
(statusCode int)
gateway/mw_go_plugin.go:56
↓ 180 callersMethodGet
()
gateway/coprocess_bundle.go:129
↓ 170 callersMethodSetTykExtension
SetTykExtension populates our OAS schema extension inside *OAS.
apidef/oas/oas.go:163
↓ 167 callersFunctioncont
()
templates/playground/playground.js:153
↓ 166 callersMethodLogger
()
gateway/middleware.go:54
↓ 160 callersFunctionapiError
(msg string)
gateway/api.go:108
↓ 157 callersMethodGetTykExtension
GetTykExtension returns our OAS schema extension from inside *OAS.
apidef/oas/oas.go:172
↓ 151 callersMethodFill
(r *http.Request)
internal/model/upstream_auth.go:7
↓ 146 callersMethodHeader
()
gateway/analytics_streams.go:140
↓ 145 callersMethodString
()
gateway/proxy_muxer.go:115
↓ 139 callersMethodWarning
(args ...interface{})
trace/log.go:16
↓ 139 callersMethodget
(key string)
internal/rate/allowance_store.go:54
↓ 128 callersFunctionBuildAPI
(apiGens ...func(spec *APISpec))
gateway/testutil.go:1823
↓ 128 callersFunctionjoin
(maybeArray)
templates/playground/playground.js:593
↓ 126 callersFunctiondoJSONWrite
(w http.ResponseWriter, code int, obj interface{})
gateway/api.go:138
↓ 123 callersMethodDuration
Duration returns the time between two allowed requests at the defined rate. It's used to decide which rate limit has a bigger allowance.
user/session.go:91
↓ 98 callersMethodTypeOf
(typ Type)
pkg/errpack/errpack.go:53
↓ 96 callersMethodDelete
(certID string, orgID string)
certs/manager.go:49
↓ 92 callersMethodExtractTo
ExtractTo extracts *OAS into *apidef.APIDefinition.
apidef/oas/oas.go:99
↓ 90 callersMethodCreatePolicy
(pGen ...func(p *user.Policy))
gateway/testutil.go:899
↓ 89 callersMethodDecode
(value string)
config/config.go:445
↓ 89 callersFunctiony
(a)
templates/playground/playground.js:1290
↓ 86 callersMethodGet
(key string)
storage/kv/store.go:13
↓ 86 callersFunctionu
@license React v16.14.0 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under
templates/playground/playground.js:1311
↓ 85 callersMethodCopy
Copy provides a new BaseMiddleware with it's own logger scope (copy). The Spec, Proxy and Gw values are not copied.
gateway/middleware.go:281
↓ 82 callersMethodServeHTTP
(http.ResponseWriter, *http.Request)
gateway/handler_success.go:42
↓ 81 callersFunctionCreateJWKToken
(jGen ...func(*jwt.Token))
gateway/testutil.go:922
↓ 81 callersFunctionNew
New returns a V4 UUID.
internal/uuid/uuid.go:10
↓ 81 callersMethodset
()
storage/redis_cluster.go:196
↓ 80 callersMethodHandleFunc
(path string, f func(http.ResponseWriter, *http.Request))
ee/middleware/streams/util.go:18
↓ 80 callersMethodLen
Len is used to implement sort interface.
user/session.go:190
↓ 79 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/certcheck/batcher_mock.go:40
↓ 79 callersMethodEmpty
Empty is a utility function that returns true if the value is empty.
apidef/api_definitions.go:298
↓ 78 callersMethodLen
()
apidef/host_list.go:50
↓ 72 callersMethodSplit
Split is the same as regexp.Regexp.Split but returns cached result instead.
regexp/regexp.go:416
↓ 72 callersFunctionUpdateAPIVersion
(spec *APISpec, name string, verGen func(version *apidef.VersionInfo))
gateway/testutil.go:1763
↓ 68 callersMethodName
()
gateway/middleware.go:58
↓ 68 callersFunctionTestReq
(t testing.TB, method, urlStr string, body interface{})
gateway/testutil.go:999
↓ 65 callersMethodCreateSession
(sGen ...func(s *user.SessionState))
gateway/testutil.go:1448
↓ 64 callersFunctiongetLine
(doc,n)
templates/playground/playground.js:149
↓ 63 callersMethodLoad
Load tries to load a plugin
cli/plugin/plugin.go:25
↓ 62 callersMethodString
String returns the source text used to compile the wrapped regular expression.
regexp/regexp.go:110
↓ 61 callersFunctionoption
(name,deflt,handle,notOnInit)
templates/playground/playground.js:149
↓ 60 callersFunctionCreateSession
Deprecated: Use Test.CreateSession instead.
gateway/testutil.go:849
↓ 60 callersMethodFinish
()
trace/openzipkin/zipkin.go:35
↓ 60 callersMethodfixKey
(keyName string)
storage/redis_cluster.go:252
↓ 59 callersMethodContext
()
gateway/session_manager.go:90
↓ 59 callersMethodUpdateSession
(keyName string, session *user.SessionState, resetTTLTo int64, hashed bool)
gateway/auth_manager.go:21
↓ 59 callersMethodadd
(key string, value interface{})
regexp/cache.go:37
↓ 58 callersFunction_objectSpread
(target)
templates/playground/playground.js:705
↓ 56 callersMethodmwAppendEnabled
(chain *[]alice.Constructor, mw TykMiddleware)
gateway/middleware.go:216
↓ 54 callersMethodInit
()
apidef/api_definitions.go:1411
↓ 54 callersFunctionString
String will return the description for the event if any. If no description exists, it will return the event value.
internal/event/event.go:74
↓ 54 callersFunctionelt
(tag,content,className,style)
templates/playground/playground.js:149
↓ 53 callersMethodDo
(tc test.TestCase)
gateway/testutil.go:1307
↓ 52 callersMethodSetDisabledFlags
SetDisabledFlags set disabled flags to true, since by default they are not enabled in OAS API definition.
apidef/migration.go:455
↓ 51 callersMethodGetJWTConfiguration
()
apidef/oas/security.go:1330
↓ 50 callersFunctionH
(a)
templates/playground/playground.js:1290
↓ 50 callersMethodStop
()
gateway/auth_manager.go:27
↓ 50 callersFunctionon
(emitter,type,f)
templates/playground/playground.js:149
↓ 48 callersMethodCount
()
internal/cache/repository.go:12
↓ 48 callersFunctionCreateStandardSession
()
gateway/testutil.go:869
↓ 48 callersFunctionGetTLSClient
(cert *tls.Certificate, caCert []byte)
gateway/testutil.go:1439
↓ 48 callersMethodInit
()
gateway/middleware.go:53
↓ 47 callersMethodConnect
Connect will establish a connection this is always true because we are dynamically using redis
storage/redis_cluster.go:69
↓ 47 callersFunctionI
(a,b)
templates/playground/playground.js:1290
↓ 47 callersMethodLog
(data opentracing.LogData)
trace/openzipkin/zipkin.go:90
↓ 47 callersFunctionclipPos
(doc,pos)
templates/playground/playground.js:149
↓ 47 callersFunctioncmp
(a,b)
templates/playground/playground.js:149
↓ 47 callersFunctionwrap
(innerFn,outerFn,self,tryLocsList)
templates/playground/playground.js:1
↓ 46 callersMethodBuildDefaultTykExtension
BuildDefaultTykExtension builds a default tyk extension in *OAS based on function arguments.
apidef/oas/default.go:70
↓ 46 callersFunctioninspect_inspect
(value)
templates/playground/playground.js:1327
↓ 45 callersMethodFlush
()
internal/cache/repository.go:13
↓ 45 callersMethodSet
(string, interface{}, int64)
internal/cache/repository.go:10
↓ 45 callersMethodSince
Since compares the current Record with another Record and returns a new Record containing only the goroutines found in the current Record but not in t
internal/debug2/goroutine.go:86
↓ 43 callersMethodFormat
Format returns the entry.Message as a []byte.
log/log.go:21
next →1–100 of 9,242, ranked by callers