MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 5 callersFunctionNa
(a)
templates/playground/playground.js:1290
↓ 5 callersFunctionNewAllowanceStore
NewAllowanceStore will return a new instance of *AllowanceStore.
internal/rate/allowance_store.go:34
↓ 5 callersFunctionNewBufferingLogger
NewBufferingLogger creates a new buffered logger.
test/buffered_logger.go:72
↓ 5 callersFunctionNewMergedAPIList
(apis ...MergedAPI)
internal/model/merged_apis.go:32
↓ 5 callersFunctionNewMiddleware
NewMiddleware returns a new instance of Middleware.
ee/middleware/upstreamoauth/middleware.go:34
↓ 5 callersFunctionNewSyncForcer
NewSyncForcer returns a new syncforcer with a connected redis with a key prefix synchronizer-group- for group synchronization control.
rpc/synchronization_forcer.go:23
↓ 5 callersFunctionNg
(a,b,c,d)
templates/playground/playground.js:1290
↓ 5 callersMethodParseObject
(contents string, jsonParsed *gabs.Container)
gateway/service_discovery.go:233
↓ 5 callersMethodPayload
Payload returns the message payload.
gateway/testutil.go:2085
↓ 5 callersFunctionPd
(a)
templates/playground/playground.js:1290
↓ 5 callersMethodPing
()
gateway/dashboard_register.go:31
↓ 5 callersFunctionRacy
Racy skips a racy test in a CI environment
test/util.go:25
↓ 5 callersFunctionRb
(a,b,c,d,e,f,g,h,k)
templates/playground/playground.js:1290
↓ 5 callersMethodRead
Read just a wrapper around real Read which also moves position to the start if we get EOF to have it ready for next read-cycle
test/http.go:200
↓ 5 callersMethodRegisterJSFileMiddleware
(apiid string, files map[string]string)
gateway/testutil.go:314
↓ 5 callersMethodReplaceAllStringFunc
ReplaceAllStringFunc is the same as regexp.Regexp.ReplaceAllStringFunc but returns cached result instead.
regexp/regexp.go:206
↓ 5 callersMethodSet
(newList []string)
apidef/host_list.go:25
↓ 5 callersMethodSetExp
(keyName string, timeout int64)
storage/redis_cluster.go:355
↓ 5 callersFunctionSetExtraMetadata
(r *http.Request, keyList []string, metadata map[string]interface{})
ee/middleware/upstreamoauth/provider.go:157
↓ 5 callersFunctionSi
(a,b,c)
templates/playground/playground.js:1290
↓ 5 callersFunctionStartSlaveGw
(connectionString string, groupId string)
gateway/rpc_test.go:17
↓ 5 callersMethodStripListenPath
StripListenPath will strip the listen path from the URL, keeping version in tact.
gateway/api_definition.go:1768
↓ 5 callersMethodTouch
Touch marks the session as modified, indicating that it should be updated.
user/session.go:323
↓ 5 callersFunctionValidateOASObjectWithBentoConfigValidator
ValidateOASObjectWithBentoConfigValidator validates a Tyk Streams document against a particular OAS version and takes an optional ConfigValidator
apidef/streams/validator.go:195
↓ 5 callersFunctionVh
(a,b,c,d)
templates/playground/playground.js:1290
↓ 5 callersFunctionWh
(a,b)
templates/playground/playground.js:1290
↓ 5 callersFunctionWithGet
(path string, fn EndpointFactory)
internal/oasbuilder/builder.go:191
↓ 5 callersFunctionWithTestListenPathAndUpstream
(path, upstreamUrl string)
internal/oasbuilder/builder.go:103
↓ 5 callersMethodWrappedServeHTTP
(rw http.ResponseWriter, req *http.Request, withCache bool)
gateway/reverse_proxy.go:1061
↓ 5 callersFunctionWriteDefault
writeDefault will set conf to the default config and write it to disk in path, if the path is non-empty.
config/config.go:1448
↓ 5 callersFunctionXd
(a)
templates/playground/playground.js:1311
↓ 5 callersFunctionXh
(a,b)
templates/playground/playground.js:1290
↓ 5 callersFunction__spreadArrays
()
templates/playground/playground.js:233
↓ 5 callersFunctionaddClass
(node,cls)
templates/playground/playground.js:149
↓ 5 callersMethodaddRepeatedField
( com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
coprocess/bindings/java/CoprocessSessionState.java:2895
↓ 5 callersMethodappendErrors
(errs ...error)
internal/oasbuilder/builder.go:89
↓ 5 callersFunctionappendIfMissing
appendIfMissing ensures dest slice is unique with new items.
internal/policy/util.go:52
↓ 5 callersFunctionassertSigningMethod
assertSigningMethod asserts the provided signing method with that of jwt.
gateway/mw_jwt.go:1481
↓ 5 callersFunctionbuildCoProcessChain
* Middleware */
coprocess/coprocess_test.go:139
↓ 5 callersFunctionbuildServerRegenerationConfig
buildServerRegenerationConfig creates a ServerRegenerationConfig from Gateway config.
gateway/api_oas_servers.go:14
↓ 5 callersFunctionbuildServerURL
buildServerURL constructs a server URL. Returns relative path if host is empty.
apidef/oas/servers_regeneration.go:321
↓ 5 callersFunctioncc
(a)
templates/playground/playground.js:1290
↓ 5 callersFunctionchangeLine
(doc,handle,changeType,op)
templates/playground/playground.js:149
↓ 5 callersFunctioncheckAndHandleDNSChange
checkAndHandleDNSChange checks if DNS has changed and handles reconnection if needed. Returns true if DNS changed and reconnection was attempted, fals
rpc/dns_resolver.go:123
↓ 5 callersMethodclear
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:1368
↓ 5 callersFunctionclearCaches
(cm)
templates/playground/playground.js:149
↓ 5 callersMethodclearField
( com.google.protobuf.Descriptors.FieldDescriptor field)
coprocess/bindings/java/CoprocessSessionState.java:2882
↓ 5 callersMethodclearOneof
( com.google.protobuf.Descriptors.OneofDescriptor oneof)
coprocess/bindings/java/CoprocessSessionState.java:2886
↓ 5 callersMethodclone
()
coprocess/bindings/java/CoprocessSessionState.java:2874
↓ 5 callersFunctioncontCommasep
(what,end,info)
templates/playground/playground.js:153
↓ 5 callersFunctioncontains
contains checks whether the given slice contains the given item.
gateway/util.go:66
↓ 5 callersFunctioncreateArgumentConfigurationsForArgumentNames
(argumentNames ...string)
apidef/adapter/gqlengineadapter/enginev3/utils.go:146
↓ 5 callersFunctionctxSetURLRewriteTarget
(r *http.Request, url *url.URL)
gateway/api.go:3216
↓ 5 callersFunctiondecode
(tb testing.TB, fs embed.FS, dest any, filename string)
apidef/oas/url_rewrite_test.go:49
↓ 5 callersFunctiondefine
(obj,key,value)
templates/playground/playground.js:1
↓ 5 callersFunctiondeleteJWKCacheByAPIID
(apiID string)
gateway/mw_jwt.go:123
↓ 5 callersMethoddepthLimitEnabled
(accessDefinition *ComplexityAccessDefinition)
internal/graphengine/graphql_go_tools_v1.go:383
↓ 5 callersFunctiondispatchKey
(cm,name,e,handle)
templates/playground/playground.js:149
↓ 5 callersFunctiondoSearch
(cm,rev,persistent,immediate)
templates/playground/playground.js:137
↓ 5 callersFunctionef
(a,b,c)
templates/playground/playground.js:1290
↓ 5 callersFunctionendpointRateLimitTestHelper
(t *testing.T, limiter string, beforeFn func())
tests/rate/endpoint_rate_limit_test.go:48
↓ 5 callersMethodensureDeleteHeadersIsMutable
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:1789
↓ 5 callersMethodensureDeleteParamsIsMutable
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:2378
↓ 5 callersFunctionensureFlags
(regexp,flags)
templates/playground/playground.js:141
↓ 5 callersMethodensureItemsIsMutable
()
coprocess/bindings/java/CoprocessCommon.java:558
↓ 5 callersFunctionensureLineWrapped
(lineView)
templates/playground/playground.js:149
↓ 5 callersMethodensureMethodsIsMutable
()
coprocess/bindings/java/CoprocessSessionState.java:573
↓ 5 callersMethodensureTagsIsMutable
()
coprocess/bindings/java/CoprocessSessionState.java:6908
↓ 5 callersMethodensureVersionsIsMutable
()
coprocess/bindings/java/CoprocessSessionState.java:1534
↓ 5 callersFunctionfindFirst
(pred,from,to)
templates/playground/playground.js:149
↓ 5 callersMethodformatError
(schemaErrors []gojsonschema.ResultError)
gateway/mw_validate_json.go:75
↓ 5 callersFunctiongenerateClientCredentialsCacheKey
(config apidef.UpstreamOAuth, apiId string)
ee/middleware/upstreamoauth/provider.go:119
↓ 5 callersFunctiongenerateStandardServers
generateStandardServers generates server URLs for non-versioned APIs.
apidef/oas/servers_regeneration.go:144
↓ 5 callersFunctiongetAllImplementsInterfaceNodes
(type,iface)
templates/playground/playground.js:673
↓ 5 callersFunctiongetAuthKeyChain
(spec *APISpec, ts *Test)
gateway/mw_auth_key_test.go:325
↓ 5 callersMethodgetBasicAuthData
<code>optional .coprocess.BasicAuthData basic_auth_data = 14;</code>
coprocess/bindings/java/CoprocessSessionState.java:4475
↓ 5 callersFunctiongetBidiPartAt
(order,ch,sticky)
templates/playground/playground.js:149
↓ 5 callersMethodgetBundleDestPath
(spec *APISpec)
gateway/coprocess_bundle.go:371
↓ 5 callersFunctiongetContextBefore
(cm,n,precise)
templates/playground/playground.js:149
↓ 5 callersMethodgetFromRPCAndCache
getFromRPCAndCache pulls a resource from rpc and stores it in local redis for caching
storage/mdcb_storage.go:278
↓ 5 callersMethodgetHealthCheckInfo
()
gateway/health_check.go:38
↓ 5 callersMethodgetHttpClient
()
apidef/adapter/graphql_config_adapter.go:139
↓ 5 callersFunctiongetJWKWithClient
getJWKWithClient fetches JWK using the provided HTTP client for proxy and mTLS support
gateway/external_http_client.go:70
↓ 5 callersMethodgetJwtData
<code>optional .coprocess.JWTData jwt_data = 15;</code>
coprocess/bindings/java/CoprocessSessionState.java:4496
↓ 5 callersFunctiongetMarkedSpanFor
(spans,marker)
templates/playground/playground.js:149
↓ 5 callersMethodgetMonitor
<code>optional .coprocess.Monitor monitor = 21;</code>
coprocess/bindings/java/CoprocessSessionState.java:4612
↓ 5 callersMethodgetMultiAuthStandardAndBasicAuthChain
(spec *APISpec)
gateway/multiauth_test.go:79
↓ 5 callersMethodgetParserForType
()
coprocess/bindings/java/CoprocessMiniRequestObject.java:2625
↓ 5 callersFunctiongetRedisAddrs
(conf config.StorageOptionsConf)
storage/redis_cluster.go:63
↓ 5 callersMethodgetRequest
<code>optional .coprocess.MiniRequestObject request = 3;</code>
coprocess/bindings/java/CoprocessObject.java:337
↓ 5 callersMethodgetReturnOverrides
<code>optional .coprocess.ReturnOverrides return_overrides = 10;</code>
coprocess/bindings/java/CoprocessMiniRequestObject.java:979
↓ 5 callersFunctiongetSearchCursor
(cm,query,pos)
templates/playground/playground.js:137
↓ 5 callersFunctiongetSearchState
(cm)
templates/playground/playground.js:137
↓ 5 callersMethodgetSecretToVerifySignature
(r *http.Request, token *jwt.Token)
gateway/mw_jwt.go:347
↓ 5 callersMethodgetSession
<code>optional .coprocess.SessionState session = 4;</code>
coprocess/bindings/java/CoprocessObject.java:358
↓ 5 callersMethodgetStreamingClient
()
apidef/adapter/graphql_config_adapter.go:147
↓ 5 callersFunctiongetTLSVersion
getTLSVersion converts a string TLS version to the corresponding tls constant
internal/rate/storage.go:171
↓ 5 callersFunctiongetToken
(r *http.Request, cacheKey string, obtainTokenFunc func(context.Context) (*oauth2.Token, error), secret string
ee/middleware/upstreamoauth/token_cache.go:22
↓ 5 callersMethodgetTriggerLimitsList
<code>repeated double trigger_limits = 1;</code>
coprocess/bindings/java/CoprocessSessionState.java:3167
↓ 5 callersMethodgetTykTokenAuth
(name string)
apidef/oas/oas.go:284
← previousnext →1,001–1,100 of 9,242, ranked by callers