MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

FunctionTestAPILoopingName
(t *testing.T)
gateway/api_loader_test.go:159
FunctionTestAPIMutualTLS
Run 2 times to ensure that both methods backward compatible
gateway/cert_test.go:365
FunctionTestAPISpec_CheckForAmbiguousDefaultVersions
(t *testing.T)
gateway/api_definition_test.go:2243
FunctionTestAPISpec_GetSessionLifetimeRespectsKeyExpiration
(t *testing.T)
gateway/api_definition_test.go:1419
FunctionTestAPISpec_GetSingleOrDefaultVersion
(t *testing.T)
gateway/api_definition_test.go:2099
FunctionTestAPISpec_SanitizeProxyPaths
(t *testing.T)
gateway/api_definition_test.go:1349
FunctionTestAPISpec_StripListenPath
(t *testing.T)
gateway/mw_request_signing_test.go:416
FunctionTestAPISpec_Version
(t *testing.T)
gateway/api_definition_test.go:2342
FunctionTestAPISpec_hasMock
(t *testing.T)
gateway/api_definition_test.go:1502
FunctionTestAPISpec_isListeningOnPort
(t *testing.T)
gateway/api_definition_test.go:1441
FunctionTestAPISpec_isStreamingAPI
(t *testing.T)
gateway/api_definition_test.go:1534
FunctionTestAPIsHavingShorterSubstringListenPathButLongerCustomDomain
section A - start
gateway/api_loader_test.go:539
FunctionTestAPIsHavingShorterSubstringListenPathButLongerCustomDomainAndListenPathsEndInSlash
section D - end section E - start
gateway/api_loader_test.go:1797
FunctionTestAPIsHavingShorterSubstringListenPathButLongerCustomDomainAndListenPathsEndInSlashWithStripListenPathDisabled
section D3 - end section E3 - start
gateway/api_loader_test.go:6211
FunctionTestAPIsHavingShorterSubstringListenPathButLongerCustomDomainAndListenPathsEndInSlashWithStripListenPathDisabledAndStripSlashEnabled
section D4 - end section E4 - start
gateway/api_loader_test.go:8421
FunctionTestAPIsHavingShorterSubstringListenPathButLongerCustomDomainAndListenPathsEndInSlashWithStripSlashEnabled
section D2 - end section E2 - start
gateway/api_loader_test.go:4002
FunctionTestAPIsHavingShorterSubstringListenPathButLongerCustomDomainWithStripListenPathDisabled
extra2 - end enable strip slash section (disable strip slash == false) - end 3rd section -- start disable strip listenpath section (strip listen path
gateway/api_loader_test.go:4953
FunctionTestAPIsHavingShorterSubstringListenPathButLongerCustomDomainWithStripListenPathDisabledAndStripSlashEnabled
extra3 - end disable strip listenpath section (strip listen path == false) ) - end 3rd section -- end 4th section --start enable strip slash and disab
gateway/api_loader_test.go:7163
FunctionTestAPIsHavingShorterSubstringListenPathButLongerCustomDomainWithStripSlashEnabled
extra - end enable strip slash section (disable strip slash == false) - start section A2 - start
gateway/api_loader_test.go:2744
FunctionTestAddCACertificatesFromChainToPool
(t *testing.T)
internal/crypto/helpers_test.go:49
FunctionTestAddCertificate
(t *testing.T)
certs/manager_test.go:62
FunctionTestAddEventToRequest
(t *testing.T)
internal/event/event_test.go:30
FunctionTestAddToSet
(t *testing.T)
storage/redis_cluster_test.go:1668
FunctionTestAddToSortedSet
(t *testing.T)
storage/redis_cluster_test.go:1807
FunctionTestAddTraceID
(t *testing.T)
internal/otel/otel_test.go:317
FunctionTestAddTraceIDToContextVars
(t *testing.T)
gateway/mw_context_vars_test.go:272
FunctionTestAddURIFormatToHTTPClient
(t *testing.T)
apidef/streams/bento/schema/generate_bento_config_schema_test.go:40
FunctionTestAddURIFormatToHTTPClient_Malformed_input
(t *testing.T)
apidef/streams/bento/schema/generate_bento_config_schema_test.go:69
FunctionTestAdvanceCachePutRequest
(t *testing.T)
gateway/gateway_test.go:1128
FunctionTestAdvanceCacheTimeoutPerEndpoint
(t *testing.T)
gateway/gateway_test.go:1355
FunctionTestAllApisAreMTLS
(t *testing.T)
gateway/api_loader_test.go:312
FunctionTestAllVersionParameters
(t *testing.T)
lib/apidef/version_test.go:119
FunctionTestAllowanceStore_Get
(t *testing.T)
internal/rate/allowance_store_test.go:26
FunctionTestAllowanceStore_Locker
(t *testing.T)
internal/rate/allowance_store_test.go:19
FunctionTestAllowanceStore_Set
(t *testing.T)
internal/rate/allowance_store_test.go:50
FunctionTestAllowance_Err
(t *testing.T)
internal/rate/model/allowance_test.go:79
FunctionTestAllowance_Expired
(t *testing.T)
internal/rate/model/allowance_test.go:155
FunctionTestAllowance_Get
(t *testing.T)
internal/rate/model/allowance_test.go:131
FunctionTestAllowance_GetDelay
(t *testing.T)
internal/rate/model/allowance_test.go:123
FunctionTestAllowance_Reset
(t *testing.T)
internal/rate/model/allowance_test.go:107
FunctionTestAllowance_Set
(t *testing.T)
internal/rate/model/allowance_test.go:138
FunctionTestAllowance_Touch
(t *testing.T)
internal/rate/model/allowance_test.go:147
FunctionTestAllowance_Valid
(t *testing.T)
internal/rate/model/allowance_test.go:53
FunctionTestAllowedURLs
The integration test.
tests/policy/allowed_urls_test.go:18
FunctionTestAmIPolling
(t *testing.T)
gateway/host_checker_manager_test.go:37
FunctionTestAnalyticRecord_GraphStats
(t *testing.T)
gateway/handler_success_test.go:125
FunctionTestAnalyticsIgnoreSubgraph
(t *testing.T)
gateway/handler_success_test.go:278
FunctionTestAnalytics_Write
(t *testing.T)
gateway/analytics_test.go:20
FunctionTestApiHandlerPostDupPath
(t *testing.T)
gateway/api_test.go:203
FunctionTestAppendApiDefQueriesConfigToEngineV2Queries
(t *testing.T)
apidef/adapter/gqlengineadapter/utils_engine_v2_test.go:235
FunctionTestAppendBytes
(t *testing.T)
regexp/keybuilder_test.go:48
FunctionTestAppendIfMissingUniqueness
(t *testing.T)
gateway/util_test.go:13
FunctionTestAppendInt
(t *testing.T)
regexp/keybuilder_test.go:61
FunctionTestAppendRelativePathIfNotPresent
(t *testing.T)
apidef/oas/servers_regeneration_test.go:2961
FunctionTestAppendString
(t *testing.T)
regexp/keybuilder_test.go:35
FunctionTestAppendToSet
(t *testing.T)
storage/redis_cluster_test.go:1351
FunctionTestAppendToSetPipelined
(t *testing.T)
storage/redis_cluster_test.go:1566
FunctionTestAppendURLQueryParamsToEngineV2Queries
(t *testing.T)
apidef/adapter/gqlengineadapter/utils_engine_v2_test.go:203
FunctionTestAppendf
(t *testing.T)
regexp/keybuilder_test.go:97
FunctionTestApplyACL_FromCustomPolicies
(t *testing.T)
internal/policy/apply_test.go:149
FunctionTestApplyConfigDefaults
(t *testing.T)
internal/certcheck/batcher_test.go:1499
FunctionTestApplyEndpointLevelLimits
(t *testing.T)
internal/policy/apply_test.go:196
FunctionTestApplyLifetime
(t *testing.T)
gateway/api_test.go:3952
FunctionTestApplyMultiPolicies
(t *testing.T)
gateway/policy_test.go:300
FunctionTestApplyPoliciesQuotaAPILimit
(t *testing.T)
gateway/policy_test.go:48
FunctionTestApplyRateLimits_FromCustomPolicies
(t *testing.T)
internal/policy/apply_test.go:121
FunctionTestApplyRateLimits_PolicyLimits
(t *testing.T)
internal/policy/apply_test.go:22
FunctionTestAreMapsEqual
(t *testing.T)
gateway/util_test.go:492
FunctionTestAssertNegativePS512JWT
(t *testing.T)
gateway/mw_jwt_test.go:2607
FunctionTestAssertPS512JWT
(t *testing.T)
gateway/mw_jwt_test.go:2576
FunctionTestAssertRS256JWT
(t *testing.T)
gateway/mw_jwt_test.go:2637
FunctionTestAsyncAPI
(t *testing.T)
gateway/mw_streaming_test.go:424
FunctionTestAsyncAPIHttp
(t *testing.T)
gateway/mw_streaming_test.go:538
FunctionTestAuthCodeRedirect
(t *testing.T)
gateway/oauth_manager_test.go:347
FunctionTestAuthCodeRedirectInvalidMultipleURL
(t *testing.T)
gateway/oauth_manager_test.go:419
FunctionTestAuthCodeRedirectMultipleURL
(t *testing.T)
gateway/oauth_manager_test.go:380
FunctionTestAuthORWrapperEnabledForSpec
TestAuthORWrapperEnabledForSpec tests the EnabledForSpec conditions
gateway/mw_auth_or_wrapper_test.go:2379
FunctionTestAuthORWrapper_OAuth2_Internal
TestAuthORWrapper_OAuth2_Internal tests OAuth2 scheme detection for internal OAuth
gateway/mw_auth_or_wrapper_test.go:3936
FunctionTestAuthORWrapper_findMiddlewareByType
TestAuthORWrapper_findMiddlewareByType tests the findMiddlewareByType helper function
gateway/mw_auth_or_wrapper_test.go:4055
FunctionTestAuthORWrapper_getMiddlewareForScheme
TestAuthORWrapper_getMiddlewareForScheme tests the getMiddlewareForScheme function
gateway/mw_auth_or_wrapper_test.go:4116
FunctionTestAuthSource
(t *testing.T)
apidef/oas/authentication_test.go:74
FunctionTestAuthSources
(t *testing.T)
apidef/oas/authentication_test.go:62
FunctionTestAuthSources_Import
(t *testing.T)
apidef/oas/default_test.go:2144
FunctionTestAuthentication
(t *testing.T)
apidef/oas/authentication_test.go:12
FunctionTestAuthenticationAfterDeleteKey
(t *testing.T)
gateway/auth_manager_test.go:26
FunctionTestAuthenticationAfterUpdateKey
(t *testing.T)
gateway/auth_manager_test.go:67
FunctionTestAuthenticationPlugin
(t *testing.T)
apidef/oas/middleware_test.go:561
FunctionTestBackoffPermanent_StopsRetries
TestBackoffPermanent_StopsRetries verifies that backoff.Permanent prevents retries This tests the core mechanism used in FuncClientSingleton when DNS
rpc/rpc_client_test.go:199
FunctionTestBackoffRetry_MaxRetries
TestBackoffRetry_MaxRetries verifies that retries stop after max attempts
rpc/rpc_client_test.go:265
FunctionTestBackoffRetry_Retries
TestBackoffRetry_Retries verifies that normal errors cause retries This tests the core mechanism used in FuncClientSingleton when DNS changes
rpc/rpc_client_test.go:231
FunctionTestBaseMiddleware_OrgSessionExpiry
(t *testing.T)
gateway/middleware_test.go:38
FunctionTestBaseMiddleware_getAuthToken
(t *testing.T)
gateway/middleware_test.go:150
FunctionTestBaseMiddleware_getAuthType
(t *testing.T)
gateway/middleware_test.go:92
FunctionTestBasicAuth
(t *testing.T)
gateway/mw_basic_auth_test.go:42
FunctionTestBasicAuthCachedPasswordCollision
(t *testing.T)
gateway/mw_basic_auth_test.go:223
FunctionTestBasicAuthCachedUserCollision
(t *testing.T)
gateway/mw_basic_auth_test.go:186
FunctionTestBasicAuthFromBody
(t *testing.T)
gateway/mw_basic_auth_test.go:66
FunctionTestBasicAuthHashKeyFunc
(t *testing.T)
gateway/mw_basic_auth_test.go:135
FunctionTestBasicAuthLegacyWithHashFunc
(t *testing.T)
gateway/mw_basic_auth_test.go:102
FunctionTestBasic_Import
(t *testing.T)
apidef/oas/default_test.go:2179
← previousnext →6,301–6,400 of 9,242, ranked by callers