MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 2 callersMethodemitRateLimitEvents
emitRateLimitEvents emits rate limit related events based on the request context.
gateway/middleware.go:593
↓ 2 callersMethodenableContextVariablesIfEmpty
enableContextVariablesIfEmpty enables context variables in middleware.global.contextVariables. Context variables will be set only if it is not set, if
apidef/oas/root.go:238
↓ 2 callersFunctionenableJumpMode
(cm)
templates/playground/playground.js:81
↓ 2 callersMethodenableTrafficLogsIfEmpty
enableTrafficLogsIfEmpty enables traffic logs in middleware.global.trafficLogs. Traffic logs will be set only if it is not set. If it is already set t
apidef/oas/root.go:256
↓ 2 callersFunctionencodeKafkaDataSourceConfig
(cfg kafkadatasource.GraphQLSubscriptionOptions, topic string)
apidef/adapter/asyncapi.go:87
↓ 2 callersMethodencodePayload
(payload string, timestamp int64)
gateway/res_cache.go:51
↓ 2 callersMethodengineConfigV2DataSources
()
apidef/adapter/gqlengineadapter/adapter_udg.go:68
↓ 2 callersMethodengineConfigV2DataSources
()
apidef/adapter/gqlengineadapter/enginev3/adapter_udg.go:67
↓ 2 callersMethodengineConfigV2FieldConfigs
()
apidef/adapter/gqlengineadapter/adapter_udg.go:49
↓ 2 callersMethodengineConfigV2FieldConfigs
()
apidef/adapter/gqlengineadapter/enginev3/adapter_udg.go:48
↓ 2 callersFunctionensureBound
(chars)
templates/playground/playground.js:105
↓ 2 callersFunctionensureValidRuntimeType
(runtimeTypeOrName,exeContext,returnType,fieldNodes,info,result)
templates/playground/playground.js:441
↓ 2 callersFunctionescapedSplit
(str)
templates/playground/playground.js:1057
↓ 2 callersFunctionestimateCoords
(cm,pos)
templates/playground/playground.js:149
↓ 2 callersFunctionestimateTagsCapacity
(session *user.SessionState, apiSpec *APISpec)
gateway/handler_success.go:84
↓ 2 callersMethodexecCheck
()
gateway/host_checker.go:131
↓ 2 callersMethodexecuteDashboardRequestWithRecovery
executeDashboardRequestWithRecovery performs a dashboard request with automatic recovery for network and nonce errors. It uses a 2-attempt policy (ori
gateway/dashboard_recovery.go:27
↓ 2 callersFunctionexecuteFields
(exeContext,parentType,sourceValue,path,fields)
templates/playground/playground.js:441
↓ 2 callersFunctionexecuteImpl
(args)
templates/playground/playground.js:441
↓ 2 callersFunctionexecutePreFlightRequest
(t *testing.T, mw *CORSMiddleware, origin string)
gateway/mw_cors_test.go:38
↓ 2 callersFunctionexecuteRegularRequest
(t *testing.T, mw *CORSMiddleware, origin string)
gateway/mw_cors_test.go:77
↓ 2 callersMethodexpired
()
internal/memorycache/item.go:22
↓ 2 callersFunctionexpressionInner
(type,value,noComma)
templates/playground/playground.js:153
↓ 2 callersFunctionextendSelections
(doc,heads,options)
templates/playground/playground.js:149
↓ 2 callersMethodextractAPIKeySchemeTo
(ac *apidef.AuthConfig, name string)
apidef/oas/security.go:1487
↓ 2 callersMethodextractBasicTo
(api *apidef.APIDefinition, name string)
apidef/oas/security.go:508
↓ 2 callersFunctionextractHTTPServerPaths
extractHTTPServerPaths is a helper function to extract HTTP server paths from a given configuration.
ee/middleware/streams/util.go:58
↓ 2 callersMethodextractJWTTo
(api *apidef.APIDefinition, name string)
apidef/oas/security.go:393
↓ 2 callersFunctionextractLineClasses
(type,output)
templates/playground/playground.js:149
↓ 2 callersFunctionextractVersioningParams
extractVersioningParams extracts versioning parameters from query string or returns empty if not versioned. This helper makes it easy to get versionin
gateway/api_oas_servers.go:219
↓ 2 callersFunctionfarAway
(touch,other)
templates/playground/playground.js:149
↓ 2 callersFunctionfetchHints
(hint,cm,options,callback)
templates/playground/playground.js:125
↓ 2 callersFunctionfetcherReturnToPromise
(fetcherResult)
templates/playground/playground.js:233
↓ 2 callersFunctionfile_coprocess_common_proto_init
()
coprocess/coprocess_common.pb.go:194
↓ 2 callersFunctionfile_coprocess_common_proto_rawDescGZIP
()
coprocess/coprocess_common.pb.go:172
↓ 2 callersFunctionfile_coprocess_mini_request_object_proto_init
()
coprocess/coprocess_mini_request_object.pb.go:302
↓ 2 callersFunctionfile_coprocess_response_object_proto_init
()
coprocess/coprocess_response_object.pb.go:227
↓ 2 callersFunctionfile_coprocess_response_object_proto_rawDescGZIP
()
coprocess/coprocess_response_object.pb.go:203
↓ 2 callersFunctionfile_coprocess_return_overrides_proto_init
()
coprocess/coprocess_return_overrides.pb.go:166
↓ 2 callersFunctionfile_coprocess_session_state_proto_init
()
coprocess/coprocess_session_state.pb.go:841
↓ 2 callersMethodfillBasic
(api apidef.APIDefinition)
apidef/oas/security.go:461
↓ 2 callersMethodfillJWT
(api apidef.APIDefinition)
apidef/oas/security.go:303
↓ 2 callersMethodfillMockResponsePaths
fillMockResponsePaths converts classic API mock responses to OAS format. This method only handles direct mock response conversions, as other middlewar
apidef/oas/operation.go:188
↓ 2 callersMethodfillPathsAndOperations
(ep apidef.ExtendedPathsSet)
apidef/oas/operation.go:144
↓ 2 callersMethodfillToken
(api apidef.APIDefinition)
apidef/oas/security.go:53
↓ 2 callersFunctionfilterChange
(doc,change,update)
templates/playground/playground.js:149
↓ 2 callersMethodfilterSprigFuncs
()
gateway/api_definition.go:864
↓ 2 callersFunctionfindAndGoTo
(cm,forward)
templates/playground/playground.js:145
↓ 2 callersFunctionfindColumn
(string,goal,tabSize)
templates/playground/playground.js:149
↓ 2 callersFunctionfindConflict
(context,cachedFieldsAndFragmentNames,comparedFragmentPairs,parentFieldsAreMutuallyExclusive,responseName,fiel
templates/playground/playground.js:833
↓ 2 callersFunctionfindEndpointsMatchingTags
findEndpointsMatchingTags returns edge endpoint URLs with at least one matching tag.
apidef/oas/servers_regeneration.go:278
↓ 2 callersFunctionfindMatchingBracket
(cm,where,config)
templates/playground/playground.js:109
↓ 2 callersFunctionfindOpening
(openCh)
templates/playground/playground.js:113
↓ 2 callersMethodfindOperation
(r *http.Request)
gateway/model_apispec.go:156
↓ 2 callersFunctionfindPosV
(cm,pos,dir,unit)
templates/playground/playground.js:149
↓ 2 callersFunctionfindSchemaChanges
(oldSchema,newSchema)
templates/playground/playground.js:709
↓ 2 callersFunctionfindSharedMarkers
(doc)
templates/playground/playground.js:149
↓ 2 callersMethodfind_hook
(self, bundle_hash, hook_name)
coprocess/python/dispatcher.py:50
↓ 2 callersFunctionfirstNonWS
(str)
templates/playground/playground.js:97
↓ 2 callersFunctionfirstVals
(vals map[string][]string)
gateway/testutil.go:1016
↓ 2 callersFunctionfj
(a)
templates/playground/playground.js:1290
↓ 2 callersMethodflush
()
gateway/instrumentation_statsd_sink.go:275
↓ 2 callersMethodflushInterval
flushInterval returns the p.FlushInterval value, conditionally overriding its value for a specific request/response.
gateway/reverse_proxy.go:1460
↓ 2 callersMethodflusher
()
storage/redis_cluster.go:120
↓ 2 callersFunctionforEachCodeMirror
(f)
templates/playground/playground.js:149
↓ 2 callersMethodforNumber
(int value)
coprocess/bindings/java/CoprocessCommon.java:83
↓ 2 callersMethodforceResponse
( w http.ResponseWriter, r *http.Request, newResponseData *VMResponseObject, spec *APISpec, session *user
gateway/mw_virtual_endpoint.go:240
↓ 2 callersFunctionformatAddress
(a, b net.Addr)
tcp/tcp.go:370
↓ 2 callersFunctionformatValue
(value,seenValues)
templates/playground/playground.js:481
↓ 2 callersFunctionfromCoordSystem
(cm,coords,context)
templates/playground/playground.js:149
↓ 2 callersFunctiongatewayGetHostDetailsTestAddress
()
gateway/server_test.go:300
↓ 2 callersFunctionge
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctiongenerateDomainPath
(hostname, listenPath string)
gateway/api_loader.go:97
↓ 2 callersFunctiongenerateHMACEncodedSignature
(signatureString, secret string, algorithm string)
gateway/mw_http_signature_validation.go:449
↓ 2 callersFunctiongenerateHMACSignatureStringFromRequest
"Signature keyId="9876",algorithm="hmac-sha1",headers="x-test x-test-2",signature="queryEscape(base64(sig))"")
gateway/mw_http_signature_validation.go:424
↓ 2 callersMethodgenerateOAuthOutputFromOsinResponse
(osinResponse *osin.Response)
gateway/oauth_manager.go:110
↓ 2 callersMethodgeneratePayload
generatePayload creates a JSON-formatted string containing the current Unix time in milliseconds as the payload.
tests/streams/scripts/amqp_load_generator.go:110
↓ 2 callersMethodgenerateSubRoutes
(spec *APISpec, router *mux.Router)
gateway/api_loader.go:127
↓ 2 callersFunctiongetAPIURL
(apiDef apidef.APIDefinition, gwConfig config.Config)
gateway/util.go:117
↓ 2 callersMethodgetAlias
<code>optional string alias = 25;</code>
coprocess/bindings/java/CoprocessSessionState.java:4699
↓ 2 callersMethodgetAliasBytes
<code>optional string alias = 25;</code>
coprocess/bindings/java/CoprocessSessionState.java:4714
↓ 2 callersMethodgetAllowance
<code>optional double allowance = 2;</code>
coprocess/bindings/java/CoprocessSessionState.java:4177
↓ 2 callersMethodgetAllowedUrlsList
<code>repeated .coprocess.AccessSpec allowed_urls = 4;</code>
coprocess/bindings/java/CoprocessSessionState.java:986
↓ 2 callersMethodgetApiId
<code>optional string api_id = 2;</code>
coprocess/bindings/java/CoprocessSessionState.java:923
↓ 2 callersMethodgetApiIdBytes
<code>optional string api_id = 2;</code>
coprocess/bindings/java/CoprocessSessionState.java:938
↓ 2 callersMethodgetApiName
<code>optional string api_name = 1;</code>
coprocess/bindings/java/CoprocessSessionState.java:889
↓ 2 callersMethodgetApiNameBytes
<code>optional string api_name = 1;</code>
coprocess/bindings/java/CoprocessSessionState.java:904
↓ 2 callersMethodgetApisForOauthClientId
(oauthClientId string, orgId string)
gateway/api.go:2849
↓ 2 callersMethodgetApisIdsForOrg
(orgID string)
gateway/api.go:226
↓ 2 callersMethodgetApplyPolicyId
<code>optional string apply_policy_id = 19;</code>
coprocess/bindings/java/CoprocessSessionState.java:4563
↓ 2 callersMethodgetApplyPolicyIdBytes
<code>optional string apply_policy_id = 19;</code>
coprocess/bindings/java/CoprocessSessionState.java:4578
↓ 2 callersFunctiongetAuthCode
(t *testing.T, ts *Test)
gateway/oauth_manager_test.go:707
↓ 2 callersMethodgetBasePolicyID
(r *http.Request, claims jwt.MapClaims)
gateway/mw_jwt.go:557
↓ 2 callersMethodgetBasicAuthData
<code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
coprocess/bindings/java/CoprocessSessionState.java:3739
↓ 2 callersFunctiongetBidi
(ch,partPos,invert)
templates/playground/playground.js:149
↓ 2 callersMethodgetBody
<code>optional string body = 4;</code>
coprocess/bindings/java/CoprocessMiniRequestObject.java:648
↓ 2 callersMethodgetBodyBytes
<code>optional string body = 4;</code>
coprocess/bindings/java/CoprocessMiniRequestObject.java:663
↓ 2 callersMethodgetBool
(key string)
regexp/cache.go:73
↓ 2 callersMethodgetDataExpires
<code>optional int64 data_expires = 20;</code>
coprocess/bindings/java/CoprocessSessionState.java:4597
↓ 2 callersFunctiongetDateHeader
(r *http.Request)
gateway/mw_http_signature_validation.go:327
← previousnext →2,601–2,700 of 9,242, ranked by callers