MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

FunctionTestResponseHeaderInjection
(t *testing.T)
gateway/res_handler_header_injector_test.go:89
FunctionTestResponseOverride
(t *testing.T)
gateway/coprocess_bundle_test.go:401
FunctionTestResponsePlugin
(t *testing.T)
apidef/oas/middleware_test.go:771
FunctionTestResponseTransformMiddleware
(t *testing.T)
gateway/res_handler_transform_test.go:300
FunctionTestResponseTransformMiddleware_Enabled
(t *testing.T)
gateway/res_handler_transform_test.go:214
FunctionTestRetryGetKeyAndLock_LockAcquired
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:246
FunctionTestRetryGetKeyAndLock_MaxRetriesExceeded
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:261
FunctionTestRetryGetKeyAndLock_Success
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:231
FunctionTestReverseProxyAllDown
(t *testing.T)
gateway/host_checker_test.go:178
FunctionTestReverseProxyDnsCache
(t *testing.T)
gateway/reverse_proxy_test.go:161
FunctionTestReverseProxyPreHandlerV1_PreHandle
(t *testing.T)
internal/graphengine/graphql_go_tools_v1_test.go:744
FunctionTestReverseProxyPreHandlerV2_PreHandle
(t *testing.T)
internal/graphengine/graphql_go_tools_v2_test.go:17
FunctionTestReverseProxyRetainHost
(t *testing.T)
gateway/reverse_proxy_test.go:82
FunctionTestReverseProxyWebSocketCancelation
(t *testing.T)
gateway/reverse_proxy_test.go:1741
FunctionTestRewriter
(t *testing.T)
gateway/mw_url_rewrite_test.go:111
FunctionTestRewriterTriggers
(t *testing.T)
gateway/mw_url_rewrite_test.go:158
FunctionTestRotateClientSecretHandler
(t *testing.T)
gateway/api_test.go:2035
FunctionTestRoundRobin
(t *testing.T)
gateway/api_definition_test.go:891
FunctionTestRoutingTriggerOptions
(t *testing.T)
apidef/api_definitions_test.go:42
FunctionTestRuleAtLeastEnableOneAuthConfig_Validate
(t *testing.T)
apidef/validator_test.go:127
FunctionTestRuleLoadBalancingTargets_Validate
(t *testing.T)
apidef/validator_test.go:512
FunctionTestRuleUniqueDataSourceNames_Validate
(t *testing.T)
apidef/validator_test.go:53
FunctionTestRuleUpstreamAuth_Validate
(t *testing.T)
apidef/validator_test.go:420
FunctionTestRuleValidateEnforceTimeout_Validate
(t *testing.T)
apidef/validator_test.go:337
FunctionTestRuleValidateIPList_Validate
(t *testing.T)
apidef/validator_test.go:223
FunctionTestSSE
(t *testing.T)
gateway/reverse_proxy_test.go:1870
FunctionTestSSLForceCommonName
(t *testing.T)
gateway/cert_test.go:1296
FunctionTestScanKeys
(t *testing.T)
storage/redis_cluster_test.go:1965
FunctionTestScheduler_Break
(t *testing.T)
internal/scheduler/scheduler_test.go:15
FunctionTestScheduler_Close
(t *testing.T)
internal/scheduler/scheduler_test.go:31
FunctionTestScheduler_Job_Errors
(t *testing.T)
internal/scheduler/scheduler_test.go:46
FunctionTestSchema
(t *testing.T)
apidef/api_definitions_test.go:14
FunctionTestSchemaApi
(t *testing.T)
gateway/schema_test.go:11
FunctionTestSchemaGraphqlConfig
(t *testing.T)
apidef/api_definitions_test.go:99
FunctionTestScopes
(t *testing.T)
apidef/oas/authentication_test.go:24
FunctionTestSecretsDecoder
TestSecretsDecoder tests env variable decoding for TYK_GW_SECRETS. It confirms that key pairs should be provided as a comma separated list of keys and
config/config_test.go:322
FunctionTestSecurityProcessingMode
(t *testing.T)
apidef/oas/authentication_test.go:339
FunctionTestSecurityRequirementsPreservation
(t *testing.T)
apidef/oas/security_test.go:1340
FunctionTestSecuritySchemes_GetBaseIdentityProvider
(t *testing.T)
apidef/oas/default_test.go:2070
FunctionTestSecuritySchemes_Import
(t *testing.T)
apidef/oas/default_test.go:1928
FunctionTestServer
(t *testing.T)
apidef/oas/server_test.go:12
FunctionTestServiceConfig_Empty
(t *testing.T)
config/external_service_test.go:109
FunctionTestServiceDiscovery
(t *testing.T)
apidef/oas/upstream_test.go:142
FunctionTestServiceDiscovery_CONSUL
(t *testing.T)
gateway/service_discovery_test.go:238
FunctionTestServiceDiscovery_ETCD_NESTED_LIST
(t *testing.T)
gateway/service_discovery_test.go:286
FunctionTestServiceDiscovery_ETCD_NESTED_NOLIST
(t *testing.T)
gateway/service_discovery_test.go:310
FunctionTestServiceDiscovery_ETCD_NOLIST
(t *testing.T)
gateway/service_discovery_test.go:330
FunctionTestServiceDiscovery_EUREKA
(t *testing.T)
gateway/service_discovery_test.go:214
FunctionTestServiceDiscovery_MESOSPHERE
(t *testing.T)
gateway/service_discovery_test.go:350
FunctionTestServiceDiscovery_NESTED_CONSUL
(t *testing.T)
gateway/service_discovery_test.go:262
FunctionTestServiceTypeConstants
(t *testing.T)
config/external_service_test.go:189
FunctionTestService_Apply
(t *testing.T)
internal/policy/apply_test.go:1280
FunctionTestSessionLifetimeRespectsKeyExpiration
(t *testing.T)
gateway/api_test.go:1520
FunctionTestSessionLimiter_RateLimitInfo
(t *testing.T)
gateway/session_manager_test.go:148
FunctionTestSessionLimiter_RedisQuotaExceeded_PerAPI
(t *testing.T)
gateway/middleware_test.go:284
FunctionTestSessionState_CustomPolicies
(t *testing.T)
user/custom_policies_test.go:10
FunctionTestSessionState_Lifetime
(t *testing.T)
user/session_test.go:49
FunctionTestSessionState_SetCustomPolicies
(t *testing.T)
user/custom_policies_test.go:87
FunctionTestSessionState_TagsFromMetadata
(t *testing.T)
user/session_tags_test.go:7
FunctionTestSessionState_Touch_and_IsModified
(t *testing.T)
user/session_test.go:14
FunctionTestSetContext
(t *testing.T)
internal/service/core/context_test.go:53
FunctionTestSetCustomHeaderMultipleValues
(t *testing.T)
gateway/reverse_proxy_test.go:1919
FunctionTestSetDisabledFlags
(t *testing.T)
apidef/migration_test.go:575
FunctionTestSetExp
(t *testing.T)
storage/redis_cluster_test.go:603
FunctionTestSetExtraMetadata
(t *testing.T)
ee/middleware/upstreamoauth/provider_test.go:237
FunctionTestSetExtraMetadata
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:276
FunctionTestSetExtraMetadata_ExistingContext
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:295
FunctionTestSetKey
(t *testing.T)
storage/redis_cluster_test.go:649
FunctionTestSetRawKey
(t *testing.T)
storage/redis_cluster_test.go:695
FunctionTestSetSelfLooping
(t *testing.T)
internal/httpctx/looping_test.go:12
FunctionTestSetTokenInCache
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:132
FunctionTestShouldOmit
(t *testing.T)
apidef/oas/oasutil_test.go:21
FunctionTestShouldUpdateChildAPIs
(t *testing.T)
apidef/oas/servers_regeneration_test.go:1100
FunctionTestSignature
(t *testing.T)
apidef/oas/authentication_test.go:100
FunctionTestSignatureValidation
(t *testing.T)
gateway/mw_auth_key_test.go:110
FunctionTestSingleJoiningSlash
(t *testing.T)
gateway/reverse_proxy_test.go:576
FunctionTestSingleSecurityRequirementANDLogic
TestSingleSecurityRequirementANDLogic tests single requirement with multiple auth methods (AND logic)
gateway/mw_auth_or_wrapper_test.go:2142
FunctionTestSkipTargetPassEscapingOff
(t *testing.T)
gateway/gateway_test.go:106
FunctionTestSkipTargetPassEscapingOffWithSkipURLCleaningTrue
(t *testing.T)
gateway/gateway_test.go:209
FunctionTestSkipUrlCleaning
(t *testing.T)
gateway/gateway_test.go:779
FunctionTestSkipping
(t *testing.T)
test/util_test.go:21
FunctionTestSlidingLog_Do
TestSlidingLog_Do is an integration test that tests counter behaviour.
internal/rate/sliding_log_test.go:20
FunctionTestSlidingLog_Errors
TestSlidingLog_Errors covers some error branches.
internal/rate/sliding_log_test.go:56
FunctionTestSlidingLog_Get
TestSlidingLog_Get is an integration test that tests log behaviour.
internal/rate/sliding_log_test.go:88
FunctionTestSlidingLog_GetCount
TestSlidingLog_GetCount is an integration test that tests counter behaviour.
internal/rate/sliding_log_test.go:67
FunctionTestSlidingLog_pipelinerError
TestSlidingLog_pipelinerError is testing that pipeline errors are returned as expected.
internal/rate/sliding_log_test.go:109
FunctionTestSmoothing_Do
(t *testing.T)
internal/rate/smoothing_test.go:120
FunctionTestSortAPISpecs
extra4 - end enable strip slash and disable strip listenpath section (both DisableStripSlash and StripListenPath set to false) - end 4th section --en
gateway/api_loader_test.go:9367
FunctionTestSortByPathLength
TestSortByPathLength tests our custom sorting for the OAS paths.
internal/oasutil/paths_test.go:19
FunctionTestSortSpecsByListenPath
(t *testing.T)
gateway/api_loader_test.go:9451
FunctionTestSplitPath
(t *testing.T)
apidef/oas/operation_test.go:1239
FunctionTestStandardOpenAPIBearerWithoutTykExtension
TestStandardOpenAPIBearerWithoutTykExtension tests standard OpenAPI bearer auth without Tyk extension
gateway/mw_auth_or_wrapper_test.go:2060
FunctionTestStartPoller
(t *testing.T)
gateway/host_checker_manager_test.go:134
FunctionTestStartPubSubHandler
(t *testing.T)
storage/redis_cluster_test.go:2022
FunctionTestStat
(t *testing.T)
internal/osutil/osutil_test.go:131
FunctionTestState
(t *testing.T)
apidef/oas/root_test.go:203
FunctionTestStaticMTLSAPI
(t *testing.T)
gateway/cert_test.go:2008
FunctionTestStorageFetchItem
(t *testing.T)
dnscache/storage_test.go:63
FunctionTestStorageIndex
(t *testing.T)
certs/manager_test.go:194
FunctionTestStorageRecordExpiration
(t *testing.T)
dnscache/storage_test.go:153
← previousnext →7,501–7,600 of 9,242, ranked by callers