MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 4 callersFunctionskipAtomicInner
(doc,pos,oldPos,dir,mayClear)
templates/playground/playground.js:149
↓ 4 callersFunctionsortObjMap
(map,sortValueFn)
templates/playground/playground.js:737
↓ 4 callersMethodsortedSet
()
storage/redis_cluster.go:220
↓ 4 callersFunctionstartSearch
(cm,state,query)
templates/playground/playground.js:137
↓ 4 callersMethodstop
()
gateway/reverse_proxy.go:1644
↓ 4 callersFunctionstringToArray
(str)
templates/playground/playground.js:545
↓ 4 callersMethodstripFromHeaders
strips auth key from headers
gateway/mw_strip_auth.go:73
↓ 4 callersMethodswap
(new *proxyMux, gw *Gateway)
gateway/proxy_muxer.go:365
↓ 4 callersFunctiontagHeaders
(r *http.Request, th []string, tags []string)
gateway/handler_success.go:52
↓ 4 callersFunctionte
(a)
templates/playground/playground.js:1290
↓ 4 callersFunctiontestGRPCStreamClient
(t *testing.T, addr string, opts ...grpc.DialOption)
gateway/grpc_streaming_client_test.go:192
↓ 4 callersMethodtestPrepareAuthKeySession
(apiDef string, isBench bool)
gateway/mw_auth_key_test.go:343
↓ 4 callersFunctiontestRateLimit
(tb testing.TB, ts *Test, testPath string, testMethod string, want int)
tests/rate/per_api_limit_test.go:35
↓ 4 callersMethodtestTykStreamAMQPIntegration
()
gateway/mw_streaming_amqp_test.go:368
↓ 4 callersFunctiontk
(a,b,c,d,e)
templates/playground/playground.js:1290
↓ 4 callersFunctiontlsClientConfig
(s *APISpec, gw *Gateway)
gateway/reverse_proxy.go:623
↓ 4 callersFunctiontoRadians
(num float64)
gateway/grpc_streaming_server_test.go:147
↓ 4 callersFunctionuntpl
(tpl)
templates/playground/playground.js:933
↓ 4 callersFunctionupdateFoldInfo
(cm,from,to)
templates/playground/playground.js:121
↓ 4 callersFunctionupdateHeightsInViewport
(cm)
templates/playground/playground.js:149
↓ 4 callersMethodvalidateOAS
(next http.HandlerFunc)
gateway/api.go:3044
↓ 4 callersFunctionvb
(a,b)
templates/playground/playground.js:1290
↓ 4 callersFunctionviewCuttingPoint
(cm,oldN,newN,dir)
templates/playground/playground.js:149
↓ 4 callersFunctionvisibleLines
(display,doc,viewport)
templates/playground/playground.js:149
↓ 4 callersFunctionwithEndpoint
(method, path string, fn EndpointFactory)
internal/oasbuilder/builder.go:178
↓ 4 callersFunctionwrapX
(pos,dir,side)
templates/playground/playground.js:149
↓ 4 callersMethodwriteOASAndAPIDefToFile
(fs afero.Fs, apiDef *apidef.APIDefinition, oasObj *oas.OAS)
gateway/api.go:1267
↓ 4 callersFunctionx
(e,g,h,k)
templates/playground/playground.js:1290
↓ 4 callersFunctionxj
(a,b)
templates/playground/playground.js:1311
↓ 4 callersFunctionyc
(a,b,c,d)
templates/playground/playground.js:1290
↓ 4 callersFunctionyg
(a,b)
templates/playground/playground.js:1290
↓ 4 callersFunctionyi
(a,b)
templates/playground/playground.js:1290
↓ 4 callersFunctionzi
(a,b,c,d,e,f)
templates/playground/playground.js:1290
↓ 4 callersFunctionzj
(a)
templates/playground/playground.js:1311
↓ 3 callersFunction$i
(a,b)
templates/playground/playground.js:1290
↓ 3 callersMethodAddToSet
(keyName, value string)
storage/redis_cluster.go:823
↓ 3 callersMethodAddToSortedSet
AddToSortedSet adds value with given score to sorted set identified by keyName
storage/redis_cluster.go:993
↓ 3 callersFunctionAddTraceID
(ctx context.Context, w http.ResponseWriter)
internal/otel/otel.go:156
↓ 3 callersFunctionAh
()
templates/playground/playground.js:1290
↓ 3 callersMethodApply
(input []byte)
apidef/streams/bento/schema/generate_bento_config_schema.go:360
↓ 3 callersMethodApplyEndpointLevelLimits
ApplyEndpointLevelLimits combines policyEndpoints and currEndpoints and returns the combined value. The returned endpoints would have the highest requ
internal/policy/apply.go:623
↓ 3 callersFunctionBh
(a,b)
templates/playground/playground.js:1290
↓ 3 callersMethodBuild
()
internal/oasbuilder/builder.go:93
↓ 3 callersFunctionCI
CI returns true when a non-empty CI env is present
test/util.go:15
↓ 3 callersFunctionCi
(a,b)
templates/playground/playground.js:1311
↓ 3 callersFunctionCj
(a,b)
templates/playground/playground.js:1311
↓ 3 callersMethodClear
()
dnscache/manager.go:40
↓ 3 callersMethodClient
Client will return a redis v8 RedisClient. This function allows implementation using the old storage clients.
storage/redis_cluster.go:75
↓ 3 callersMethodClient
Client returns the redis.UniversalClient or an error if not available.
internal/rate/model/interfaces.go:32
↓ 3 callersMethodClone
Clone creates a deep copy of the OAS object and returns a new instance.
apidef/oas/oas.go:211
↓ 3 callersFunctionCloneAPI
(a *APISpec)
gateway/testutil.go:1899
↓ 3 callersFunctionCodeMirror
(place,options)
templates/playground/playground.js:149
↓ 3 callersMethodConvertIntoApiVersion
(bool)
apidef/importer/importer.go:15
↓ 3 callersFunctionConvertYAMLToJSON
ConvertYAMLToJSON converts a YAML byte slice to a JSON byte slice
gateway/mw_streaming_test.go:105
↓ 3 callersMethodCopy
Copy returns a new Regexp object copied from re. When using a Regexp in multiple goroutines, giving each goroutine its own copy helps to avoid lock c
regexp/regexp.go:121
↓ 3 callersMethodCount
Count returns the number of items in cache, including expired items. Expired items get cleaned up by the janitor periodically.
internal/cache/cache.go:129
↓ 3 callersMethodCreateDefinitionFromString
(defStr string)
gateway/testutil.go:1003
↓ 3 callersMethodCreateRecorder
(r *http.Request)
ee/middleware/streams/analytics.go:15
↓ 3 callersMethodCreateStreamManager
CreateStreamManager creates or retrieves a stream manager based on the request.
ee/middleware/streams/middleware.go:117
↓ 3 callersFunctionCreateTokenDataBytes
(encryptedToken string, token *oauth2.Token, extraMetadataKeys []string)
ee/middleware/upstreamoauth/token_cache.go:64
↓ 3 callersMethodDaysUntilExpiry
DaysUntilExpiry returns the number of days until the certificate expires. This is calculated from the UntilExpiry field for convenience.
internal/certcheck/model.go:47
↓ 3 callersMethodDeInit
()
gateway/mw_js_plugin.go:383
↓ 3 callersFunctionDecodeYAML
(dest, src interface{})
config/opentracing_custom_env_loader.go:60
↓ 3 callersFunctionDecrypt
Decrypt from base64 to decrypted string
internal/crypto/helpers.go:285
↓ 3 callersMethodDelete
(key string)
dnscache/manager.go:39
↓ 3 callersMethodDelete
(string)
internal/cache/repository.go:11
↓ 3 callersMethodDeleteClient
(id string, orgID string, ignorePrefix bool)
gateway/oauth_manager.go:557
↓ 3 callersMethodDeleteRawKey
(string)
storage/storage.go:31
↓ 3 callersFunctionDh
(a,b,c,d)
templates/playground/playground.js:1311
↓ 3 callersMethodDisconnect
()
gateway/rpc_storage_handler.go:199
↓ 3 callersFunctionEb
(a)
templates/playground/playground.js:1290
↓ 3 callersFunctionEmitErrorEvent
(jobName string, funcName string, err error)
rpc/rpc_client.go:198
↓ 3 callersMethodEnabledForSpec
EnabledForSpec checks if the middleware is enabled for the API spec
gateway/mw_auth_or_wrapper.go:243
↓ 3 callersMethodEndpoints
Endpoints coverts EndpointsMap to Endpoints.
user/session.go:550
↓ 3 callersMethodEngineConfig
()
apidef/adapter/gqlengineadapter/adapter_proxy_only.go:22
↓ 3 callersMethodEngineConfigV3
()
apidef/adapter/gqlengineadapter/enginev3/adapter_proxy_only.go:21
↓ 3 callersFunctionEnsureTransport
EnsureTransport sanitizes host/protocol pairs and returns a valid URL.
gateway/reverse_proxy.go:130
↓ 3 callersFunctionEntityTooLarge
EntityTooLarge responds with HTTP 413 Request Entity Too Large. The function is used for a response when blocking requests by size.
internal/httputil/response.go:9
↓ 3 callersFunctionExampleExtractor
ExampleExtractor returns an example payload according to the openapi3.SchemaRef object.
apidef/oas/example.go:6
↓ 3 callersMethodExecute
(inCtx context.Context, operation *graphql.Request, writer resolve.FlushWriter, options ...graphql.ExecutionOp
internal/graphql/otel_graphql_engine_basic.go:67
↓ 3 callersMethodExtractForm
ExtractForm is used when a FormSource is specified.
gateway/coprocess_id_extractor.go:54
↓ 3 callersMethodExtractHeader
ExtractHeader is used when a HeaderSource is specified.
gateway/coprocess_id_extractor.go:44
↓ 3 callersMethodExtractStats
(rawRequest, response, schema string)
internal/graphql/graphql_request.go:56
↓ 3 callersMethodExtractTo
ExtractTo extracts *Authentication into *apidef.APIDefinition.
apidef/oas/authentication.go:200
↓ 3 callersMethodExtractTo
ExtractTo extracts *CustomPluginAuthentication to *apidef.APIDefinition.
apidef/oas/authentication.go:798
↓ 3 callersMethodExtractTo
ExtractTo extracts *PluginConfig into *apidef.
apidef/oas/middleware.go:557
↓ 3 callersMethodExtractTo
ExtractTo populates an APIDefinition's proxy load balancing configuration with data from the LoadBalancing instance.
apidef/oas/upstream.go:1354
↓ 3 callersMethodFill
Fill fills *CustomPluginAuthentication from apidef.AuthConfig.
apidef/oas/authentication.go:778
↓ 3 callersMethodFill
Fill fills *Middleware from apidef.APIDefinition.
apidef/oas/middleware.go:23
↓ 3 callersMethodFill
Fill fills PluginConfig from apidef.
apidef/oas/middleware.go:534
↓ 3 callersMethodFill
Fill fills *UptimeTests from apidef.UptimeTests.
apidef/oas/upstream.go:657
↓ 3 callersMethodFill
Fill sets the request's HeaderName with AuthValue
ee/middleware/upstreamoauth/provider.go:31
↓ 3 callersFunctionFindPythonConfig
FindPythonConfig scans PATH for common python-config locations.
dlpython/main.go:43
↓ 3 callersMethodFireSystemEvent
(name apidef.TykEvent, meta interface{})
gateway/event_system.go:180
↓ 3 callersFunctionFlatten
Flatten transforms deep map to flat map.
internal/maps/flatten.go:12
↓ 3 callersMethodFormat
Format renders a single log entry
log/json_formatter.go:26
↓ 3 callersFunctionGd
(a,b)
templates/playground/playground.js:1311
↓ 3 callersFunctionGet
Get retrieves the events from the context. Get will get the events from context. It will return nil if no events in context.
internal/event/event.go:131
↓ 3 callersFunctionGetAuthToken
(r *http.Request)
ctx/ctx.go:85
↓ 3 callersFunctionGetCiphers
GetCiphers generates a list of CipherSuite from the available ciphers.
internal/crypto/ciphers.go:54
← previousnext →1,501–1,600 of 9,242, ranked by callers