Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TykTechnologies/tyk
/ functions
Functions
9,242 in github.com/TykTechnologies/tyk
⨍
Functions
9,242
◇
Types & classes
1,202
Function
TestResponseHeaderInjection
(t *testing.T)
gateway/res_handler_header_injector_test.go:89
Function
TestResponseOverride
(t *testing.T)
gateway/coprocess_bundle_test.go:401
Function
TestResponsePlugin
(t *testing.T)
apidef/oas/middleware_test.go:771
Function
TestResponseTransformMiddleware
(t *testing.T)
gateway/res_handler_transform_test.go:300
Function
TestResponseTransformMiddleware_Enabled
(t *testing.T)
gateway/res_handler_transform_test.go:214
Function
TestRetryGetKeyAndLock_LockAcquired
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:246
Function
TestRetryGetKeyAndLock_MaxRetriesExceeded
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:261
Function
TestRetryGetKeyAndLock_Success
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:231
Function
TestReverseProxyAllDown
(t *testing.T)
gateway/host_checker_test.go:178
Function
TestReverseProxyDnsCache
(t *testing.T)
gateway/reverse_proxy_test.go:161
Function
TestReverseProxyPreHandlerV1_PreHandle
(t *testing.T)
internal/graphengine/graphql_go_tools_v1_test.go:744
Function
TestReverseProxyPreHandlerV2_PreHandle
(t *testing.T)
internal/graphengine/graphql_go_tools_v2_test.go:17
Function
TestReverseProxyRetainHost
(t *testing.T)
gateway/reverse_proxy_test.go:82
Function
TestReverseProxyWebSocketCancelation
(t *testing.T)
gateway/reverse_proxy_test.go:1741
Function
TestRewriter
(t *testing.T)
gateway/mw_url_rewrite_test.go:111
Function
TestRewriterTriggers
(t *testing.T)
gateway/mw_url_rewrite_test.go:158
Function
TestRotateClientSecretHandler
(t *testing.T)
gateway/api_test.go:2035
Function
TestRoundRobin
(t *testing.T)
gateway/api_definition_test.go:891
Function
TestRoutingTriggerOptions
(t *testing.T)
apidef/api_definitions_test.go:42
Function
TestRuleAtLeastEnableOneAuthConfig_Validate
(t *testing.T)
apidef/validator_test.go:127
Function
TestRuleLoadBalancingTargets_Validate
(t *testing.T)
apidef/validator_test.go:512
Function
TestRuleUniqueDataSourceNames_Validate
(t *testing.T)
apidef/validator_test.go:53
Function
TestRuleUpstreamAuth_Validate
(t *testing.T)
apidef/validator_test.go:420
Function
TestRuleValidateEnforceTimeout_Validate
(t *testing.T)
apidef/validator_test.go:337
Function
TestRuleValidateIPList_Validate
(t *testing.T)
apidef/validator_test.go:223
Function
TestSSE
(t *testing.T)
gateway/reverse_proxy_test.go:1870
Function
TestSSLForceCommonName
(t *testing.T)
gateway/cert_test.go:1296
Function
TestScanKeys
(t *testing.T)
storage/redis_cluster_test.go:1965
Function
TestScheduler_Break
(t *testing.T)
internal/scheduler/scheduler_test.go:15
Function
TestScheduler_Close
(t *testing.T)
internal/scheduler/scheduler_test.go:31
Function
TestScheduler_Job_Errors
(t *testing.T)
internal/scheduler/scheduler_test.go:46
Function
TestSchema
(t *testing.T)
apidef/api_definitions_test.go:14
Function
TestSchemaApi
(t *testing.T)
gateway/schema_test.go:11
Function
TestSchemaGraphqlConfig
(t *testing.T)
apidef/api_definitions_test.go:99
Function
TestScopes
(t *testing.T)
apidef/oas/authentication_test.go:24
Function
TestSecretsDecoder
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
Function
TestSecurityProcessingMode
(t *testing.T)
apidef/oas/authentication_test.go:339
Function
TestSecurityRequirementsPreservation
(t *testing.T)
apidef/oas/security_test.go:1340
Function
TestSecuritySchemes_GetBaseIdentityProvider
(t *testing.T)
apidef/oas/default_test.go:2070
Function
TestSecuritySchemes_Import
(t *testing.T)
apidef/oas/default_test.go:1928
Function
TestServer
(t *testing.T)
apidef/oas/server_test.go:12
Function
TestServiceConfig_Empty
(t *testing.T)
config/external_service_test.go:109
Function
TestServiceDiscovery
(t *testing.T)
apidef/oas/upstream_test.go:142
Function
TestServiceDiscovery_CONSUL
(t *testing.T)
gateway/service_discovery_test.go:238
Function
TestServiceDiscovery_ETCD_NESTED_LIST
(t *testing.T)
gateway/service_discovery_test.go:286
Function
TestServiceDiscovery_ETCD_NESTED_NOLIST
(t *testing.T)
gateway/service_discovery_test.go:310
Function
TestServiceDiscovery_ETCD_NOLIST
(t *testing.T)
gateway/service_discovery_test.go:330
Function
TestServiceDiscovery_EUREKA
(t *testing.T)
gateway/service_discovery_test.go:214
Function
TestServiceDiscovery_MESOSPHERE
(t *testing.T)
gateway/service_discovery_test.go:350
Function
TestServiceDiscovery_NESTED_CONSUL
(t *testing.T)
gateway/service_discovery_test.go:262
Function
TestServiceTypeConstants
(t *testing.T)
config/external_service_test.go:189
Function
TestService_Apply
(t *testing.T)
internal/policy/apply_test.go:1280
Function
TestSessionLifetimeRespectsKeyExpiration
(t *testing.T)
gateway/api_test.go:1520
Function
TestSessionLimiter_RateLimitInfo
(t *testing.T)
gateway/session_manager_test.go:148
Function
TestSessionLimiter_RedisQuotaExceeded_PerAPI
(t *testing.T)
gateway/middleware_test.go:284
Function
TestSessionState_CustomPolicies
(t *testing.T)
user/custom_policies_test.go:10
Function
TestSessionState_Lifetime
(t *testing.T)
user/session_test.go:49
Function
TestSessionState_SetCustomPolicies
(t *testing.T)
user/custom_policies_test.go:87
Function
TestSessionState_TagsFromMetadata
(t *testing.T)
user/session_tags_test.go:7
Function
TestSessionState_Touch_and_IsModified
(t *testing.T)
user/session_test.go:14
Function
TestSetContext
(t *testing.T)
internal/service/core/context_test.go:53
Function
TestSetCustomHeaderMultipleValues
(t *testing.T)
gateway/reverse_proxy_test.go:1919
Function
TestSetDisabledFlags
(t *testing.T)
apidef/migration_test.go:575
Function
TestSetExp
(t *testing.T)
storage/redis_cluster_test.go:603
Function
TestSetExtraMetadata
(t *testing.T)
ee/middleware/upstreamoauth/provider_test.go:237
Function
TestSetExtraMetadata
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:276
Function
TestSetExtraMetadata_ExistingContext
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:295
Function
TestSetKey
(t *testing.T)
storage/redis_cluster_test.go:649
Function
TestSetRawKey
(t *testing.T)
storage/redis_cluster_test.go:695
Function
TestSetSelfLooping
(t *testing.T)
internal/httpctx/looping_test.go:12
Function
TestSetTokenInCache
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:132
Function
TestShouldOmit
(t *testing.T)
apidef/oas/oasutil_test.go:21
Function
TestShouldUpdateChildAPIs
(t *testing.T)
apidef/oas/servers_regeneration_test.go:1100
Function
TestSignature
(t *testing.T)
apidef/oas/authentication_test.go:100
Function
TestSignatureValidation
(t *testing.T)
gateway/mw_auth_key_test.go:110
Function
TestSingleJoiningSlash
(t *testing.T)
gateway/reverse_proxy_test.go:576
Function
TestSingleSecurityRequirementANDLogic
TestSingleSecurityRequirementANDLogic tests single requirement with multiple auth methods (AND logic)
gateway/mw_auth_or_wrapper_test.go:2142
Function
TestSkipTargetPassEscapingOff
(t *testing.T)
gateway/gateway_test.go:106
Function
TestSkipTargetPassEscapingOffWithSkipURLCleaningTrue
(t *testing.T)
gateway/gateway_test.go:209
Function
TestSkipUrlCleaning
(t *testing.T)
gateway/gateway_test.go:779
Function
TestSkipping
(t *testing.T)
test/util_test.go:21
Function
TestSlidingLog_Do
TestSlidingLog_Do is an integration test that tests counter behaviour.
internal/rate/sliding_log_test.go:20
Function
TestSlidingLog_Errors
TestSlidingLog_Errors covers some error branches.
internal/rate/sliding_log_test.go:56
Function
TestSlidingLog_Get
TestSlidingLog_Get is an integration test that tests log behaviour.
internal/rate/sliding_log_test.go:88
Function
TestSlidingLog_GetCount
TestSlidingLog_GetCount is an integration test that tests counter behaviour.
internal/rate/sliding_log_test.go:67
Function
TestSlidingLog_pipelinerError
TestSlidingLog_pipelinerError is testing that pipeline errors are returned as expected.
internal/rate/sliding_log_test.go:109
Function
TestSmoothing_Do
(t *testing.T)
internal/rate/smoothing_test.go:120
Function
TestSortAPISpecs
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
Function
TestSortByPathLength
TestSortByPathLength tests our custom sorting for the OAS paths.
internal/oasutil/paths_test.go:19
Function
TestSortSpecsByListenPath
(t *testing.T)
gateway/api_loader_test.go:9451
Function
TestSplitPath
(t *testing.T)
apidef/oas/operation_test.go:1239
Function
TestStandardOpenAPIBearerWithoutTykExtension
TestStandardOpenAPIBearerWithoutTykExtension tests standard OpenAPI bearer auth without Tyk extension
gateway/mw_auth_or_wrapper_test.go:2060
Function
TestStartPoller
(t *testing.T)
gateway/host_checker_manager_test.go:134
Function
TestStartPubSubHandler
(t *testing.T)
storage/redis_cluster_test.go:2022
Function
TestStat
(t *testing.T)
internal/osutil/osutil_test.go:131
Function
TestState
(t *testing.T)
apidef/oas/root_test.go:203
Function
TestStaticMTLSAPI
(t *testing.T)
gateway/cert_test.go:2008
Function
TestStorageFetchItem
(t *testing.T)
dnscache/storage_test.go:63
Function
TestStorageIndex
(t *testing.T)
certs/manager_test.go:194
Function
TestStorageRecordExpiration
(t *testing.T)
dnscache/storage_test.go:153
← previous
next →
7,501–7,600 of 9,242, ranked by callers