MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 7 callersMethodTickOk
TickOk triggers a reload and ensures a queue happened and a reload cycle happens. This will block until all the cases are met.
gateway/testutil.go:233
↓ 7 callersFunctionUg
(a,b,c)
templates/playground/playground.js:1290
↓ 7 callersFunctionV
(a,b)
templates/playground/playground.js:1298
↓ 7 callersFunctionVg
(a,b,c,d,e,f)
templates/playground/playground.js:1290
↓ 7 callersMethodWaitConnect
WaitConnect blocks until a Redis connection is established, enabling Go plugins to wait for connectivity before proceeding with operations that requir
storage/redis_shim.go:44
↓ 7 callersFunctionXa
(a)
templates/playground/playground.js:1290
↓ 7 callersFunctionZb
(a)
templates/playground/playground.js:1290
↓ 7 callersMethodafterConfSetup
afterConfSetup takes care of non-sensical config values (such as zero timeouts) and sets up a few globals that depend on the config.
gateway/server.go:1552
↓ 7 callersMethodappendSecurity
(name string)
apidef/oas/security.go:1621
↓ 7 callersFunctionassign
(to,from)
templates/playground/playground.js:393
↓ 7 callersMethodbuildPartial
()
coprocess/bindings/java/CoprocessObject.java:1894
↓ 7 callersFunctionbyMsgContains
(msg string)
gateway/tracing_test.go:455
↓ 7 callersFunctioncb
(a,b,c)
templates/playground/playground.js:1290
↓ 7 callersFunctioncg
(a,b)
templates/playground/playground.js:1311
↓ 7 callersFunctionchangeEnd
(change)
templates/playground/playground.js:149
↓ 7 callersFunctionconfigureService
(name string, sd *ServiceDiscovery)
gateway/service_discovery_test.go:160
↓ 7 callersFunctioncontains
(parent,child)
templates/playground/playground.js:149
↓ 7 callersFunctioncopyObj
(obj,target,overwrite)
templates/playground/playground.js:149
↓ 7 callersFunctioncreatePrimitiveTypeChecker
(expectedType)
templates/playground/playground.js:1194
↓ 7 callersFunctionda
(a,b)
templates/playground/playground.js:1290
↓ 7 callersFunctiondeepCopyBody
Creates a deep copy of source request.Body and replaces target request.Body with it.
gateway/reverse_proxy.go:1869
↓ 7 callersFunctiondisplayWidth
(cm)
templates/playground/playground.js:149
↓ 7 callersFunctionendOperation
(cm)
templates/playground/playground.js:149
↓ 7 callersFunctionerror
(type)
templates/playground/playground.js:1173
↓ 7 callersFunctionfindViewIndex
(cm,n)
templates/playground/playground.js:149
↓ 7 callersFunctiongenCertificateFromCommonName
(cn string, isExpired bool)
certs/manager_test.go:53
↓ 7 callersFunctiongenerateOAuthPrefix
(apiID string)
gateway/server.go:821
↓ 7 callersFunctiongetBetween
(doc,start,end)
templates/playground/playground.js:149
↓ 7 callersFunctiongetCipherAliases
(ciphers []string)
gateway/cert.go:628
↓ 7 callersMethodgetConnection
(isCache, isAnalytics bool)
storage/connection_handler.go:220
↓ 7 callersMethodgetPrefixBuffer
(job, event, suffix string)
gateway/instrumentation_statsd_sink.go:305
↓ 7 callersMethodgetTykJWTAuth
(name string)
apidef/oas/oas.go:304
↓ 7 callersMethodgetTykOperations
()
apidef/oas/oas.go:413
↓ 7 callersMethodgetTykSecurityScheme
(name string)
apidef/oas/oas.go:395
↓ 7 callersMethodgracefulShutdown
gracefulShutdown performs a graceful shutdown of all services
gateway/server.go:2213
↓ 7 callersFunctionhandle
(loc,caught)
templates/playground/playground.js:1
↓ 7 callersMethodhandleAddApi
(r *http.Request, fs afero.Fs, oasEndpoint bool)
gateway/api.go:1077
↓ 7 callersFunctionhandleRPCError
handleRPCError processes RPC errors and determines if a retry should be attempted Returns true if the error was handled and a retry should be attempte
rpc/rpc_client.go:554
↓ 7 callersFunctionhh
(a)
templates/playground/playground.js:1290
↓ 7 callersMethodinternalGetAccessRights
()
coprocess/bindings/java/CoprocessSessionState.java:5871
↓ 7 callersMethodinternalGetAddParams
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:2141
↓ 7 callersMethodinternalGetExtendedParams
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:2260
↓ 7 callersMethodinternalGetHeaders
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:1552
↓ 7 callersMethodinternalGetMetadata
()
coprocess/bindings/java/CoprocessObject.java:1298
↓ 7 callersMethodinternalGetOauthKeys
()
coprocess/bindings/java/CoprocessSessionState.java:6128
↓ 7 callersMethodinternalGetParams
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:2022
↓ 7 callersMethodinternalGetSetHeaders
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:1671
↓ 7 callersMethodinternalGetSpec
()
coprocess/bindings/java/CoprocessObject.java:1417
↓ 7 callersFunctionisValidValueNode
(context,node)
templates/playground/playground.js:901
↓ 7 callersFunctionisWrappingType
(type)
templates/playground/playground.js:649
↓ 7 callersFunctionjsonMarshalString
(i interface{})
gateway/testutil.go:1769
↓ 7 callersFunctionkeyValMap
(list,keyFn,valFn)
templates/playground/playground.js:509
↓ 7 callersFunctionl
(a,b,c,d)
templates/playground/playground.js:1290
↓ 7 callersFunctionlineAtHeight
(chunk,h)
templates/playground/playground.js:149
↓ 7 callersMethodloadOrCreateJWKCache
()
gateway/mw_jwt.go:135
↓ 7 callersFunctionmap
(array,f)
templates/playground/playground.js:149
↓ 7 callersFunctionod
(a)
templates/playground/playground.js:1290
↓ 7 callersMethodparseSchema
(schema string)
internal/graphengine/graphql_go_tools_v1.go:46
↓ 7 callersFunctionposFromMouse
(cm,e,liberal,forRect)
templates/playground/playground.js:149
↓ 7 callersMethodreplaceVariables
(in string, vars []string, vals map[string]interface{}, label string, escape bool)
gateway/mw_url_rewrite.go:263
↓ 7 callersFunctionsetScrollLeft
(cm,val,isScroller,forceScroll)
templates/playground/playground.js:149
↓ 7 callersFunctionsg
(a,b)
templates/playground/playground.js:1290
↓ 7 callersFunctionshouldReloadSpec
(existingSpec, newSpec *APISpec)
gateway/util.go:153
↓ 7 callersFunctionstartGRPCServer
(t *testing.T, clientCert *x509.Certificate, fn func(t *testing.T, s *grpc.Server))
gateway/grpc_test.go:561
↓ 7 callersFunctionstartOperation
(cm)
templates/playground/playground.js:149
↓ 7 callersFunctionsyncResourcesWithReload
(resource string, conf config.Config, syncFunc func() (int, error))
gateway/server.go:1150
↓ 7 callersFunctiontestAPISpec
(binding bindAPIDefFunc)
gateway/handler_success_test.go:36
↓ 7 callersFunctiontestGetOldAPI
(t *testing.T, d *Test, id, name string)
gateway/api_test.go:3754
↓ 7 callersMethodtestPrepareVirtualEndpoint
(js, method, path string, proxyOnError, keyless, cacheEnabled, disabled bool)
gateway/mw_virtual_endpoint_test.go:40
↓ 7 callersMethodtraceHandler
Tracing request Used to test API definition by sending sample request, and analysisng output of both response and logs --- requestBody: content:
gateway/tracing.go:173
↓ 7 callersMethodup
()
storage/redis_cluster.go:260
↓ 7 callersMethodupdateOldDefaultChildServersGW
updateOldDefaultChildServersGW updates the server URLs for the old default child API when a new version is set as default. This removes the fallback U
gateway/api_oas_servers.go:137
↓ 7 callersFunctionvalidateName
(context,node)
templates/playground/playground.js:673
↓ 7 callersFunctionwc
(a)
templates/playground/playground.js:1290
↓ 7 callersMethodwriteStatsDMetric
assumes b is a well-formed statsd metric like "job.event:1|c\n" (including newline)
gateway/instrumentation_statsd_sink.go:283
↓ 7 callersMethodwriteToFile
(fs afero.Fs, newDef interface{}, filename string)
gateway/api.go:1281
↓ 7 callersFunctionxb
(a)
templates/playground/playground.js:1290
↓ 6 callersMethodAPILimit
()
user/policy.go:41
↓ 6 callersMethodAmIPolling
()
gateway/host_checker_manager.go:140
↓ 6 callersFunctionBg
(a,b)
templates/playground/playground.js:1290
↓ 6 callersMethodBuild
(baseVal O)
common/option/option.go:15
↓ 6 callersFunctionCf
(a,b)
templates/playground/playground.js:1311
↓ 6 callersFunctionCh
(a,b,c,d,e,f)
templates/playground/playground.js:1290
↓ 6 callersMethodCheck
(sessionData *user.SessionState, key string)
gateway/monitor.go:34
↓ 6 callersFunctionConvertApiDefinitionHeadersToHttpHeaders
(apiDefHeaders map[string]string)
apidef/adapter/gqlengineadapter/utils.go:58
↓ 6 callersMethodCreateBody
CreateBody will render the webhook event message template and return it as a string. If an error occurs, an empty string will be returned alongside an
gateway/event_handler_webhooks.go:257
↓ 6 callersFunctionDb
(a)
templates/playground/playground.js:1290
↓ 6 callersFunctionEnabled
Enabled returns whether middlewares are enabled or not.
internal/middleware/middleware.go:6
↓ 6 callersMethodEnsure
Ensure that relative path is inside root directory. Methods detects escapes out of root directory.
internal/osutil/osutil.go:40
↓ 6 callersFunctionExtractUserServers
ExtractUserServers extracts user provided servers from an existing OAS API by regenerating what the Tyk servers should be and filtering them out.
apidef/oas/servers_regeneration.go:515
↓ 6 callersMethodFlushCache
()
certs/manager.go:51
↓ 6 callersFunctionGenerateClientCertAndKeyChain
GenerateClientCertAndKeyChain generates a client certificate and private key signed by the given root certificate and key, and includes the root certi
internal/crypto/testutil.go:220
↓ 6 callersMethodGenerateSessionID
(string, *BaseMiddleware)
gateway/coprocess_id_extractor.go:23
↓ 6 callersMethodGetAPIDomain
()
apidef/api_definitions.go:1426
↓ 6 callersFunctionGetAccessDefinitionByAPIIDOrSession
(session *user.SessionState, api *APISpec)
gateway/session_manager.go:513
↓ 6 callersMethodGetBaseIdentityProvider
GetBaseIdentityProvider returns the identity provider by precedence from SecuritySchemes.
apidef/oas/authentication.go:320
↓ 6 callersMethodGetKeyTTL
(keyName string)
storage/redis_cluster.go:323
↓ 6 callersMethodGetKeysAndValuesWithFilter
GetKeysAndValuesWithFilter will return all keys and their values with a filter
storage/redis_cluster.go:465
↓ 6 callersMethodGetMultiKey
GetMultiKey gets multiple keys from the database
storage/redis_cluster.go:287
↓ 6 callersFunctionGetOASDefinition
GetOASDefinition will return a deep copy of the OAS API definition valid for the request.
ctx/ctx.go:146
← previousnext →701–800 of 9,242, ranked by callers