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
ExtractTo
ExtractTo extracts *TransformHeaders into *apidef.HeaderInjectionMeta.
apidef/oas/middleware.go:1201
↓ 1 callers
Method
ExtractTo
ExtractTo extracts CustomPlugins into supplied Middleware definitions.
apidef/oas/middleware.go:1336
↓ 1 callers
Method
ExtractTo
ExtractTo extracts PrePlugin into Tyk classic api definition.
apidef/oas/middleware.go:1375
↓ 1 callers
Method
ExtractTo
ExtractTo extracts PostAuthenticationPlugin into Tyk classic api definition.
apidef/oas/middleware.go:1404
↓ 1 callers
Method
ExtractTo
ExtractTo extracts PostPlugin into Tyk classic api definition.
apidef/oas/middleware.go:1433
↓ 1 callers
Method
ExtractTo
ExtractTo extracts PostPlugin into Tyk classic api definition.
apidef/oas/middleware.go:1462
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *State to *apidef.APIDefinition.
apidef/oas/root.go:149
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *Versioning into *apidef.APIDefinition.
apidef/oas/root.go:206
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *ServiceDiscovery into *apidef.ServiceDiscoveryConfiguration.
apidef/oas/upstream.go:561
↓ 1 callers
Method
ExtractTo
ExtractTo extracts PinnedPublicKeys values into the publicKeys map.
apidef/oas/upstream.go:844
↓ 1 callers
Method
ExtractTo
ExtractTo extracts *CertficiatePinning into *apidef.APIDefinition.
apidef/oas/upstream.go:879
↓ 1 callers
Method
ExtractTo
ExtractTo fills *apidef.InternalMeta from *Internal.
apidef/oas/internal.go:18
↓ 1 callers
Method
ExtractTo
ExtractTo fills *apidef.URLRewriteMeta from *URLRewrite.
apidef/oas/url_rewrite.go:205
↓ 1 callers
Function
Fa
(a,b)
templates/playground/playground.js:1311
↓ 1 callers
Function
Fb
()
templates/playground/playground.js:1290
↓ 1 callers
Method
FetchBundle
FetchBundle will fetch a given bundle, using the right BundleGetter. The first argument is the bundle name, the base bundle URL will be used as prefix
gateway/coprocess_bundle.go:246
↓ 1 callers
Method
FetchItem
FetchItem returns list of ips from cache or resolves them and add to cache
dnscache/storage.go:61
↓ 1 callers
Method
FetchItem
(key string)
dnscache/manager.go:36
↓ 1 callers
Method
Fill
Fill fills *AuthSources from apidef.AuthConfig.
apidef/oas/authentication.go:365
↓ 1 callers
Method
Fill
Fill fills *Signature from apidef.AuthConfig.
apidef/oas/authentication.go:479
↓ 1 callers
Method
Fill
Fill fills *HMAC from apidef.APIDefinition.
apidef/oas/authentication.go:609
↓ 1 callers
Method
Fill
Fill fills *OIDC from apidef.APIDefinition.
apidef/oas/authentication.go:663
↓ 1 callers
Method
Fill
Fill fills *ListenPath from apidef.APIDefinition.
apidef/oas/server.go:213
↓ 1 callers
Method
Fill
Fill fills *ClientCertificates from apidef.APIDefinition.
apidef/oas/server.go:237
↓ 1 callers
Method
Fill
Fill fills *Domain from apidef.APIDefinition.
apidef/oas/server.go:297
↓ 1 callers
Method
Fill
Fill fills *CORS from apidef.CORSConfig.
apidef/oas/middleware.go:657
↓ 1 callers
Method
Fill
Fill fills *Cache from apidef.CacheOptions.
apidef/oas/middleware.go:723
↓ 1 callers
Method
Fill
Fill fills *TransformHeaders from apidef.HeaderInjectionMeta.
apidef/oas/middleware.go:1190
↓ 1 callers
Method
Fill
Fill fills CustomPlugins from supplied Middleware definitions.
apidef/oas/middleware.go:1316
↓ 1 callers
Method
Fill
Fill fills *Info from apidef.APIDefinition.
apidef/oas/root.go:83
↓ 1 callers
Method
Fill
Fill fills *State from apidef.APIDefinition.
apidef/oas/root.go:143
↓ 1 callers
Method
Fill
Fill fills *Versioning from apidef.APIDefinition.
apidef/oas/root.go:185
↓ 1 callers
Method
Fill
Fill fills *Proxy from apidef.ServiceDiscoveryConfiguration.
apidef/oas/upstream.go:400
↓ 1 callers
Method
Fill
Fill fills *ServiceDiscovery from apidef.ServiceDiscoveryConfiguration.
apidef/oas/upstream.go:536
↓ 1 callers
Method
Fill
Fill fills *MutualTLS from apidef.APIDefinition.
apidef/oas/upstream.go:780
↓ 1 callers
Method
Fill
Fill fills *URLRewrite receiver from apidef.URLRewriteMeta.
apidef/oas/url_rewrite.go:123
↓ 1 callers
Function
FillTestAuthConfigs
(t *testing.T, index int)
apidef/oas/root_test.go:355
↓ 1 callers
Function
FillTestVersionData
(t *testing.T, index int)
apidef/oas/root_test.go:376
↓ 1 callers
Method
FindAll
FindAll is the same as regexp.Regexp.FindAll but returns cached result instead.
regexp/regexp.go:346
↓ 1 callers
Method
FindSpecMatchesStatus
FindSpecMatchesStatus checks if a URL spec has a specific status and returns the URLSpec for it.
gateway/model_apispec.go:103
↓ 1 callers
Method
FindString
FindString is the same as regexp.Regexp.FindString but returns cached result instead.
regexp/regexp.go:259
↓ 1 callers
Function
Fixtures
Fixtures will read the fixtures under fixtures/*.yml into a single document. Fixtures are appended together and order is not guaranteed.
apidef/oas/fixtures_test.go:113
↓ 1 callers
Method
Flush
Flush deletes all items from the cache.
internal/cache/cache.go:138
↓ 1 callers
Method
Format
Format is the method that stores the log entry in the buffer.
test/buffered_logger.go:27
↓ 1 callers
Function
Formatter
(errs []error)
internal/errors/errors.go:16
↓ 1 callers
Method
FromDir
FromDir will load APIDefinitions from a directory on the filesystem. Definitions need to be the JSON representation of APIDefinition object
gateway/api_definition.go:681
↓ 1 callers
Function
Ga
(a,b,c,d,e)
templates/playground/playground.js:1311
↓ 1 callers
Function
GenerateClientCertAndKeyPEM
GenerateClientCertAndKeyPEM generates a client certificate and private key signed by the given root certificate and key for testing purposes. It retur
internal/crypto/testutil.go:168
↓ 1 callers
Method
GenerateHMACSecret
GenerateHMACSecret is a utility function for generating new auth keys. Returns the storage key name and the actual key
gateway/auth_manager.go:254
↓ 1 callers
Function
GenerateServerCertAndKeyPEM
GenerateServerCertAndKeyPEM generates a server certificate and private key signed by the given root certificate and key for testing purposes. It retur
internal/crypto/testutil.go:91
↓ 1 callers
Method
GenerateSessionID
GenerateSessionID is a helper for generating session IDs, it takes an input (usually the extractor output) and a middleware pointer.
gateway/coprocess_id_extractor.go:90
↓ 1 callers
Method
Get
(key string)
dnscache/manager.go:37
↓ 1 callers
Method
Get
(key string)
storage/kv/vault.go:27
↓ 1 callers
Method
Get
Get an item from the cache. Returns the item or nil, and a bool indicating whether the key was found.
internal/cache/cache.go:69
↓ 1 callers
Method
Get
Get retrieves and decodes an Allowance value from storage.
internal/rate/allowance_store.go:85
↓ 1 callers
Method
Get
Get returns the items in the current sliding log window. The sliding log is trimmed removing older items.
internal/rate/sliding_log.go:154
↓ 1 callers
Method
Get
Get returns the current allowance.
internal/rate/model/allowance.go:80
↓ 1 callers
Function
GetAnalyticsHandler
(path string, symbol string)
goplugin/analyticsplugin.go:13
↓ 1 callers
Method
GetAndDeleteSet
GetAndDeleteSet retrieves and then deletes a set associated with a key in DummyStorage; not implemented.
storage/dummy.go:139
↓ 1 callers
Method
GetApiDefinitions
(orgId string, tags []string)
gateway/rpc_storage_handler.go:124
↓ 1 callers
Method
GetApiSpecsFromAccessRights
GetApiSpecsFromAccessRights from the session.AccessRights returns the collection of api specs
gateway/api.go:280
↓ 1 callers
Method
GetCertificateManager
()
ee/middleware/upstreamoauth/model.go:29
↓ 1 callers
Method
GetClientNoPrefix
GetClientNoPrefix will retrieve client data, but not assign a prefix - this is an unfortunate hack, but we don't want to change the signature in Osin
gateway/oauth_manager.go:629
↓ 1 callers
Method
GetClients
(filter string, orgID string, ignorePrefix bool)
gateway/oauth_manager.go:555
↓ 1 callers
Function
GetDefaultSecurityProcessingMode
GetDefaultSecurityProcessingMode returns the default security processing mode.
apidef/oas/authentication.go:31
↓ 1 callers
Method
GetEmergencyModeLoaded
()
rpc/rpc_client.go:149
↓ 1 callers
Method
GetExp
Set key expiration
storage/storage.go:27
↓ 1 callers
Method
GetExp
GetExp retrieves the expiration time of a specific key from the DummyStorage. This method accepts a string parameter representing the key and returns
storage/dummy.go:69
↓ 1 callers
Method
GetFeature
GetFeature returns the feature at the given point.
gateway/grpc_streaming_server_test.go:51
↓ 1 callers
Function
GetHandler
(path string, symbol string)
goplugin/no_goplugin.go:19
↓ 1 callers
Function
GetIpAddress
GetIpAddress returns the list of non-loopback IP address (IPv4 and IPv6) found. Returns error if it fails to get the list of addresses, empty if there
internal/netutil/ip_address.go:11
↓ 1 callers
Method
GetJSVMEventHandlerConf
GetJSVMEventHandlerConf generates the JavaScript VM event handler configuration using the current EventHandler instance.
apidef/oas/event.go:185
↓ 1 callers
Method
GetKey
(key string)
storage/mdcb_storage.go:33
↓ 1 callers
Method
GetKey
GetKey retrieves the value for a given key from DummyStorage, or an error if not found.
storage/dummy.go:169
↓ 1 callers
Method
GetKey
GetKey will retrieve a key from the database
gateway/rpc_storage_handler.go:247
↓ 1 callers
Method
GetKey
(key string)
ee/middleware/upstreamoauth/model.go:34
↓ 1 callers
Method
GetKeyPrefix
GetKeyPrefix returns the prefix used for keys in DummyStorage; not yet implemented.
storage/dummy.go:149
↓ 1 callers
Method
GetKeys
GetKeys retrieves all keys matching a specified pattern from DummyStorage; currently supports only '*'.
storage/dummy.go:248
↓ 1 callers
Method
GetKeysAndValues
GetKeysAndValues retrieves all key-value pairs from DummyStorage; currently not implemented.
storage/dummy.go:94
↓ 1 callers
Method
GetKeysAndValuesWithFilter
GetKeysAndValuesWithFilter fetches key-value pairs matching a filter from DummyStorage; not implemented.
storage/dummy.go:99
↓ 1 callers
Method
GetListRange
GetListRange retrieves a range of list elements from DummyStorage for a specified key; returns an error if not found.
storage/dummy.go:226
↓ 1 callers
Method
GetLogEventHandlerConf
GetLogEventHandlerConf creates and returns a LogEventHandlerConf based on the current EventHandler configuration.
apidef/oas/event.go:203
↓ 1 callers
Method
GetMultiKey
GetMultiKey gets multiple keys from the MDCB layer
storage/mdcb_storage.go:59
↓ 1 callers
Method
GetMultiKey
GetMultiKey retrieves multiple values from the DummyStorage based on a slice of keys. It returns a slice of strings containing the values correspondin
storage/dummy.go:26
↓ 1 callers
Method
GetOASFilepath
(path string)
gateway/api_definition.go:675
↓ 1 callers
Method
GetPaginatedClientTokens
(id string, page int)
gateway/oauth_manager.go:548
↓ 1 callers
Function
GetPythonVersion
()
test/env.go:5
↓ 1 callers
Method
GetQuotaLimitByAPIID
GetQuotaLimitByAPIID return quota max, quota remaining, quota renewal rate and quota renews for the given session
user/session.go:502
↓ 1 callers
Method
GetRateLimiterStorage
GetRateLimiterStorage will return the storage configuration to use for rate limiters.
config/development.go:32
↓ 1 callers
Method
GetRawKey
GetRawKey retrieves the value associated with a given key from the DummyStorage. The method accepts a single string as the key and returns the corresp
storage/dummy.go:42
↓ 1 callers
Method
GetRes
(token string)
gateway/mw_external_oauth.go:325
↓ 1 callers
Method
GetResponseBody
GetResponseBody reads the response body with size limit enforcement and returns an error if the body exceeds the configured maximum size.
gateway/res_handler_transform.go:212
↓ 1 callers
Function
GetResponseHandler
(path string, symbol string)
goplugin/no_goplugin.go:23
↓ 1 callers
Method
GetRollingWindow
GetRollingWindow retrieves data for a specified rolling window; currently not implemented.
storage/dummy.go:124
↓ 1 callers
Function
GetSchemaV1
(engine Engine)
internal/graphengine/utils.go:21
↓ 1 callers
Method
GetSet
GetSet retrieves a set of values associated with a key in DummyStorage; not yet implemented.
storage/dummy.go:129
↓ 1 callers
Method
GetSortedSetRange
GetSortedSetRange retrieves a range of values and scores from a sorted set in DummyStorage; not implemented.
storage/dummy.go:159
↓ 1 callers
Method
GetSpec
()
gateway/middleware.go:51
↓ 1 callers
Method
GetStreamManager
()
ee/middleware/streams/middleware.go:310
↓ 1 callers
Function
GetSymbol
(modulePath string, symbol string)
goplugin/no_goplugin.go:15
← previous
next →
3,301–3,400 of 9,242, ranked by callers