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
TestCoProcessTykTriggerEvent
(t *testing.T)
coprocess/coprocess_test.go:133
Function
TestCommands
(t *testing.T)
cli/bundler/bundler_test.go:68
Function
TestCompile
(t *testing.T)
regexp/regexp_test.go:9
Function
TestCompilePOSIX
(t *testing.T)
regexp/regexp_test.go:53
Function
TestComplexityCheckerV1_DepthLimitEnabled
(t *testing.T)
internal/graphengine/graphql_go_tools_v1_test.go:420
Function
TestComplexityCheckerV1_DepthLimitExceeded
(t *testing.T)
internal/graphengine/graphql_go_tools_v1_test.go:173
Function
TestCompliantModeSecuritySeparation
(t *testing.T)
apidef/oas/security_test.go:1597
Function
TestCompliantMode_JWTOrAPIKeyOrHMAC
TestCompliantMode_JWTOrAPIKeyOrHMAC tests OR logic with JWT, API Key, and HMAC
gateway/mw_auth_or_wrapper_test.go:627
Function
TestCompliantMode_SessionIsolation
TestCompliantMode_SessionIsolation tests that sessions are isolated between auth attempts
gateway/mw_auth_or_wrapper_test.go:851
Function
TestCompliantMode_ThreeAuthMethods
TestCompliantMode_ThreeAuthMethods tests with JWT, Basic Auth, and API Key
gateway/mw_auth_or_wrapper_test.go:968
Function
TestConcurrencyReloads
(t *testing.T)
gateway/looping_test.go:425
Function
TestConfigFiles
(t *testing.T)
config/config_test.go:99
Function
TestConfig_GetEventTriggers
(t *testing.T)
config/config_test.go:165
Function
TestConfigureAuthAndOrgStores
(t *testing.T)
gateway/api_loader_test.go:463
Function
TestConfigureVersionDefinition
(t *testing.T)
lib/apidef/version_test.go:147
Function
TestConflictingPaths
(t *testing.T)
gateway/api_definition_test.go:398
Function
TestConnectToRedis
(t *testing.T)
storage/redis_shim_test.go:33
Function
TestConnectionHandler_Connect
(t *testing.T)
storage/connection_handler_test.go:58
Function
TestConnectionHandler_DisableStorage
TestConnectionHandler_DisableStorage tests disabling the storage.
storage/connection_handler_test.go:121
Function
TestConnectionHandler_Disconnect
TestConnectionHandler_Disconnect tests the disconnection of all connections.
storage/connection_handler_test.go:135
Function
TestConnectionHandler_statusCheck
TestConnectionHandler_statusCheck tests the status check routine of the connection handler.
storage/connection_handler_test.go:151
Function
TestConnectionWatcher
(t *testing.T)
internal/httputil/connection_watcher_test.go:12
Function
TestConsulPut
(t *testing.T)
storage/kv/store_test.go:93
Function
TestConsul_Get
(t *testing.T)
storage/kv/consul_test.go:15
Function
TestContainsEscapedCharacters
(t *testing.T)
gateway/util_test.go:529
Function
TestContextData
(t *testing.T)
gateway/api_test.go:1999
Function
TestContextSession
(t *testing.T)
gateway/api_test.go:2010
Function
TestContextVariables
(t *testing.T)
apidef/oas/middleware_test.go:1119
Function
TestContextVarsMiddleware
(t *testing.T)
gateway/mw_context_vars_test.go:39
Function
TestContextVarsMiddlewareProcessRequest
(t *testing.T)
gateway/mw_context_vars_test.go:196
Function
TestContextWithSpan
(t *testing.T)
internal/otel/otel_test.go:252
Function
TestControlListener
Admin api located on separate port
gateway/gateway_test.go:491
Function
TestConvertApiDefinitionHeadersToHttpHeaders
(t *testing.T)
apidef/adapter/gqlengineadapter/utils_test.go:84
Function
TestCoprocessAPIs
(t *testing.T)
gateway/coprocess_api_test.go:12
Function
TestCoprocessLog
(t *testing.T)
gateway/coprocess_api_test.go:27
Function
TestCoprocessSystemEvent
(t *testing.T)
gateway/coprocess_api_test.go:35
Function
TestCopy
(t *testing.T)
regexp/regexp_test.go:333
Function
TestCopyAllowedURLs
(t *testing.T)
gateway/middleware_test.go:374
Function
TestCopyHeader_NoDuplicateCORSHeaders
(t *testing.T)
gateway/reverse_proxy_test.go:42
Function
TestCreateAdvancedCacheConfig
(t *testing.T)
apidef/migration_test.go:1122
Function
TestCreateArgumentConfigurationsForArgumentNames
(t *testing.T)
apidef/adapter/gqlengineadapter/utils_engine_v2_test.go:120
Function
TestCreateBody
(t *testing.T)
gateway/event_handler_webhooks_test.go:264
Function
TestCreateGraphQLDataSourceFactory
(t *testing.T)
apidef/adapter/gqlengineadapter/utils_engine_v2_test.go:273
Function
TestCreateMemConnProviderIfNeeded
(t *testing.T)
gateway/reverse_proxy_test.go:1956
Function
TestCreateOAuthClient
(t *testing.T)
gateway/api_test.go:1604
Function
TestCreateOAuthHTTPClient
Test cases for createOAuthHTTPClient
ee/middleware/upstreamoauth/oauth_client_utils_test.go:13
Function
TestCreateOAuthHTTPClient_IsMTLSError
TestCreateOAuthHTTPClient_IsMTLSError tests the IsMTLSError function
ee/middleware/upstreamoauth/oauth_client_utils_test.go:136
Function
TestCreateOAuthHTTPClient_MTLSErrorSecurity
TestCreateOAuthHTTPClient_MTLSErrorSecurity tests the security-critical behavior where mTLS errors should not fallback to insecure clients
ee/middleware/upstreamoauth/oauth_client_utils_test.go:104
Function
TestCreateTLSConfig
(t *testing.T)
internal/rate/storage_tls_test.go:21
Function
TestCreateTLSConfig_ExternalServicesIntegration
(t *testing.T)
internal/rate/storage_test.go:33
Function
TestCreateTLSConfig_TLSVersions
(t *testing.T)
internal/rate/storage_test.go:80
Function
TestCreateTokenDataBytes
(t *testing.T)
ee/middleware/upstreamoauth/provider_test.go:277
Function
TestCreateTokenDataBytes
(t *testing.T)
ee/middleware/upstreamoauth/token_cache_test.go:146
Function
TestCustomCertsDataDecoder
(t *testing.T)
config/config_test.go:307
Function
TestCustomDomain
(t *testing.T)
apidef/oas/server_test.go:146
Function
TestCustomDomain
(t *testing.T)
gateway/gateway_test.go:833
Function
TestCustomKeysEdgeGw
TestCustomKeysEdgeGw check that custom keys are processed by edge gw when a keySpace signal is received
gateway/auth_manager_test.go:293
Function
TestCustomPlugin
(t *testing.T)
apidef/oas/authentication_test.go:191
Function
TestCustomPlugins
(t *testing.T)
apidef/oas/middleware_test.go:639
Function
TestDNSIsOnlyCheckedOncePerConnectionIssue
(t *testing.T)
rpc/dns_resolver_test.go:408
Function
TestDNSMonitorBackoffResetOnChange
TestDNSMonitorBackoffResetOnChange tests that interval resets to base when DNS changes
rpc/dns_monitor_test.go:831
Function
TestDNSMonitorBasicLifecycle
TestDNSMonitorBasicLifecycle tests basic start/stop lifecycle
rpc/dns_monitor_test.go:11
Function
TestDNSMonitorBelowRecommendedInterval
TestDNSMonitorBelowRecommendedInterval tests warning for intervals below recommended minimum
rpc/dns_monitor_test.go:117
Function
TestDNSMonitorConcurrentReconnections
TestDNSMonitorConcurrentReconnections tests that concurrent reconnections are prevented
rpc/dns_monitor_test.go:449
Function
TestDNSMonitorDefaultInterval
TestDNSMonitorDefaultInterval tests that default interval is applied
rpc/dns_monitor_test.go:61
Function
TestDNSMonitorDisabled
TestDNSMonitorDisabled tests that monitor doesn't start when disabled
rpc/dns_monitor_test.go:33
Function
TestDNSMonitorEmergencyMode
TestDNSMonitorEmergencyMode tests that monitor continues checking DNS even in emergency mode This allows recovery when DNS change caused the emergency
rpc/dns_monitor_test.go:375
Function
TestDNSMonitorEmptyConnectionString
TestDNSMonitorEmptyConnectionString tests behavior with empty connection string
rpc/dns_monitor_test.go:47
Function
TestDNSMonitorExponentialBackoff
TestDNSMonitorExponentialBackoff tests that check interval grows exponentially when DNS is stable
rpc/dns_monitor_test.go:735
Function
TestDNSMonitorGracefulShutdown
TestDNSMonitorGracefulShutdown tests graceful shutdown
rpc/dns_monitor_test.go:268
Function
TestDNSMonitorInvalidConnectionString
TestDNSMonitorInvalidConnectionString tests behavior with invalid connection string
rpc/dns_monitor_test.go:532
Function
TestDNSMonitorMinimumInterval
TestDNSMonitorMinimumInterval tests that minimum interval is enforced
rpc/dns_monitor_test.go:89
Function
TestDNSMonitorMultipleStarts
TestDNSMonitorMultipleStarts tests that starting multiple times doesn't cause issues
rpc/dns_monitor_test.go:348
Function
TestDNSMonitorNoDNSChange
TestDNSMonitorNoDNSChange tests that reconnect is NOT triggered when DNS unchanged
rpc/dns_monitor_test.go:218
Function
TestDNSMonitorProactiveDetection
TestDNSMonitorProactiveDetection tests proactive DNS change detection
rpc/dns_monitor_test.go:150
Function
TestDNSMonitorRateLimiting
TestDNSMonitorRateLimiting tests that reconnections are rate limited to prevent flapping
rpc/dns_monitor_test.go:571
Function
TestDNSMonitorRateLimitingSurvivesRestart
TestDNSMonitorRateLimitingSurvivesRestart tests that rate limiting persists across monitor restarts
rpc/dns_monitor_test.go:653
Function
TestDNSMonitorRestart
TestDNSMonitorRestart tests stopping and restarting the monitor
rpc/dns_monitor_test.go:313
Function
TestDecodeAnalyticsRecord
(t *testing.T)
rpc/rpc_analytics_purger_test.go:12
Function
TestDecodeFromDB
(t *testing.T)
apidef/api_definitions_test.go:67
Function
TestDecreaseRateAllowance
(t *testing.T)
internal/rate/smoothing_test.go:71
Function
TestDecrement
(t *testing.T)
storage/redis_cluster_test.go:741
Function
TestDeepCopyBody
(t *testing.T)
gateway/reverse_proxy_test.go:884
Function
TestDefaultStreamAnalyticsFactory_CreateRecorder
(t *testing.T)
gateway/analytics_streams_test.go:76
Function
TestDefaultStreamAnalyticsRecorder_PrepareRecord
(t *testing.T)
gateway/analytics_streams_test.go:152
Function
TestDefaultValueAndWriteDefaultConf
(t *testing.T)
config/config_test.go:20
Function
TestDefaultVersion
(t *testing.T)
gateway/api_definition_test.go:957
Function
TestDeleteAPI
(t *testing.T)
gateway/api_test.go:2690
Function
TestDeleteAllKeys
(t *testing.T)
storage/redis_cluster_test.go:1052
Function
TestDeleteJWKCacheByAPIID
(t *testing.T)
gateway/mw_jwt_test.go:5026
Function
TestDeleteKey
(t *testing.T)
storage/redis_cluster_test.go:993
Function
TestDeleteKeys
(t *testing.T)
storage/redis_cluster_test.go:1233
Function
TestDeleteOauthClient
(t *testing.T)
gateway/oauth_manager_test.go:562
Function
TestDeleteRawKey
(t *testing.T)
storage/redis_cluster_test.go:1087
Function
TestDeleteRawKeys
(t *testing.T)
storage/redis_cluster_test.go:1177
Function
TestDeleteRawKeysWithAllowanceScope
(t *testing.T)
gateway/auth_manager_test.go:386
Function
TestDeleteScanMatch
(t *testing.T)
storage/redis_cluster_test.go:1132
Function
TestDeleteUsingTokenID
(t *testing.T)
gateway/rpc_storage_handler_test.go:634
Function
TestDeletionOfPoliciesThatFromAKeyDoesNotMakeTheAPIKeyless
(t *testing.T)
gateway/api_test.go:4073
Function
TestDetermineHosts
(t *testing.T)
apidef/oas/servers_regeneration_test.go:217
← previous
next →
6,501–6,600 of 9,242, ranked by callers