MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 1 callersMethod_getDefinitionForNamedType
(query,ast,node,filePath,projectConfig)
templates/playground/playground.js:345
↓ 1 callersFunction_loop2
(_i20,_typeField$args2)
templates/playground/playground.js:673
↓ 1 callersFunction_loop_1
(typeName)
templates/playground/playground.js:217
↓ 1 callersFunction_next
(value)
templates/playground/playground.js:1
↓ 1 callersFunctionabsLoggerLevel
(level logrus.Level)
internal/graphengine/utils.go:43
↓ 1 callersMethodaddAuthInfo
(outReq, req *http.Request)
gateway/reverse_proxy.go:1900
↓ 1 callersMethodaddBatchEndpoint
(spec *APISpec, subrouter *mux.Router)
gateway/server.go:877
↓ 1 callersFunctionaddCustomHeader
(h http.Header, key string, value []string, ignoreCanonical bool)
gateway/reverse_proxy.go:463
↓ 1 callersFunctionaddEditorMethods
(CodeMirror)
templates/playground/playground.js:149
↓ 1 callersFunctionaddFormats
(chain *gojsonschema.FormatCheckerChain)
cli/linter/linter.go:66
↓ 1 callersFunctionaddGroupsToContextData
(cd map[string]interface{}, keyPrefix string, groups []string)
gateway/mw_url_rewrite.go:764
↓ 1 callersFunctionaddLegacyProps
(CodeMirror)
templates/playground/playground.js:149
↓ 1 callersFunctionaddLineWidget
(doc,handle,node,options)
templates/playground/playground.js:149
↓ 1 callersFunctionaddMarkedSpan
(line,span)
templates/playground/playground.js:149
↓ 1 callersMethodaddOAuthHandlers
Create API-specific OAuth handlers and respective auth servers
gateway/server.go:826
↓ 1 callersMethodaddPortFromObject
(host string, obj *gabs.Container)
gateway/service_discovery.go:109
↓ 1 callersFunctionaddSecureAndCacheHeaders
(next http.HandlerFunc)
gateway/api.go:182
↓ 1 callersFunctionaddSelectionToHistory
(doc,sel,opId,options)
templates/playground/playground.js:149
↓ 1 callersFunctionaddStyle
(obj,options)
templates/playground/playground.js:1222
↓ 1 callersMethodaddTCPService
(spec *APISpec, modifier *tcp.Modifier, gw *Gateway)
gateway/proxy_muxer.go:220
↓ 1 callersFunctionaddTraceIDToResponseHeader
(w http.ResponseWriter, traceID string)
internal/otel/otel.go:152
↓ 1 callersMethodaddVariable
(name, defaultValue string)
internal/oasutil/servers.go:52
↓ 1 callersMethodadd_header
(self, key, value)
coprocess/python/tyk/request.py:5
↓ 1 callersFunctionadjustView
(cm,from,to)
templates/playground/playground.js:149
↓ 1 callersFunctionak
()
templates/playground/playground.js:1290
↓ 1 callersFunctionallContains
(got, want []string)
cli/linter/linter_test.go:99
↓ 1 callersFunctionallowInsecureConfigs
(c *config.Config)
checkup/checkup.go:39
↓ 1 callersFunctionallowedVariableUsage
(schema,varType,varDefaultValue,locationType,locationDefaultValue)
templates/playground/playground.js:909
↓ 1 callersMethodamqp09Publisher
(messages [][]byte)
gateway/mw_streaming_amqp_test.go:140
↓ 1 callersFunctionamqp1Publisher
(t *testing.T, amqpURL string, queueName string, messages [][]byte)
gateway/mw_streaming_amqp_test.go:122
↓ 1 callersFunctionappendApiDefQueriesConfigToEngineV2Queries
(engineV2Queries *[]restdatasource.QueryConfiguration, apiDefQueries []apidef.QueryVariable)
apidef/adapter/gqlengineadapter/utils_engine_v2.go:103
↓ 1 callersMethodappendFilteredOASSecurityRequirements
appendFilteredOASSecurityRequirements adds OAS security requirements to the API definition, skipping any single-scheme requirements that are already p
apidef/oas/security.go:1693
↓ 1 callersFunctionappendURLQueryParamsToEngineV2Queries
(engineV2Queries *[]restdatasource.QueryConfiguration, queryValues neturl.Values)
apidef/adapter/gqlengineadapter/utils_engine_v2.go:90
↓ 1 callersMethodappendVendorSecurityRequirements
appendVendorSecurityRequirements adds vendor extension security requirements to the API definition if they exist.
apidef/oas/security.go:1715
↓ 1 callersFunctionapplicableHelpers
(cm,helpers)
templates/playground/playground.js:125
↓ 1 callersMethodapplyAPILevelLimits
(policyAD user.AccessDefinition, currAD user.AccessDefinition)
internal/policy/apply.go:589
↓ 1 callersMethodapplyPartitions
(policy user.Policy, session *user.SessionState, rights map[string]user.AccessDefinition, applyState *applySt
internal/policy/apply.go:352
↓ 1 callersMethodapplyPerAPI
(policy user.Policy, session *user.SessionState, rights map[string]user.AccessDefinition, applyState *applySt
internal/policy/apply.go:300
↓ 1 callersMethodapplyRequestHeadersRewriteRules
(r *http.Request)
internal/graphengine/transport.go:80
↓ 1 callersFunctionassertNew
(ctx context.Context, tb testing.TB, conn redis.UniversalClient, tx bool)
internal/rate/sliding_log_test.go:208
↓ 1 callersFunctionassertType
(type)
templates/playground/playground.js:649
↓ 1 callersFunctionassertValidExecutionArguments
(schema,document,rawVariableValues)
templates/playground/playground.js:441
↓ 1 callersMethodbackupConfiguration
()
gateway/redis_signal_handle_config.go:22
↓ 1 callersFunctionbase64Encode
(str string)
internal/oasbuilder/builder.go:366
↓ 1 callersMethodbasicAuthBodyCredentials
(w http.ResponseWriter, r *http.Request)
gateway/mw_basic_auth.go:126
↓ 1 callersMethodbasicAuthHashAlgo
()
gateway/api.go:425
↓ 1 callersMethodbasicAuthHeaderCredentials
(w http.ResponseWriter, r *http.Request)
gateway/mw_basic_auth.go:86
↓ 1 callersFunctionbidiSimplify
(cm,range)
templates/playground/playground.js:149
↓ 1 callersMethodbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
coprocess/bindings/java/DispatcherGrpc.java:122
↓ 1 callersMethodbuild
(builder *Builder)
internal/oasbuilder/builder.go:322
↓ 1 callersFunctionbuildASTSchema
(documentAST,options)
templates/playground/playground.js:689
↓ 1 callersFunctionbuildClientSchema
(introspection,options)
templates/playground/playground.js:693
↓ 1 callersFunctionbuildExecutionContext
(schema,document,rootValue,contextValue,rawVariableValues,operationName,fieldResolver,typeResolver)
templates/playground/playground.js:441
↓ 1 callersFunctionbuildKeyMap
(completion,handle)
templates/playground/playground.js:125
↓ 1 callersFunctionbuildLineElement
(cm,lineView,lineN,dims)
templates/playground/playground.js:149
↓ 1 callersMethodbuildPartial
()
coprocess/bindings/java/CoprocessReturnOverrides.java:362
↓ 1 callersMethodbuildPartial
()
coprocess/bindings/java/CoprocessCommon.java:471
↓ 1 callersFunctionbuildPath
buildPath converts the URL paths with regex to named parameters e.g. ["a", ".*"] becomes /a/{customRegex1}.
apidef/oas/operation.go:606
↓ 1 callersFunctionbuildResolveInfo
(exeContext,fieldDef,fieldNodes,parentType,path)
templates/playground/playground.js:441
↓ 1 callersFunctionbuildResponse
(exeContext,data)
templates/playground/playground.js:441
↓ 1 callersFunctionbuildSelectionSet
(type,getDefaultFieldNames)
templates/playground/playground.js:309
↓ 1 callersFunctionbuildTokenBadBidi
(inner,order)
templates/playground/playground.js:149
↓ 1 callersFunctionbuildType
(astNode)
templates/playground/playground.js:705
↓ 1 callersMethodbuild_hooks_and_event_handlers
(self)
coprocess/python/tyk/middleware.py:60
↓ 1 callersFunctionca
(e,g,h,k)
templates/playground/playground.js:1311
↓ 1 callersFunctioncalcDistance
calcDistance calculates the distance between two points using the "haversine" formula. The formula is based on http://mathforum.org/library/drmath/vie
gateway/grpc_streaming_server_test.go:153
↓ 1 callersFunctioncallInvokeWithMethodAndArg
()
templates/playground/playground.js:1
↓ 1 callersFunctioncanRunOperation
(operationName)
templates/playground/playground.js:177
↓ 1 callersFunctioncanUseDirective
(state,directive)
templates/playground/playground.js:353
↓ 1 callersFunctioncgoCint
(in int)
gateway/coprocess_api.go:119
↓ 1 callersFunctioncgoGoString
(in *C.char)
gateway/coprocess_api.go:115
↓ 1 callersFunctioncharType
(code)
templates/playground/playground.js:149
↓ 1 callersMethodcheckClockSkew
(dateHeaderValue string)
gateway/mw_http_signature_validation.go:254
↓ 1 callersFunctioncheckContextTrigger
(r *http.Request, options map[string]apidef.StringRegexMap, any bool, triggernum int)
gateway/mw_url_rewrite.go:667
↓ 1 callersMethodcheckCooldownExistsInLocalCache
(certInfo CertInfo)
internal/certcheck/batcher.go:181
↓ 1 callersMethodcheckDNS
checkDNS performs the DNS check and reconnects if needed Returns true if DNS changed, false otherwise
rpc/dns_monitor.go:185
↓ 1 callersFunctioncheckDisconnect
()
rpc/rpc_client.go:603
↓ 1 callersFunctioncheckErrAndPanic
(err error, message string)
internal/uuid/uuid.go:16
↓ 1 callersMethodcheckForUnsupportedUsage
()
gateway/mw_graphql.go:210
↓ 1 callersFunctioncheckHeaderTrigger
(r *http.Request, options map[string]apidef.StringRegexMap, any bool, triggernum int)
gateway/mw_url_rewrite.go:553
↓ 1 callersFunctioncheckPathParts
(r *http.Request, options map[string]apidef.StringRegexMap, any bool, triggernum int)
gateway/mw_url_rewrite.go:611
↓ 1 callersFunctioncheckPayload
(r *http.Request, options apidef.StringRegexMap, triggernum int)
gateway/mw_url_rewrite.go:698
↓ 1 callersFunctioncheckPointOk
(t *testing.T, a, b *pb.Point)
gateway/grpc_streaming_client_test.go:56
↓ 1 callersFunctioncheckQueryString
(r *http.Request, options map[string]apidef.StringRegexMap, any bool, triggernum int)
gateway/mw_url_rewrite.go:582
↓ 1 callersFunctioncheckRabbitMQAliveness
checkRabbitMQAliveness verifies the RabbitMQ container is alive and accepting connections within a specified duration.
gateway/mw_streaming_amqp_test.go:413
↓ 1 callersFunctioncheckSessionTrigger
(r *http.Request, sess *user.SessionState, options map[string]apidef.StringRegexMap, any bool, triggernum int)
gateway/mw_url_rewrite.go:638
↓ 1 callersMethodcheckURL
(r string)
gateway/event_handler_webhooks.go:168
↓ 1 callersFunctionclassName
(type,value)
templates/playground/playground.js:153
↓ 1 callersFunctionclassNameAfter
(type,value)
templates/playground/playground.js:153
↓ 1 callersFunctioncleanIdleMemConnProviders
cleanIdleMemConnProviders checks memconn.Provider instances periodically and deletes idle ones.
gateway/reverse_proxy.go:892
↓ 1 callersFunctioncleanUpLine
(line)
templates/playground/playground.js:149
↓ 1 callersMethodcleanup
(self)
coprocess/python/tyk/middleware.py:69
↓ 1 callersMethodcleanup
()
internal/memorycache/cache.go:62
↓ 1 callersMethodclear
()
internal/memorycache/cache.go:72
↓ 1 callersFunctionclearClassicAPIForSomeFeatures
clearClassicAPIForSomeFeatures clears some features that will be OAS-only. For example, the new validate request will just be valid for OAS APIs so af
apidef/oas/oas.go:784
↓ 1 callersFunctionclearHighlighted
(cm)
templates/playground/playground.js:109
↓ 1 callersFunctionclickRepeat
(pos,button)
templates/playground/playground.js:149
↓ 1 callersFunctionclientConn
(c net.Conn)
tcp/tcp.go:366
↓ 1 callersFunctionclipToLen
(pos,linelen)
templates/playground/playground.js:149
↓ 1 callersFunctioncloneAccess
(m map[string]AccessDefinition)
user/session.go:389
← previousnext →3,701–3,800 of 9,242, ranked by callers