MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 3 callersMethodGetClientTokens
(id string)
gateway/oauth_manager.go:547
↓ 3 callersFunctionGetCoProcessGrpcServerTargetUrlAsString
(targetUrl *url.URL)
gateway/coprocess_grpc.go:46
↓ 3 callersMethodGetCount
GetCount returns the number of items in the current sliding log window. The sliding log is trimmed removing older items.
internal/rate/sliding_log.go:104
↓ 3 callersMethodGetDelay
GetDelay returns the delay for rate limit smoothing as a time.Duration.
internal/rate/model/allowance.go:75
↓ 3 callersMethodGetDescription
()
gateway/oauth_manager.go:82
↓ 3 callersMethodGetDescription
()
gateway/oauth_manager.go:535
↓ 3 callersMethodGetEventTriggers
GetEventTriggers returns event triggers. There was a typo in the json tag. To maintain backward compatibility, this solution is chosen.
config/config.go:1395
↓ 3 callersMethodGetExtendedClientNoPrefix
Custom getter to handle prefixing issues in Redis
gateway/oauth_manager.go:553
↓ 3 callersFunctionGetJWKWithClient
GetJWKWithClient fetches JWK using the provided HTTP client for proxy and mTLS support
internal/httpclient/factory.go:120
↓ 3 callersMethodGetKeyPrefix
()
storage/storage.go:46
↓ 3 callersMethodGetKeysAndValues
GetKeysAndValues will return all keys and their values - not to be used lightly
storage/redis_cluster.go:491
↓ 3 callersMethodGetKeysAndValuesWithFilter
(string)
storage/storage.go:35
↓ 3 callersMethodGetOAuthTokensPurgeInterval
GetOAuthTokensPurgeInterval returns purge interval for lapsed OAuth tokens.
config/private.go:21
↓ 3 callersFunctionGetPluginFileNameToLoad
GetPluginFileNameToLoad check which file to load based on name, tyk version, os and architecture but it also takes care of returning the name of the f
goplugin/plugin_name_builder.go:14
↓ 3 callersFunctionGetProxyOnlyContextValue
(ctx context.Context)
internal/graphengine/context.go:40
↓ 3 callersMethodGetRawKey
(keyName string)
storage/redis_cluster.go:333
↓ 3 callersMethodGetScopeClaimName
()
apidef/api_definitions.go:1617
↓ 3 callersFunctionGetServiceID
GetServiceID returns service name attched to context returns an empty string if the service name key is not found.
trace/manager.go:43
↓ 3 callersMethodHasCheckCooldown
HasCheckCooldown checks if a check cooldown exists for the specified identifier.
internal/certcheck/cache.go:175
↓ 3 callersMethodHasFireEventCooldown
HasFireEventCooldown checks if a fire event cooldown exists for the specified identifier.
internal/certcheck/cache.go:196
↓ 3 callersMethodHostDown
(urlStr string)
gateway/host_checker_manager.go:316
↓ 3 callersFunctionIf
(a,b,c)
templates/playground/playground.js:1290
↓ 3 callersFunctionIj
(a)
templates/playground/playground.js:1311
↓ 3 callersMethodImport
Import populates *AuthSources based on arguments.
apidef/oas/default.go:217
↓ 3 callersMethodInit
(hasherName string)
signature_validator/validate.go:20
↓ 3 callersMethodInit
()
gateway/mw_jwt.go:71
↓ 3 callersMethodInit
(interface{}, *APISpec)
gateway/middleware.go:711
↓ 3 callersFunctionInitDNSMock
InitDNSMock initializes dns server on udp:0 address and replaces net.DefaultResolver in order to route all dns queries within tests to this server. In
test/dns.go:162
↓ 3 callersMethodInputValidation
InputValidation mocks base method.
internal/graphql/execution_engine_mock.go:63
↓ 3 callersMethodInsertIntoAPIDefinitionAsVersion
(apidef.VersionInfo, *apidef.APIDefinition, string)
apidef/importer/importer.go:16
↓ 3 callersFunctionInternalServerError
InternalServerError responds with HTTP 503 Internal Server Error.
internal/httputil/response.go:22
↓ 3 callersMethodIsCheckCooldownActive
IsCheckCooldownActive checks if a check cooldown is active for the specified identifier.
internal/certcheck/cache.go:81
↓ 3 callersMethodIsCheckCooldownActive
IsCheckCooldownActive checks if a check cooldown is active for the specified identifier.
internal/certcheck/cache.go:180
↓ 3 callersMethodIsFireEventCooldownActive
IsFireEventCooldownActive checks if a fire event cooldown is active for the specified identifier.
internal/certcheck/cache.go:129
↓ 3 callersMethodIsFireEventCooldownActive
IsFireEventCooldownActive checks if a fire event cooldown is active for the specified identifier.
internal/certcheck/cache.go:201
↓ 3 callersFunctionIsSseStreamingResponse
IsSseStreamingResponse returns true if the response designates SSE streaming.
internal/httputil/streaming.go:20
↓ 3 callersFunctionIsStreamingResponse
IsStreamingResponse returns true if the response designates streaming (SSE).
internal/httputil/streaming.go:46
↓ 3 callersFunctionJSONToFormValues
JSONToFormValues if r has header Content-Type set to application/json this will decode request body as json to map[string]string and adds the key/valu
gateway/oauth_manager.go:372
↓ 3 callersFunctionJb
(a,b)
templates/playground/playground.js:1311
↓ 3 callersFunctionKc
(a,b,c,d,e)
templates/playground/playground.js:1311
↓ 3 callersMethodListAllIds
(prefix string)
certs/manager.go:46
↓ 3 callersFunctionMb
()
templates/playground/playground.js:1290
↓ 3 callersMethodMigrateEndpointMeta
()
apidef/migration.go:159
↓ 3 callersMethodName
()
apidef/streams/bento/schema/generate_bento_config_schema.go:348
↓ 3 callersMethodName
()
trace/trace.go:16
↓ 3 callersFunctionNc
(a)
templates/playground/playground.js:1311
↓ 3 callersFunctionNewAPISpec
NewAPISpec creates a new APISpec object based on the required inputs. The resulting object is a subset of `*gateway.APISpec`.
ee/middleware/streams/model.go:40
↓ 3 callersFunctionNewCache
NewCache creates a new *Cache for storing items with a TTL.
internal/cache/cache.go:22
↓ 3 callersFunctionNewConnectionWatcher
NewConnectionWatcher returns a new *ConnectionWatcher.
internal/httputil/connection_watcher.go:15
↓ 3 callersFunctionNewDefaultStreamAnalyticsRecorder
(gw *Gateway, spec *APISpec)
gateway/analytics_streams.go:59
↓ 3 callersFunctionNewDnsCacheStorage
(expiration, checkInterval time.Duration)
dnscache/storage.go:24
↓ 3 callersFunctionNewGraphStatsExtractor
()
internal/graphql/graphql_request.go:25
↓ 3 callersFunctionNewHeaders
NewHeaders creates Headers from in map.
apidef/oas/header.go:36
↓ 3 callersFunctionNewHostList
()
apidef/host_list.go:13
↓ 3 callersFunctionNewHostListFromList
(newList []string)
apidef/host_list.go:19
↓ 3 callersFunctionNewMiddleware
NewMiddleware returns a new instance of Middleware.
ee/middleware/streams/middleware.go:43
↓ 3 callersFunctionNewOtelGraphqlEngineV2Basic
(tracerProvider otel.TracerProvider, engine ExecutionEngineI)
internal/graphql/otel_graphql_engine_basic.go:92
↓ 3 callersFunctionNewRedisController
NewRedisController initializes a new RedisController. This method ensures Go plugins can connect to Redis leveraging Tyk's internal storage mechanisms
storage/redis_shim.go:18
↓ 3 callersFunctionNewSlidingLog
NewSlidingLog creates a new SlidingLog instance with a storage.Handler. In case the storage is offline, it's expected to return nil and an error to ha
internal/rate/sliding_log.go:31
↓ 3 callersFunctionNewStreamAnalyticsFactory
(logger *logrus.Entry, gw *Gateway, spec *APISpec)
gateway/analytics_streams.go:27
↓ 3 callersMethodNormalize
(operation *graphql.Request)
internal/graphql/otel_graphql_engine_detailed.go:56
↓ 3 callersMethodObject
(item *gabs.Container)
gateway/service_discovery.go:146
↓ 3 callersMethodObtainToken
(ctx context.Context)
ee/middleware/upstreamoauth/provider_client_credentials.go:10
↓ 3 callersFunctionOe
(a)
templates/playground/playground.js:1290
↓ 3 callersMethodOnStateChange
OnStateChange records open connections in response to connection state changes. Set net/http Server.ConnState to this method as value.
internal/httputil/connection_watcher.go:22
↓ 3 callersMethodPlan
Plan mocks base method.
internal/graphql/execution_engine_mock.go:91
↓ 3 callersMethodPlan
(postProcessor *postprocess.Processor, operation *graphql.Request, report *operationreport.Report)
internal/graphql/otel_graphql_engine_detailed.go:112
↓ 3 callersFunctionPosWithInfo
(line,ch,sticky,outside,xRel)
templates/playground/playground.js:149
↓ 3 callersMethodPrepareRecord
(r *http.Request)
ee/middleware/streams/analytics.go:30
↓ 3 callersMethodProcessRequest
ProcessRequest will handle upstream OAuth.
ee/middleware/upstreamoauth/middleware.go:73
↓ 3 callersFunctionProtoMap
ProtoMap is a helper function for maps with string slice values.
gateway/coprocess_helpers.go:187
↓ 3 callersFunctionRa
(a)
templates/playground/playground.js:1290
↓ 3 callersMethodReconstructParams
(r *http.Request)
gateway/mw_js_plugin.go:55
↓ 3 callersMethodRecordHit
(r *http.Request, timing analytics.Latency, code int, responseCopy *http.Response, cached bool)
gateway/handler_success.go:184
↓ 3 callersMethodRecordUptimeAnalytics
RecordHit will store an AnalyticsRecord in Redis
gateway/host_checker_manager.go:494
↓ 3 callersFunctionRemoveDuplicateApiDefinitionHeaders
(headers ...map[string]string)
apidef/adapter/gqlengineadapter/utils.go:71
↓ 3 callersMethodRemoveFromSet
(keyName, value string)
storage/redis_cluster.go:838
↓ 3 callersFunctionRemoveResponseTransferEncoding
RemoveResponseTransferEncoding will remove a transfer encoding hint from the response.
internal/httputil/response.go:28
↓ 3 callersMethodResetQuotaObfuscateKey
(keyName string)
gateway/auth_manager.go:36
↓ 3 callersMethodResolvedDefault
()
apidef/api_definitions.go:467
↓ 3 callersFunctionRevokeAllTokens
(storage ExtendedOsinStorageInterface, clientId, clientSecret string)
gateway/oauth_manager.go:306
↓ 3 callersFunctionRevokeToken
(storage ExtendedOsinStorageInterface, token, tokenTypeHint string)
gateway/oauth_manager.go:258
↓ 3 callersMethodRoundTrip
(request *http.Request)
internal/graphengine/transport.go:34
↓ 3 callersMethodRoundTrip
(r *http.Request)
gateway/reverse_proxy.go:819
↓ 3 callersMethodSet
Set updates the current allowance to the specified value and sets the next update time based on the configured delay.
internal/rate/model/allowance.go:86
↓ 3 callersMethodSetCacheStorage
(cache IDnsCacheStorage)
dnscache/manager.go:27
↓ 3 callersMethodSetCheckerHostList
()
gateway/host_checker_manager.go:562
↓ 3 callersFunctionSetDefinition
SetDefinition sets an API definition object to the request context.
ctx/ctx.go:121
↓ 3 callersMethodSetEmergencyModeLoaded
(n bool)
rpc/rpc_client.go:145
↓ 3 callersMethodSetFireEventCooldown
SetFireEventCooldown sets a fire event cooldown for the specified identifier.
internal/certcheck/cache.go:147
↓ 3 callersMethodSetIgnores
(ignores []string)
internal/debug2/goroutine.go:31
↓ 3 callersFunctionSetOASDefinition
SetOASDefinition sets an OAS API definition object to the request context.
ctx/ctx.go:139
↓ 3 callersFunctionSetProxyOnlyContextValue
(ctx context.Context, req *http.Request)
internal/graphengine/context.go:27
↓ 3 callersMethodSetRawKey
Second input string is expected to be a JSON object (user.SessionState)
storage/storage.go:25
↓ 3 callersMethodSetRollingWindow
(key string, per int64, val string, pipeline bool)
storage/storage.go:39
↓ 3 callersFunctionSetSelfLooping
SetSelfLooping updates the request context with a boolean value indicating whether the request is in a self-looping state.
internal/httpctx/looping.go:12
↓ 3 callersFunctionSetUpstreamAuth
SetUpstreamAuth sets the header name to be used for upstream authentication.
internal/service/core/context.go:24
↓ 3 callersMethodSign
()
gateway/redis_signals.go:58
↓ 3 callersFunctionSpan
Span creates a new span for the given ops. If tracing is disabled in this ctx then a noop span is created and the same ctx is returned. Note that the
trace/manager.go:188
↓ 3 callersMethodStop
Stop cleans up the stream
ee/middleware/streams/stream.go:98
← previousnext →1,601–1,700 of 9,242, ranked by callers