MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 2 callersMethodprepareSpecWithEvents
(logger *logrus.Logger)
gateway/event_system_test.go:24
↓ 2 callersMethodprepareSpecs
(apiDefs []model.MergedAPI, gwConfig config.Config, fromRPC bool)
gateway/api_definition.go:630
↓ 2 callersFunctionprintBlockString
(value)
templates/playground/playground.js:557
↓ 2 callersFunctionprintDescriptionWithComments
(description,indentation,firstInBlock)
templates/playground/playground.js:741
↓ 2 callersFunctionprintFeature
printFeature gets the feature for the given point.
gateway/grpc_streaming_client_test.go:41
↓ 2 callersFunctionprintSchemaDefinition
(schema)
templates/playground/playground.js:741
↓ 2 callersFunctionprocessAnalyticsValues
(analyticsValues []interface{})
rpc/rpc_analytics_purger.go:106
↓ 2 callersMethodprocessCmd
(cmd *statsdEmitCmd)
gateway/instrumentation_statsd_sink.go:195
↓ 2 callersFunctionprocessDelimiters
(state,delimiters)
templates/playground/playground.js:1097
↓ 2 callersMethodprocessEvent
(job, event, extra string)
gateway/instrumentation_statsd_sink.go:210
↓ 2 callersMethodprocessRecord
(record *analytics.AnalyticsRecord)
gateway/analytics_go_plugin.go:43
↓ 2 callersMethodprocessResourceByType
processResourceByType based on the type of key it will trigger the proper caching mechanism
storage/mdcb_storage.go:265
↓ 2 callersMethodprocessSpec
( spec *APISpec, apisByListen map[string]int, gs *generalStores, logger *logrus.Entry, opts ...option.Opt
gateway/api_loader.go:142
↓ 2 callersMethodproxyForRequest
(r *http.Request)
gateway/multi_target_proxy_handler.go:18
↓ 2 callersFunctionproxyTimeout
(spec *APISpec)
gateway/reverse_proxy.go:546
↓ 2 callersFunctionpullBundle
(getter BundleGetter, backoffMultiplier float64)
gateway/coprocess_bundle.go:301
↓ 2 callersFunctionpuncType
(type)
templates/playground/playground.js:145
↓ 2 callersFunctionqc
(a)
templates/playground/playground.js:1311
↓ 2 callersFunctionqe
(a,b)
templates/playground/playground.js:1311
↓ 2 callersFunctionqh
(a)
templates/playground/playground.js:1290
↓ 2 callersFunctionquote
(s string)
regexp/regexp.go:102
↓ 2 callersFunctionra
()
templates/playground/playground.js:1311
↓ 2 callersFunctionrandStringBytes
(n int)
coprocess/grpc/coprocess_grpc_test.go:470
↓ 2 callersFunctionrangeForUnit
(cm,pos,unit)
templates/playground/playground.js:149
↓ 2 callersMethodrawListToObj
(rawData string)
gateway/service_discovery.go:228
↓ 2 callersFunctionre
(a)
templates/playground/playground.js:1290
↓ 2 callersFunctionreCheckSelection
(doc)
templates/playground/playground.js:149
↓ 2 callersFunctionreadBlockString
(source,start,line,col,prev,lexer)
templates/playground/playground.js:573
↓ 2 callersFunctionreadComment
(source,start,line,col,prev)
templates/playground/playground.js:573
↓ 2 callersFunctionreadName
(source,start,line,col,prev)
templates/playground/playground.js:573
↓ 2 callersFunctionreadNumber
(source,start,firstCode,line,col,prev)
templates/playground/playground.js:573
↓ 2 callersFunctionreadString
(source,start,line,col,prev)
templates/playground/playground.js:573
↓ 2 callersMethodreadinessHandler
readinessHandler is a dedicated endpoint for readiness probes It checks if the gateway is ready to serve requests by verifying: - Redis connection sta
gateway/health_check.go:233
↓ 2 callersFunctionrebaseHist
(hist,change)
templates/playground/playground.js:149
↓ 2 callersFunctionrebaseHistArray
(array,from,to,diff)
templates/playground/playground.js:149
↓ 2 callersFunctionrebaseHistSelSingle
(pos,from,to,diff)
templates/playground/playground.js:149
↓ 2 callersFunctionrecordDetailUnsafe
(r *http.Request, spec *APISpec)
gateway/handler_success.go:360
↓ 2 callersFunctionrecordGraphDetails
(rec *analytics.AnalyticsRecord, r *http.Request, resp *http.Response, spec *APISpec)
gateway/handler_success.go:126
↓ 2 callersFunctionrecoverFromLoadApiPanic
(spec *APISpec, err any)
gateway/api_loader.go:1186
↓ 2 callersFunctionrecoverOp
(fn func() error)
rpc/rpc_client.go:498
↓ 2 callersMethodregenerateOASServers
regenerateOASServers updates the servers section of an OAS API. This preserves user provided servers while correctly updating Tyk generated ones.
gateway/api_oas_servers.go:44
↓ 2 callersFunctionregister
()
rpc/rpc_client.go:598
↓ 2 callersFunctionremoveTykGeneratedURLs
removeTykGeneratedURLs removes Tyk-generated server URLs from the servers list. It uses URL normalization for robust matching and preserves all other
apidef/oas/servers_regeneration.go:374
↓ 2 callersFunctionrenderGutters
(display)
templates/playground/playground.js:149
↓ 2 callersFunctionreplaceAll
(cm,query,text)
templates/playground/playground.js:137
↓ 2 callersFunctionreplaceNonAlphaNumeric
(in string)
gateway/mw_url_rewrite.go:497
↓ 2 callersMethodreplaceWithUpperCase
(originalSignature string, lowercaseList []string)
gateway/mw_http_signature_validation.go:224
↓ 2 callersMethodreportInvalidKey
(key string, r *http.Request, msg string, errMsg string)
gateway/mw_auth_key.go:186
↓ 2 callersMethodrequestForBasicAuth
requestForBasicAuth sends error code and message along with WWW-Authenticate header to client.
gateway/mw_basic_auth.go:74
↓ 2 callersFunctionresetAPILimits
(accessRights map[string]user.AccessDefinition)
gateway/api.go:315
↓ 2 callersFunctionresetModeState
(cm)
templates/playground/playground.js:149
↓ 2 callersMethodresetStream
(streamValue any)
ee/middleware/streams/middleware.go:261
↓ 2 callersFunctionresetTryEntry
(entry)
templates/playground/playground.js:1
↓ 2 callersFunctionresolveField
(exeContext,parentType,source,fieldNodes,path)
templates/playground/playground.js:441
↓ 2 callersMethodresponseMWAppendEnabled
(chain *[]TykResponseHandler, responseMW TykResponseHandler)
gateway/middleware.go:224
↓ 2 callersMethodreturnErrorsFromUpstream
(proxyOnlyCtx *GraphQLProxyOnlyContextValues, resultWriter *graphql.EngineResultWriter, seekReadCloser SeekRea
internal/graphengine/graphql_go_tools_v1.go:85
↓ 2 callersFunctionroundValue
(untruncated float64)
gateway/api_healthcheck.go:97
↓ 2 callersMethodrpcReloadLoop
(rpcKey string)
gateway/server.go:1079
↓ 2 callersFunctionrunMode
(cm,text,mode,context,f,lineClasses,forceToEnd)
templates/playground/playground.js:149
↓ 2 callersFunctionsave
()
templates/playground/playground.js:149
↓ 2 callersFunctionsc
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctionscanForBracket
(cm,where,dir,style,config)
templates/playground/playground.js:109
↓ 2 callersFunctionschema_defineProperties
(target,props)
templates/playground/playground.js:1327
↓ 2 callersFunctionscrollToCoordsRange
(cm,from,to,margin)
templates/playground/playground.js:149
↓ 2 callersFunctionse
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctionsearchInVisualLine
(partPos,dir,wrappedLineExtent)
templates/playground/playground.js:149
↓ 2 callersFunctionselectBetweenBrackets
(cm)
templates/playground/playground.js:145
↓ 2 callersFunctionselectContentEncodingToBeUsed
selectContentEncodingToBeUsed selects the encoding value to be returned based on the IETF standards if acceptedEncoding is a list of comma separated s
internal/graphengine/engine_v2.go:340
↓ 2 callersMethodsendHeartBeat
(req *http.Request, client *http.Client, ctx context.Context)
gateway/dashboard_register.go:304
↓ 2 callersMethodsendRequestToUpstream
(roundTripper *TykRoundTripper, outreq *http.Request)
gateway/reverse_proxy.go:1057
↓ 2 callersMethodset
(key string, allowance *Allowance)
internal/rate/allowance_store.go:67
↓ 2 callersFunctionsetCustomHeaderMultipleValues
setCustomHeaderMultipleValues accepts multiple values for a key header and append it
gateway/reverse_proxy.go:483
↓ 2 callersFunctionsetDefaultVersion
()
apidef/streams/validator.go:294
↓ 2 callersFunctionsetDefaultVersion
()
apidef/oas/validator.go:218
↓ 2 callersFunctionsetDirectionClass
(cm)
templates/playground/playground.js:149
↓ 2 callersMethodsetField
( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
coprocess/bindings/java/CoprocessObject.java:1904
↓ 2 callersMethodsetLogger
(entry *logrus.Entry)
gateway/middleware.go:704
↓ 2 callersMethodsetModifiedURLSection
(input, data []byte, keys ...string)
apidef/streams/bento/schema/generate_bento_config_schema.go:352
↓ 2 callersMethodsetOrgHasNoSession
(val bool)
gateway/mw_organisation_activity.go:49
↓ 2 callersMethodsetRepeatedField
( com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
coprocess/bindings/java/CoprocessObject.java:1917
↓ 2 callersFunctionsetScrollTop
(cm,val,forceScroll)
templates/playground/playground.js:149
↓ 2 callersFunctionsetSelectionInner
(doc,sel)
templates/playground/playground.js:149
↓ 2 callersFunctionsetSelectionReplaceHistory
(doc,sel,options)
templates/playground/playground.js:149
↓ 2 callersFunctionsetSimpleSelection
(doc,anchor,head,options)
templates/playground/playground.js:149
↓ 2 callersFunctionsetTokenInCache
(cache Storage, cacheKey string, token string, ttl time.Duration)
ee/middleware/upstreamoauth/token_cache.go:59
↓ 2 callersMethodsetupGlobals
Create all globals and init connection handlers
gateway/server.go:397
↓ 2 callersFunctionsetupOASForStreamingAPI
(t *testing.T, consumerGroup string, kafkaHost string)
gateway/mw_streaming_test.go:597
↓ 2 callersMethodsetupPortsWhitelist
()
gateway/server.go:2084
↓ 2 callersFunctionsetupStreamingAPI
(t *testing.T, ts *Test, consumerGroup string, tenantID string, kafkaHost string)
gateway/mw_streaming_test.go:579
↓ 2 callersFunctionsetupTestStorageFetchItem
(cfg *configTestStorageFetchItem)
dnscache/storage_test.go:50
↓ 2 callersFunctionsf
(a)
templates/playground/playground.js:1290
↓ 2 callersFunctionshiftDoc
(doc,distance)
templates/playground/playground.js:149
↓ 2 callersMethodshouldImport
(operation *openapi3.Operation)
apidef/oas/operation.go:876
↓ 2 callersFunctionshowTooltipFor
(cm,e,content,node)
templates/playground/playground.js:129
↓ 2 callersFunctionsignalCursorActivity
(cm)
templates/playground/playground.js:149
↓ 2 callersFunctionskipAtomicInSelection
(doc,sel,bias,mayClear)
templates/playground/playground.js:149
↓ 2 callersFunctionskipBulletListMarker
(state,startLine)
templates/playground/playground.js:1041
↓ 2 callersFunctionskipCI
(t *testing.T, message string, fake ...func() (bool, func(...interface{})))
test/util.go:29
↓ 2 callersFunctionskipExtendingChars
(str,pos,dir)
templates/playground/playground.js:149
↓ 2 callersFunctionskipOrderedListMarker
(state,startLine)
templates/playground/playground.js:1041
← previousnext →3,001–3,100 of 9,242, ranked by callers