MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 1 callersMethodsetQuotaRenewalRate
<code>optional int64 quota_renewal_rate = 9;</code>
coprocess/bindings/java/CoprocessSessionState.java:5853
↓ 1 callersMethodsetQuotaRenews
<code>optional int64 quota_renews = 7;</code>
coprocess/bindings/java/CoprocessSessionState.java:5801
↓ 1 callersMethodsetRate
<code>optional double rate = 3;</code>
coprocess/bindings/java/CoprocessSessionState.java:5697
↓ 1 callersMethodsetRequiredFields
setRequiredFields sets some required fields to make OAS object a valid one.
apidef/oas/oas.go:773
↓ 1 callersMethodsetResponseCode
<code>optional int32 response_code = 1;</code>
coprocess/bindings/java/CoprocessReturnOverrides.java:450
↓ 1 callersMethodsetSessionLifetime
<code>optional int64 session_lifetime = 28;</code>
coprocess/bindings/java/CoprocessSessionState.java:7175
↓ 1 callersMethodsetTestScopeConfig
setTestScopeConfig overrides config in scope of test case.
gateway/testutil.go:1137
↓ 1 callersMethodsetUpOrDryRunStream
(streamConfig any, streamID string)
ee/middleware/streams/manager.go:43
↓ 1 callersFunctionsetupCertificateCheckMWIntegrationWithEvents
setupCertificateCheckMWIntegrationWithEvents creates a middleware instance for integration testing with configurable event tracking This allows tests
gateway/mw_certificate_check_integration_test.go:101
↓ 1 callersFunctionsetupConnectionConfig
( connConfig Config, loginFunc func(string, string) interface{}, emergencyModeFunc func(), emergencyModeLo
rpc/rpc_client.go:277
↓ 1 callersFunctionsetupDialFunction
(connID string)
rpc/rpc_client.go:326
↓ 1 callersFunctionsetupGlobals
()
log/log.go:48
↓ 1 callersMethodsetupInstrumentation
setupInstrumentation handles all the initialisation of the instrumentation handler
gateway/instrumentation_handlers.go:21
↓ 1 callersFunctionsetupKeepalive
(conn net.Conn)
gateway/api_definition_test.go:903
↓ 1 callersMethodsetupLogger
()
gateway/server.go:1269
↓ 1 callersFunctionsetupMockRPCServer
setupMockRPCServer creates a mock RPC server for testing async RPC behavior. It simulates a slow MDCB backend with configurable delay.
gateway/mw_organisation_activity_test.go:527
↓ 1 callersFunctionsetupQuotaLimit
(tb testing.TB, ts *Test, name string, data map[string]interface{})
tests/quota/shim_test.go:19
↓ 1 callersMethodshouldBypassProxy
shouldBypassProxy checks if a host should bypass the proxy based on bypass proxy configuration.
internal/httpclient/factory.go:277
↓ 1 callersMethodshouldEnable
()
gateway/mw_api_rate_limit.go:29
↓ 1 callersFunctionshouldPerformTracing
(rh TykResponseHandler, baseMw *BaseTykResponseHandler)
gateway/middleware.go:811
↓ 1 callersMethodshouldReload
shouldReload returns true if we should perform any reload. Reloads happens if we have reload callback queued.
gateway/server.go:1193
↓ 1 callersFunctionshouldRetryOnNetworkError
shouldRetryOnNetworkError checks if an error is a network error that might benefit from retry
gateway/dashboard_recovery.go:122
↓ 1 callersFunctionshouldRewriteHost
(oldURL, newURL *url.URL)
gateway/mw_url_rewrite.go:476
↓ 1 callersMethodshouldUpdateChildAPIsGW
shouldUpdateChildAPIsGW checks if child APIs need server updates after base API changes. Returns true if this is a base API with versions and versioni
gateway/api_oas_servers.go:77
↓ 1 callersFunctionshouldValidateAuthSource
(authType string, apiDef *APIDefinition)
apidef/validator.go:127
↓ 1 callersFunctionshowCrossHair
(cm)
templates/playground/playground.js:149
↓ 1 callersFunctionshowTooltip
(cm,e,content)
templates/playground/playground.js:129
↓ 1 callersMethodshutdownHTTPServer
shutdownHTTPServer gracefully shuts down an HTTP server
gateway/server.go:2155
↓ 1 callersMethodshutdownTCPProxy
shutdownTCPProxy gracefully shuts down a TCP proxy
gateway/server.go:2179
↓ 1 callersFunctionsi
(a,b,c)
templates/playground/playground.js:1311
↓ 1 callersMethodsign
(key string, manifest *apidef.BundleManifest, bundle *bytes.Buffer)
cli/bundler/bundler.go:148
↓ 1 callersMethodskipSpecBecauseInvalid
(spec *APISpec, logger *logrus.Entry)
gateway/api_loader.go:72
↓ 1 callersFunctionsortMockResponseAllowList
sortMockResponseAllowList sorts the mock response paths by path, method, and response code. This ensures a deterministic order of mock responses.
apidef/oas/operation.go:1034
↓ 1 callersFunctionsplitBypassProxy
splitBypassProxy splits a bypass proxy string into individual hosts.
internal/httpclient/factory.go:293
↓ 1 callersFunctionsplitSpaces
(text,trailingBefore)
templates/playground/playground.js:149
↓ 1 callersMethodstart
()
gateway/server.go:1975
↓ 1 callersMethodstartCleanupTimer
(ctx context.Context)
internal/memorycache/cache.go:78
↓ 1 callersFunctionstartEclipseMosquittoContainer
(t *testing.T)
gateway/mw_streaming_mqtt_test.go:27
↓ 1 callersMethodstartRateLimitNotifications
()
gateway/distributed_rate_limiter.go:12
↓ 1 callersFunctionstartState
(mode,a1,a2)
templates/playground/playground.js:149
↓ 1 callersFunctionstopTestServices
(ts *gateway.Test, grpcServer *grpc.Server, listener net.Listener)
coprocess/grpc/services_test.go:63
↓ 1 callersFunctionstringStartsAfter
(cm,pos)
templates/playground/playground.js:105
↓ 1 callersFunctionstripSignature
(token string)
gateway/mw_http_signature_validation.go:213
↓ 1 callersFunctionstripSlashes
stripSlashes removes any trailing slashes from the request's URL path.
gateway/server.go:674
↓ 1 callersFunctionsubscribeImpl
(args)
templates/playground/playground.js:645
↓ 1 callersFunctionsuggestionList
(input,options)
templates/playground/playground.js:545
↓ 1 callersMethodsyncPolicies
()
gateway/server.go:619
↓ 1 callersFunctiont
(kind,style)
templates/playground/playground.js:381
↓ 1 callersFunctiontarget
(listenAddress string, listenPort int)
gateway/proxy_muxer.go:485
↓ 1 callersMethodtestAMQP09Output
(expectedMessages [][]byte)
gateway/mw_streaming_amqp_test.go:281
↓ 1 callersMethodtestAMQP1Output
(expectedMessages [][]byte)
gateway/mw_streaming_amqp_test.go:326
↓ 1 callersFunctiontestAsyncAPIHttp
(t *testing.T, ts *Test, isDynamic bool, tenantID string, apiName string, kafkaHost string)
gateway/mw_streaming_test.go:641
↓ 1 callersFunctiontestEq
(a, b []string)
gateway/mw_jwt_test.go:2141
↓ 1 callersMethodtestHashFuncAndBAHelper
(t *testing.T)
gateway/api_test.go:1277
↓ 1 callersMethodtestHashKeyHandlerHelper
(t *testing.T, expectedHashSize int)
gateway/api_test.go:1153
↓ 1 callersMethodtestHttpHandler
(gw *Gateway)
gateway/testutil.go:466
↓ 1 callersFunctiontestJSVM_Auth
(t *testing.T, hashKeys bool)
gateway/mw_js_plugin_test.go:914
↓ 1 callersFunctiontestKey
(testName string, name string)
gateway/gateway_test.go:39
↓ 1 callersFunctiontestPrepareTransformJSONMarshalArray
(tb testing.TB)
gateway/mw_transform_test.go:193
↓ 1 callersFunctiontestPrepareTransformXMLMarshal
(tmpl string, inputType apidef.RequestInputType)
gateway/mw_transform_test.go:125
↓ 1 callersMethodtestRecordUptimeAnalytics
(t *testing.T)
gateway/host_checker_manager_test.go:341
↓ 1 callersFunctiontestRequestWithContext
(binding bindContextFunc)
gateway/handler_success_test.go:27
↓ 1 callersFunctiontestRouteLongestPathFirst
(t *testing.T)
tests/regression/issue_11806_test.go:128
↓ 1 callersFunctiontestSubrouterHost
testSubrouterHost verifies directly with gorilla/mux, that the host subrouter should be created before adding routes to the main router.
tests/regression/issue_11806_test.go:75
↓ 1 callersFunctiontestWebsocketOutput
(t *testing.T, wsClients []*websocket.Conn, messageToSend string, numMessages int)
gateway/mw_streaming_amqp_test.go:227
↓ 1 callersMethodtimeValidateJWTClaims
(c jwt.MapClaims)
gateway/mw_jwt.go:1176
↓ 1 callersFunctiontoScopeStringsSlice
(v interface{}, scopeSlice *[]string, nested bool)
gateway/mw_jwt.go:622
↓ 1 callersFunctiontokenComment
(stream,state)
templates/playground/playground.js:153
↓ 1 callersFunctiontokenQuasi
(stream,state)
templates/playground/playground.js:153
↓ 1 callersFunctiontokenString
(quote)
templates/playground/playground.js:153
↓ 1 callersMethodtransformJQBody
(r *http.Request, ts *TransformJQSpec)
gateway/mw_transform_jq.go:70
↓ 1 callersFunctiontrimCategories
(name string)
gateway/api_loader.go:770
↓ 1 callersFunctiontrimNamespace
(s string)
apidef/importer/wsdl.go:306
↓ 1 callersFunctionucs2decode
(string)
templates/playground/playground.js:1173
↓ 1 callersFunctionucs2encode
(array)
templates/playground/playground.js:1173
↓ 1 callersFunctionuk
(a,b)
templates/playground/playground.js:1290
↓ 1 callersFunctionuniqueBy
(array,iteratee)
templates/playground/playground.js:329
↓ 1 callersFunctionunsuccessful
(state)
templates/playground/playground.js:393
↓ 1 callersMethodupdateChildAPIsServersGW
updateChildAPIsServersGW updates server URLs for all child APIs when base API versioning changes. This is called after updating a base API if versioni
gateway/api_oas_servers.go:83
↓ 1 callersFunctionupdateExternalMeasurement
(cm,line)
templates/playground/playground.js:149
↓ 1 callersFunctionupdateLine
(line,text,markedSpans,estimateHeight)
templates/playground/playground.js:149
↓ 1 callersFunctionupdateLineBackground
(cm,lineView)
templates/playground/playground.js:149
↓ 1 callersFunctionupdateLineText
(cm,lineView)
templates/playground/playground.js:149
↓ 1 callersFunctionupdateLineWidgets
(cm,lineView,dims)
templates/playground/playground.js:149
↓ 1 callersMethodupdateOauthClient
Update Client
gateway/api.go:2397
↓ 1 callersMethodupdateSessionQuota
updateSessionQuota updates session attached access rights. When limits are defined, QuotaRemaining and QuotaRenews is updated for a matching access r
gateway/session_manager.go:539
↓ 1 callersMethodupdateSessionRootVars
(session *user.SessionState, rights map[string]user.AccessDefinition, applyState applyStatus)
internal/policy/apply.go:567
↓ 1 callersMethodupdate_hook_table
(self, with_bundle=None)
coprocess/python/dispatcher.py:46
↓ 1 callersFunctionupstreamConn
(c net.Conn)
tcp/tcp.go:362
↓ 1 callersFunctionvalidate
(schema,documentAST)
templates/playground/playground.js:925
↓ 1 callersFunctionvalidateAudience
(claims jwt.MapClaims, allowedAudiences []string)
gateway/mw_jwt.go:1218
↓ 1 callersFunctionvalidateBentoConfiguration
(document []byte, bentoValidatorKind bento.ValidatorKind)
apidef/streams/validator.go:142
↓ 1 callersMethodvalidateClaims
(token *jwt.Token)
gateway/mw_jwt.go:1181
↓ 1 callersMethodvalidateCompliantModeAuthentication
validateCompliantModeAuthentication validates that all enabled auth methods in compliant mode are properly configured in security requirements (either
apidef/oas/oas.go:590
↓ 1 callersMethodvalidateCustomClaimsNew
validateCustomClaims performs validation of custom claims according to the configuration
gateway/mw_jwt.go:1283
↓ 1 callersFunctionvalidateEnumValues
(context,enumType)
templates/playground/playground.js:673
↓ 1 callersFunctionvalidateFields
(context,type)
templates/playground/playground.js:673
↓ 1 callersMethodvalidateHTTP
()
gateway/api_definition.go:231
↓ 1 callersMethodvalidateInput
()
cli/importer/importer.go:87
↓ 1 callersFunctionvalidateInputFields
(context,inputObj)
templates/playground/playground.js:673
← previousnext →4,601–4,700 of 9,242, ranked by callers