MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 1 callersMethodGetToken
(r *http.Request)
ee/middleware/upstreamoauth/provider_password_authentication.go:21
↓ 1 callersMethodGetToken
(r *http.Request)
ee/middleware/upstreamoauth/provider_client_credentials.go:22
↓ 1 callersMethodGetToken
GetToken returns the token from cache or issues a request to obtain it from the OAuth provider.
ee/middleware/upstreamoauth/token_cache.go:17
↓ 1 callersMethodGetUser
GetUser retrieves a Basic Access user token type from the key store
gateway/oauth_manager.go:560
↓ 1 callersMethodGetWebhookConf
GetWebhookConf converts EventHandler.WebhookEvent apidef.WebHookHandlerConf.
apidef/oas/event.go:159
↓ 1 callersFunctionGj
()
templates/playground/playground.js:1311
↓ 1 callersFunctionGraphQLError_typeof
(obj)
templates/playground/playground.js:1327
↓ 1 callersFunctionHandle
Handle returns a http.Handler with root opentracting setup. This should be the topmost handler.
trace/handler.go:7
↓ 1 callersMethodHandleAccess
HandleAccess wraps an access request with osin's primitives
gateway/oauth_manager.go:393
↓ 1 callersMethodHandleAccessRequest
HandleAccessRequest handles the OAuth 2.0 token or refresh access request, and wraps Tyk's own and Osin's OAuth handlers, returns a response to the cl
gateway/oauth_manager.go:184
↓ 1 callersMethodHandleGoPluginResponse
(w http.ResponseWriter, res *http.Response, req *http.Request)
gateway/res_handler_go_plugin.go:71
↓ 1 callersMethodHandleMiddlewareCache
HandleMiddlewareCache is called when a bundle has been loaded and the dispatcher needs to cache its contents. Used by Lua.
coprocess/dispatcher.go:27
↓ 1 callersMethodHandleResponse
HandleResponse checks if the http.Response argument can be cached and caches it for future requests.
gateway/res_cache.go:57
↓ 1 callersMethodHandleResponse
(rw http.ResponseWriter, res *http.Response, ses *user.SessionState)
gateway/reverse_proxy.go:1394
↓ 1 callersMethodHasSchema
()
internal/graphengine/engine.go:30
↓ 1 callersFunctionHasTransferEncoding
HasTransferEncoding returns true if a transfer encoding header is present.
internal/httputil/request.go:16
↓ 1 callersFunctionHashKey
(in string, hashKey bool)
internal/crypto/hash.go:54
↓ 1 callersMethodHostCheckLoop
(ctx context.Context)
gateway/host_checker.go:104
↓ 1 callersMethodHostReporter
(ctx context.Context)
gateway/host_checker.go:148
↓ 1 callersFunctionHttpHandlerRunner
(handler http.HandlerFunc)
test/http.go:336
↓ 1 callersFunctionHttpServerRequestBuilder
(baseURL string)
test/http.go:351
↓ 1 callersMethodImport
Import populates *Token from argument values.
apidef/oas/security.go:48
↓ 1 callersMethodIncrememntWithExpire
IncrememntWithExpire increments the value of a key and sets an expiry; not yet implemented.
storage/dummy.go:114
↓ 1 callersFunctionInit
Init will initialize the Python runtime.
dlpython/main.go:181
↓ 1 callersFunctionInit
Init returns a tracer for a given name.
trace/trace.go:36
↓ 1 callersFunctionInit
(service string, opts map[string]interface{})
trace/openzipkin/zipkin.go:255
↓ 1 callersFunctionInit
Init returns a implementation of tyk.Tracer using jaeger client.
trace/jaeger/jaeger.go:36
↓ 1 callersMethodInit
()
internal/model/interfaces.go:25
↓ 1 callersMethodInit
(c interface{}, spec *APISpec)
gateway/res_handler_go_plugin.go:30
↓ 1 callersMethodInit
()
gateway/mw_certificate_check.go:32
↓ 1 callersMethodInitHostCheckManager
(ctx context.Context, store storage.Handler)
gateway/host_checker_manager.go:551
↓ 1 callersFunctionInitTestMain
(_ context.Context, _ *testing.M)
test/init.go:17
↓ 1 callersMethodInject
(ctx opentracing.SpanContext, format interface{}, carrier interface{})
trace/openzipkin/zipkin.go:235
↓ 1 callersMethodInsertIntoAPIDefinitionAsVersion
(version apidef.VersionInfo, def *apidef.APIDefinition, versionName string)
apidef/importer/swagger.go:137
↓ 1 callersMethodInsertIntoAPIDefinitionAsVersion
(version apidef.VersionInfo, apidef *apidef.APIDefinition, versionName string)
apidef/importer/wsdl.go:421
↓ 1 callersMethodInsertIntoAPIDefinitionAsVersion
(version apidef.VersionInfo, def *apidef.APIDefinition, versionName string)
apidef/importer/blueprint.go:156
↓ 1 callersFunctionInstrumentationMW
InstrumentationMW will set basic instrumentation events, variables and timers on API jobs
gateway/instrumentation_handlers.go:52
↓ 1 callersMethodIsCacheEnabled
()
dnscache/manager.go:29
↓ 1 callersFunctionIsZero
IsZero is a customized implementation of reflect.Value.IsZero. The built-in function accepts slice, map and pointer fields having 0 length as not zero
internal/reflect/reflect.go:17
↓ 1 callersMethodItems
Items copies all unexpired items in the cache into a new map and returns it.
internal/cache/cache.go:90
↓ 1 callersFunctionJi
(a,b,c)
templates/playground/playground.js:1311
↓ 1 callersMethodKeyExpired
(newSession *user.SessionState)
gateway/auth_manager.go:24
↓ 1 callersFunctionKnownArgumentNamesOnDirectivesRule
(context)
templates/playground/playground.js:793
↓ 1 callersFunctionLengthRequired
LengthRequired responds with HTTP 411 Length Required. The function is used in places where Content-Length is required.
internal/httputil/response.go:16
↓ 1 callersFunctionLimiter
Limiter returns the appropriate rate limiter as configured by gateway.
internal/rate/limiter.go:11
↓ 1 callersFunctionLimiterKey
LimiterKey returns a redis key name based on passed parameters. The key should be post-fixed if multiple keys are required (sentinel).
internal/rate/limiter.go:35
↓ 1 callersFunctionLimiterKind
LimiterKind returns the kind of rate limiter enabled by config. This function is used for development builds.
internal/rate/rate_dev.go:12
↓ 1 callersMethodList
(certIDs []string, mode CertificateType)
certs/manager.go:404
↓ 1 callersMethodListFeatures
ListFeatures lists all features contained within the given bounding Rectangle.
gateway/grpc_streaming_server_test.go:62
↓ 1 callersMethodListPublicKeys
(keyIDs []string)
certs/manager.go:44
↓ 1 callersMethodListRawPublicKey
(keyID string)
certs/manager.go:45
↓ 1 callersFunctionLj
(a)
templates/playground/playground.js:1290
↓ 1 callersFunctionLoadCount
()
rpc/rpc_client.go:181
↓ 1 callersFunctionLoadFile
(tb testing.TB, filename string)
tests/regression/regression_test.go:42
↓ 1 callersMethodLoadFrom
(r io.Reader)
apidef/importer/wsdl.go:272
↓ 1 callersMethodLoadIgnoredIPs
()
config/config.go:1529
↓ 1 callersMethodLoadModules
()
gateway/coprocess_lua.go:205
↓ 1 callersFunctionLoadPoliciesFromDir
(dir string)
gateway/policy.go:92
↓ 1 callersFunctionLoadPoliciesFromFile
(filePath string)
gateway/policy.go:72
↓ 1 callersMethodLoadRefresh
LoadRefresh will load access data from Redis
gateway/oauth_manager.go:1088
↓ 1 callersMethodLoadTykJSApi
()
gateway/mw_js_plugin.go:434
↓ 1 callersMethodLocker
Locker returns a distributed locker, similar to a mutex.
internal/rate/allowance_store.go:78
↓ 1 callersMethodLogFields
(fields ...opentracinglog.Field)
trace/openzipkin/zipkin.go:53
↓ 1 callersMethodLogMessage
(prefix string)
gateway/event_system.go:82
↓ 1 callersMethodLogMessage
(prefix string)
gateway/event_system.go:94
↓ 1 callersMethodLogMessage
(prefix string)
gateway/event_handler_log.go:11
↓ 1 callersMethodLogger
Logger creates and returns a logrus Entry with the scheduler prefix.
internal/scheduler/scheduler.go:53
↓ 1 callersMethodManualBatchRequest
HandleBatchRequest is the actual http handler for a batch request on an API definition
gateway/batch_requests.go:181
↓ 1 callersMethodMap
Map returns EndpointsMap of Endpoints using the key format [method:path]. If duplicate entries are found, it would get overwritten with latest entries
user/session.go:530
↓ 1 callersMethodMarshalJSON
()
gateway/server.go:343
↓ 1 callersMethodMatch
Match returns true if port is within the range
config/config.go:749
↓ 1 callersFunctionMatchPath
MatchPath matches regexp pattern with request endpoint.
internal/httputil/mux.go:112
↓ 1 callersFunctionMe
(a,b)
templates/playground/playground.js:1290
↓ 1 callersMethodMigrateAuthentication
()
apidef/migration.go:400
↓ 1 callersMethodMinutesUntilExpiry
MinutesUntilExpiry returns the number of minutes until the certificate expires. This is calculated from the UntilExpiry field for convenience.
internal/certcheck/model.go:35
↓ 1 callersMethodMonitorApplicationInstrumentation
()
gateway/instrumentation_handlers.go:68
↓ 1 callersFunctionMount
Mount adds the nrgorilla middleware to the router. The application is added to the request context. If app is nil, nothing will be done and the functi
internal/service/newrelic/newrelic.go:30
↓ 1 callersFunctionMyAnalyticsPluginDeleteHeader
(record *analytics.AnalyticsRecord)
test/goplugins/test_goplugin.go:150
↓ 1 callersFunctionMyAnalyticsPluginDeleteHeader
(record *analytics.AnalyticsRecord)
ci/tests/plugin-compiler/testdata/basic-plugin/test_goplugin.go:150
↓ 1 callersFunctionMyAnalyticsPluginMaskJSONLoginBody
(record *analytics.AnalyticsRecord)
test/goplugins/test_goplugin.go:171
↓ 1 callersFunctionMyAnalyticsPluginMaskJSONLoginBody
(record *analytics.AnalyticsRecord)
ci/tests/plugin-compiler/testdata/basic-plugin/test_goplugin.go:171
↓ 1 callersFunctionMyAuthCheck
(coprocess_object)
coprocess/python/proto/sample_server.py:18
↓ 1 callersFunctionMyAuthCheck
(coprocess_object)
coprocess/bindings/python/sample_server.py:18
↓ 1 callersFunctionMyPostMiddleware
(coprocess_object)
coprocess/python/proto/sample_server.py:14
↓ 1 callersFunctionMyPostMiddleware
(coprocess_object)
coprocess/bindings/python/sample_server.py:14
↓ 1 callersFunctionMyPreMiddleware
(coprocess_object)
coprocess/python/proto/sample_server.py:10
↓ 1 callersFunctionMyPreMiddleware
(coprocess_object)
coprocess/bindings/python/sample_server.py:10
↓ 1 callersMethodName
()
tests/streams/scripts/load_gen.go:9
↓ 1 callersMethodName
()
gateway/coprocess.go:42
↓ 1 callersMethodName
()
gateway/res_handler_go_plugin.go:26
↓ 1 callersMethodName
()
gateway/mw_strip_auth.go:17
↓ 1 callersMethodName
()
gateway/mw_oauth2_key_exists.go:53
↓ 1 callersMethodName
()
gateway/mw_version_check.go:30
↓ 1 callersMethodName
()
gateway/mw_auth_key.go:70
↓ 1 callersMethodName
Name returns the name for the middleware.
ee/middleware/streams/middleware.go:58
↓ 1 callersMethodName
Name returns the name for the middleware.
ee/middleware/upstreambasicauth/middleware.go:44
↓ 1 callersMethodNativeDispatch
Dispatch takes a CoProcessMessage and sends it to the CP.
gateway/coprocess_lua.go:118
↓ 1 callersMethodNestedObject
(item *gabs.Container)
gateway/service_discovery.go:132
↓ 1 callersFunctionNew
New initializes the in-memory bucket store.
internal/memorycache/storage.go:16
↓ 1 callersFunctionNew
()
internal/oasbuilder/builder.go:54
← previousnext →3,401–3,500 of 9,242, ranked by callers