MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 2 callersMethodUpdateServers
UpdateServers sets or updates the first servers URL if it matches oldAPIURL.
apidef/oas/oas.go:484
↓ 2 callersMethodUsage
()
tests/streams/scripts/websocket_load_generator.go:42
↓ 2 callersFunctionValid
Valid returns true if id is parsed as UUID without error.
internal/uuid/uuid.go:32
↓ 2 callersMethodValid
Valid will return true if the rate limit smoothing should be applied.
apidef/rate_limit_smoothing.go:89
↓ 2 callersMethodValidate
(signature, key, secret string, allowedClockSkew int64)
signature_validator/validate.go:33
↓ 2 callersFunctionValidateOASTemplate
ValidateOASTemplate checks a Tyk Streams OAS API template for necessary fields, acknowledging that some standard Tyk OAS API fields are optional in te
apidef/streams/validator.go:220
↓ 2 callersFunctionValidateOASTemplate
ValidateOASTemplate checks a Tyk OAS API template for necessary fields, acknowledging that some standard Tyk OAS API fields are optional in templates.
apidef/oas/validator.go:141
↓ 2 callersFunctionValidateRequestCerts
ValidateRequestCerts validates client TLS certificates against a list of allowed certificates configured in API definition. It returns an error if TLS
internal/crypto/helpers.go:97
↓ 2 callersFunctionVi
(a)
templates/playground/playground.js:1290
↓ 2 callersFunctionWa
(a)
templates/playground/playground.js:1290
↓ 2 callersFunctionWc
(a)
templates/playground/playground.js:1290
↓ 2 callersFunctionWithGlobalRateLimit
(rate uint, duration time.Duration, enabled ...bool)
internal/oasbuilder/builder.go:146
↓ 2 callersFunctionWithHttpClient
(httpClient *http.Client)
apidef/adapter/graphql_config_adapter.go:42
↓ 2 callersMethodWithRequest
WithRequest fills fields from the http request.
internal/httputil/accesslog/record.go:44
↓ 2 callersMethodWithResponse
WithResponse fills response details into the log fields.
internal/httputil/accesslog/record.go:67
↓ 2 callersFunctionWithStreamingClient
(streamingClient *http.Client)
apidef/adapter/graphql_config_adapter.go:48
↓ 2 callersFunctionWj
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctionWriteConf
(path string, conf *Config)
config/config.go:1438
↓ 2 callersFunctionXc
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctionXj
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctionY
(a)
templates/playground/playground.js:1327
↓ 2 callersFunctionZa
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctionZe
(a,b,c)
templates/playground/playground.js:1290
↓ 2 callersFunctionZh
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctionZi
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctionZipFilePath
ZipFilePath validates that a file path from a zip archive is safe and within the expected directory.
internal/sanitize/path.go:13
↓ 2 callersFunctionZj
(a)
templates/playground/playground.js:1290
↓ 2 callersFunction__nested_webpack_require_187__
(moduleId)
templates/playground/playground.js:1
↓ 2 callersFunction_construct
(Parent,args,Class)
templates/playground/playground.js:421
↓ 2 callersFunction_inheritsLoose
(subClass,superClass)
templates/playground/playground.js:769
↓ 2 callersFunction_slicedToArray
(arr,i)
templates/playground/playground.js:177
↓ 2 callersFunction_wrapNativeSuper
(Class)
templates/playground/playground.js:421
↓ 2 callersFunctionac
(a)
templates/playground/playground.js:1290
↓ 2 callersFunctionaccessLogTestCases
accessLogTestCases define test cases in a table to reduce repetition.
tests/accesslog/access_log_test.go:21
↓ 2 callersFunctionadapt
(delta,numPoints,firstTime)
templates/playground/playground.js:1173
↓ 2 callersFunctionaddBinding
(key,val)
templates/playground/playground.js:125
↓ 2 callersFunctionaddBodyHash
(req *http.Request, regex string, h hash.Hash)
gateway/mw_redis_cache.go:72
↓ 2 callersFunctionaddChangeToHistory
(doc,change,selAfter,opId)
templates/playground/playground.js:149
↓ 2 callersFunctionaddCursorToSelection
(cm,dir)
templates/playground/playground.js:145
↓ 2 callersFunctionaddMascotHeaders
(w http.ResponseWriter)
gateway/mascot.go:14
↓ 2 callersFunctionaddModifierNames
(name,event,noShift)
templates/playground/playground.js:149
↓ 2 callersMethodaddPubSubDelay
addPubSubDelay sleeps for duration
gateway/redis_signals.go:88
↓ 2 callersMethodaddRepeatedField
( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
coprocess/bindings/java/CoprocessObject.java:1922
↓ 2 callersMethodaddTraceIDTag
(reqCtx context.Context, tags []string)
gateway/handler_success.go:174
↓ 2 callersMethodaddTraceIDToContextVars
( ctx context.Context, vars map[string]interface{}, )
gateway/mw_context_vars.go:28
↓ 2 callersFunctionadjustForChange
(pos,change)
templates/playground/playground.js:149
↓ 2 callersFunctionadjustScrollWhenAboveVisible
(cm,line,diff)
templates/playground/playground.js:149
↓ 2 callersFunctionadvance
()
templates/playground/playground.js:137
↓ 2 callersFunctionae
()
templates/playground/playground.js:1311
↓ 2 callersFunctionaf
(a,b,c,d)
templates/playground/playground.js:1290
↓ 2 callersFunctionai
()
templates/playground/playground.js:1290
↓ 2 callersFunctionaj
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctionalignHorizontally
(cm)
templates/playground/playground.js:149
↓ 2 callersFunctionand
(predicates ...cntPredicate[T])
gateway/tracing_test.go:461
↓ 2 callersFunctionannotationTooltip
(ann)
templates/playground/playground.js:129
↓ 2 callersFunctionannotations
(error,severity,type)
templates/playground/playground.js:361
↓ 2 callersFunctionappendApiDefQueriesConfigToEngineV2Queries
(engineV2Queries *[]restdatasource.QueryConfiguration, apiDefQueries []apidef.QueryVariable)
apidef/adapter/gqlengineadapter/enginev3/utils.go:57
↓ 2 callersFunctionappendIfMissing
appendIfMissing ensures dest slice is unique with new items.
gateway/util.go:14
↓ 2 callersFunctionappendURLQueryParamsToEngineV2Queries
(engineV2Queries *[]restdatasource.QueryConfiguration, queryValues neturl.Values)
apidef/adapter/gqlengineadapter/enginev3/utils.go:44
↓ 2 callersFunctionapplyClientOptions
(c *http.Client, opts ...ClientOption)
test/http_client.go:27
↓ 2 callersFunctionapplyTextInput
(cm,inserted,deleted,sel,origin)
templates/playground/playground.js:149
↓ 2 callersFunctionareMapsEqual
check if 2 maps are the same
gateway/util.go:198
↓ 2 callersFunctionasyncGeneratorStep
(gen,resolve,reject,_next,_throw,key,arg)
templates/playground/playground.js:1
↓ 2 callersFunctionasyncMapValue
(value,callback)
templates/playground/playground.js:641
↓ 2 callersFunctionattachDoc
(cm,doc)
templates/playground/playground.js:149
↓ 2 callersFunctionattachLocalSpans
(doc,change,from,to)
templates/playground/playground.js:149
↓ 2 callersFunctionattachMarkedSpans
(line,spans)
templates/playground/playground.js:149
↓ 2 callersFunctionbelongsToInput
(e)
templates/playground/playground.js:149
↓ 2 callersFunctionbg
(a)
templates/playground/playground.js:1311
↓ 2 callersMethodblock
(logger *logrus.Entry)
gateway/mw_granular_access.go:120
↓ 2 callersMethodbluePrintLoadFile
(path string)
cli/importer/importer.go:323
↓ 2 callersFunctionboolPtr
(v bool)
apidef/oas/oasutil_test.go:41
↓ 2 callersFunctionbracketRegex
(config)
templates/playground/playground.js:109
↓ 2 callersFunctionbuildArgumentMap
(args)
templates/playground/playground.js:705
↓ 2 callersFunctionbuildCollapsedSpan
(builder,size,marker,ignoreWidget)
templates/playground/playground.js:149
↓ 2 callersFunctionbuildEnumValueMap
(nodes)
templates/playground/playground.js:705
↓ 2 callersFunctionbuildInputFieldMap
(nodes)
templates/playground/playground.js:705
↓ 2 callersFunctionbuildLineContent
(cm,lineView)
templates/playground/playground.js:149
↓ 2 callersFunctionbuildTagSet
buildTagSet creates a map for O(1) tag lookups.
apidef/oas/servers_regeneration.go:291
↓ 2 callersFunctionbuildTriggerKey
(num int, name string, indices ...int)
gateway/mw_url_rewrite.go:752
↓ 2 callersFunctionbuildUnionTypes
(nodes)
templates/playground/playground.js:705
↓ 2 callersFunctionbuildVersionedServerURL
buildVersionedServerURL constructs a server URL for a versioned API based on the versioning method (URL path, query param, or header).
apidef/oas/servers_regeneration.go:346
↓ 2 callersFunctionbyMiddleware
(mwName string)
gateway/tracing_test.go:449
↓ 2 callersMethodcacheCertificate
cacheCertificate saves locally resourceCertificate after pull from rpc
storage/mdcb_storage.go:251
↓ 2 callersMethodcacheOAuthClient
cacheOAuthClient saved oauth data in local storage after pull from rpc
storage/mdcb_storage.go:259
↓ 2 callersFunctioncallBlankLine
(mode,state)
templates/playground/playground.js:149
↓ 2 callersFunctioncased
(str)
templates/playground/playground.js:149
↓ 2 callersFunctioncf
(a)
templates/playground/playground.js:1290
↓ 2 callersFunctioncharsAround
(cm,pos)
templates/playground/playground.js:105
↓ 2 callersMethodcheckIsAPIOwner
checkIsAPIOwner will ensure that the accessor of the tyk API has the correct security credentials - this is a shared secret between the client and the
gateway/server.go:806
↓ 2 callersMethodcheckLimit
(sessionData *user.SessionState, key string, quotaMax, quotaRemaining, quotaRenews int64)
gateway/monitor.go:54
↓ 2 callersMethodcheckPassword
(session *user.SessionState, plainPassword string, logger *logrus.Entry)
gateway/mw_basic_auth.go:218
↓ 2 callersMethodcheckPollerLoop
(ctx context.Context)
gateway/host_checker_manager.go:118
↓ 2 callersMethodcheckRequestLimit
(r *http.Request, sizeLimit int64)
gateway/mw_request_size_limit.go:49
↓ 2 callersFunctionci
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctioncipherNamesEqual
(s1, s2 string)
internal/crypto/ciphers.go:78
↓ 2 callersFunctioncj
(a,b)
templates/playground/playground.js:1290
↓ 2 callersFunctioncleanIdleMemConnProvidersEagerly
cleanIdleMemConnProvidersEagerly deletes idle memconn.Provider instances and closes the underlying listener to free resources.
gateway/reverse_proxy.go:877
↓ 2 callersMethodcleanKey
(keyName string)
storage/redis_cluster.go:256
↓ 2 callersMethodcleanKey
(keyName string)
gateway/rpc_storage_handler.go:241
← previousnext →2,401–2,500 of 9,242, ranked by callers