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
↓ 1 callers
Method
Add
(certData []byte, orgID string)
certs/manager.go:561
↓ 1 callers
Method
AddCommand
AddCommand will append a new command to the test.
apidef/api_definitions.go:956
↓ 1 callers
Method
AddCommand
AddCommand will append a new command to the test.
apidef/oas/upstream.go:637
↓ 1 callers
Function
AddTo
AddTo initializes an importer object.
cli/plugin/plugin.go:54
↓ 1 callers
Function
AddTo
AddTo initializes an importer object.
cli/importer/importer.go:47
↓ 1 callers
Function
AddTo
AddTo initializes a version info object.
cli/version/version.go:69
↓ 1 callers
Method
AddToSet
AddToSet adds a value to a set associated with a key in DummyStorage; implementation pending.
storage/dummy.go:134
↓ 1 callers
Method
AddToSortedSet
AddToSortedSet inserts a value with a score into a sorted set in DummyStorage; implementation pending.
storage/dummy.go:154
↓ 1 callers
Function
AddTracer
AddTracer initialize a tracer for the service.
trace/manager.go:122
↓ 1 callers
Method
AddUnloadHook
AddUnloadHook adds a function to be called when the API spec is unloaded
gateway/api_definition.go:162
↓ 1 callers
Function
AddVersion
AddVersion creates an option that adds a version mapping to a VersionDefinition. It associates a version name with an API ID in the Versions map.
lib/apidef/version.go:135
↓ 1 callers
Method
AllowAccessNext
( orgChan chan bool, path string, IP string, r *http.Request, session *user.SessionState)
gateway/mw_organisation_activity.go:249
↓ 1 callers
Method
ApiHealthValues
()
gateway/api_healthcheck.go:23
↓ 1 callers
Method
AppendAddOp
AppendAddOp appends add operation to TransformHeaders middleware.
apidef/oas/middleware.go:1185
↓ 1 callers
Method
AppendToSet
AppendToSet adds a new value to the end of a list associated with a key in DummyStorage.
storage/dummy.go:243
↓ 1 callers
Function
AuthHeader
AuthHeader will take username and password and return "Basic " + base64 encoded `username:password` for use in an Authorization header.
internal/httputil/headers.go:22
↓ 1 callers
Function
B
(a,b,c,d,e,f,g)
templates/playground/playground.js:1290
↓ 1 callers
Method
Base
()
gateway/res_handler_go_plugin.go:22
↓ 1 callers
Method
Base
Base serves to provide the full BaseMiddleware API. It's part of the TykMiddleware interface. It escapes to a wider API surface than TykMiddleware, us
gateway/middleware.go:292
↓ 1 callers
Method
Base
()
gateway/res_handler_header_transform.go:27
↓ 1 callers
Method
Cancel
()
internal/graphengine/engine.go:31
↓ 1 callers
Method
CheckCircuitBreakerEnforced
(spec *APISpec, req *http.Request)
gateway/reverse_proxy.go:597
↓ 1 callers
Method
CheckForKeyspaceChanges
CheckForKeyspaceChanges will poll for keysace changes
gateway/rpc_storage_handler.go:886
↓ 1 callers
Method
CheckForReload
CheckForReload will start a long poll
gateway/rpc_storage_handler.go:799
↓ 1 callers
Method
CheckGraphqlRequestFieldAllowance
(gqlRequest *graphql.Request, accessDef *user.AccessDefinition, schema *graphql.Schema)
gateway/mw_graphql_granular_access.go:89
↓ 1 callers
Method
CheckHardTimeoutEnforced
CheckHardTimeoutEnforced checks APISpec versions for a fine grained timeout value. The value is defined in seconds, but we're using float64 to enable
gateway/reverse_proxy.go:556
↓ 1 callers
Method
ClearSession
ClearSession clears the quota, rate limit and complexity values so that partitioned policies can apply their values. Otherwise, if the session has alr
internal/policy/apply.go:37
↓ 1 callers
Method
Clone
Clone does a deepcopy of APILimit.
user/session.go:65
↓ 1 callers
Function
CoProcessLog
CoProcessLog is a bridge for using Tyk log from CP. export CoProcessLog
gateway/coprocess_api.go:88
↓ 1 callers
Function
Connect
Connect will establish a connection to the RPC server specified in connection options
rpc/rpc_client.go:228
↓ 1 callers
Method
Connect
Connect establishes a connection to the storage backend; not currently implemented.
storage/dummy.go:89
↓ 1 callers
Method
Connect
Connect Connects to RPC
rpc/rpc_analytics_purger.go:25
↓ 1 callers
Method
ConnectToRedis
ConnectToRedis sets up the connection to Redis using specified configuration. It abstracts the connection logic, allowing Go plugins to seamlessly int
storage/redis_shim.go:26
↓ 1 callers
Method
ControllerInitiated
()
storage/redis_cluster.go:1075
↓ 1 callers
Method
ConvertIntoApiVersion
(asMock bool)
apidef/importer/swagger.go:82
↓ 1 callers
Method
ConvertIntoApiVersion
(bool)
apidef/importer/wsdl.go:315
↓ 1 callers
Method
ConvertIntoApiVersion
(asMock bool)
apidef/importer/blueprint.go:101
↓ 1 callers
Method
CreateCheckSum
(req *http.Request, keyName string, regex string, additionalKeyFromHeaders string)
gateway/mw_redis_cache.go:50
↓ 1 callers
Function
CreateCoProcessMiddleware
CreateCoProcessMiddleware initializes a new CP middleware, takes hook type (pre, post, etc.), hook name ("my_hook") and driver ("python").
gateway/coprocess.go:47
↓ 1 callers
Method
CreateHealthCheckClient
CreateHealthCheckClient creates an HTTP client for health check requests.
internal/httpclient/factory.go:115
↓ 1 callers
Method
CreateIntrospectionClient
CreateIntrospectionClient creates an HTTP client for OAuth introspection requests.
internal/httpclient/factory.go:105
↓ 1 callers
Function
CreateJWKTokenECDSA
(jGen ...func(*jwt.Token))
gateway/testutil.go:944
↓ 1 callers
Method
CreateResponseWriter
(w http.ResponseWriter, r *http.Request, streamID string, recorder StreamAnalyticsRecorder)
ee/middleware/streams/analytics.go:16
↓ 1 callers
Method
CreateWebhookClient
CreateWebhookClient creates an HTTP client for webhook requests.
internal/httpclient/factory.go:110
↓ 1 callers
Function
Da
(a)
templates/playground/playground.js:1311
↓ 1 callers
Method
DecodeBatchRequest
(r *http.Request)
gateway/batch_requests.go:86
↓ 1 callers
Method
Decrement
(string)
storage/storage.go:37
↓ 1 callers
Method
Decrement
Decrement reduces the value of a specified key in DummyStorage; implementation pending.
storage/dummy.go:109
↓ 1 callers
Method
DeleteAllKeys
DeleteAllKeys removes all keys and their associated data from the DummyStorage. This method is intended to provide a way to clear the entire storage,
storage/dummy.go:76
↓ 1 callers
Method
DeleteKey
DeleteKey removes a specified key from DummyStorage, returning true if successful.
storage/dummy.go:184
↓ 1 callers
Method
DeleteKeys
DeleteKeys removes a list of keys from DummyStorage, returning a success status; not yet implemented.
storage/dummy.go:104
↓ 1 callers
Method
DeleteRawKey
DeleteRawKey removes a specified key from DummyStorage, returning success status; not yet implemented.
storage/dummy.go:81
↓ 1 callers
Method
DeleteRawKeys
([]string)
storage/storage.go:32
↓ 1 callers
Method
DeleteScanMatch
DeleteScanMatch deletes keys matching a pattern from DummyStorage, returning true if successful.
storage/dummy.go:194
↓ 1 callers
Method
Descriptor
()
coprocess/coprocess_common.pb.go:84
↓ 1 callers
Function
Disable
Disable disables the global trace manager.
trace/manager.go:117
↓ 1 callers
Method
DisableRedis
DisableRedis toggles the Redis connection's active status, providing a mechanism to dynamically manage the connection state in response to runtime con
storage/redis_shim.go:32
↓ 1 callers
Function
Disconnect
()
rpc/rpc_client.go:593
↓ 1 callers
Method
DispatchWithContext
DispatchWithContext takes a context and CoProcessMessage and sends it to the CP with trace propagation.
coprocess/dispatcher.go:15
↓ 1 callers
Method
DispatchWithContext
DispatchWithContext takes a context and CoProcessMessage and sends it to the CP.
gateway/coprocess_python.go:48
↓ 1 callers
Method
DispatchWithContext
DispatchWithContext takes a context and CoProcessMessage and sends it to the CP with trace propagation.
gateway/coprocess_grpc.go:56
↓ 1 callers
Method
DispatchWithContext
(ctx context.Context, object *coprocess.Object)
gateway/coprocess_lua.go:131
↓ 1 callers
Method
DisposeCache
()
dnscache/manager.go:30
↓ 1 callers
Method
DisposeCache
DisposeCache clear all entries from cache and disposes/disables caching of dns queries
dnscache/manager.go:159
↓ 1 callers
Method
DoMockReply
(w http.ResponseWriter, meta apidef.MockResponseMeta)
gateway/mw_version_check.go:34
↓ 1 callers
Method
DoServiceDiscoveryListUpdateForID
(apiID string)
gateway/host_checker_manager.go:475
↓ 1 callers
Function
Ea
()
templates/playground/playground.js:1311
↓ 1 callers
Function
Eh
(a,b)
templates/playground/playground.js:1311
↓ 1 callers
Function
EnableEmergencyMode
EnableEmergencyMode sets the emergency mode state for production use
rpc/rpc_client.go:638
↓ 1 callers
Method
Enabled
()
gateway/monitor.go:14
↓ 1 callers
Method
Enabled
()
gateway/res_handler_transform.go:38
↓ 1 callers
Method
EnabledForSpec
()
gateway/res_cache.go:42
↓ 1 callers
Method
EnabledForSpec
()
gateway/mw_ip_blacklist.go:20
↓ 1 callers
Method
EnabledForSpec
()
gateway/mw_ip_whitelist.go:20
↓ 1 callers
Method
EnabledForSpec
()
gateway/mw_api_rate_limit.go:75
↓ 1 callers
Method
EnabledForSpec
EnabledForSpec checks if streaming is enabled on the config.
ee/middleware/upstreamoauth/middleware.go:55
↓ 1 callers
Method
EngineConfig
()
apidef/adapter/graphql_config_adapter.go:21
↓ 1 callers
Method
EngineConfig
()
apidef/adapter/gqlengineadapter/adapter_udg.go:25
↓ 1 callers
Method
EngineConfigV3
()
apidef/adapter/graphql_config_adapter.go:25
↓ 1 callers
Method
EngineConfigV3
()
apidef/adapter/graphql_config_adapter.go:108
↓ 1 callers
Method
EngineConfigV3
()
apidef/adapter/gqlengineadapter/enginev3/adapter_udg.go:24
↓ 1 callers
Method
EnsureQueued
EnsureQueued this will block until any queue happens. It will timeout after 100ms
gateway/testutil.go:180
↓ 1 callers
Method
EnsureReloaded
EnsureReloaded this will block until any reload happens. It will timeout after 200ms
gateway/testutil.go:204
↓ 1 callers
Method
Err
Err checks the rate limit smoothing configuration for validity and returns an error if it is not valid. It checks for a nil value, the enabled flag an
apidef/rate_limit_smoothing.go:98
↓ 1 callers
Method
ErrorAt
(i int)
apidef/validator.go:32
↓ 1 callers
Method
ErrorStrings
()
apidef/validator.go:44
↓ 1 callers
Method
Exists
Exists checks if a key exists in either the IndexList or Data in DummyStorage; returns true if found.
storage/dummy.go:236
↓ 1 callers
Method
Expired
Expired returns true if this Version has expired and false if it has not expired (or does not have any expiry)
apidef/api_definitions.go:1353
↓ 1 callers
Method
ExpiryTime
ExpiryTime returns the time that this version is due to expire
apidef/api_definitions.go:1369
↓ 1 callers
Method
Extract
(format interface{}, carrier interface{})
trace/openzipkin/zipkin.go:228
↓ 1 callers
Function
ExtractCertificateBasics
(cert *tls.Certificate, certID string)
certs/manager.go:275
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *AuthSources to *apidef.AuthConfig.
apidef/oas/authentication.go:395
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *Signature to *apidef.AuthConfig.
apidef/oas/authentication.go:493
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *OIDC to *apidef.APIDefinition.
apidef/oas/authentication.go:703
↓ 1 callers
Method
ExtractTo
(api *apidef.APIDefinition)
apidef/oas/authentication.go:868
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *ListenPath into *apidef.APIDefinition.
apidef/oas/server.go:219
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *ClientCertificates into *apidef.APIDefinition.
apidef/oas/server.go:243
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *Middleware into *apidef.APIDefinition.
apidef/oas/middleware.go:35
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *PluginConfigData into *apidef.
apidef/oas/middleware.go:507
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *Cache into *apidef.CacheOptions.
apidef/oas/middleware.go:734
← previous
next →
3,201–3,300 of 9,242, ranked by callers