MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 1 callersMethodExtractTo
ExtractTo extracts *TransformHeaders into *apidef.HeaderInjectionMeta.
apidef/oas/middleware.go:1201
↓ 1 callersMethodExtractTo
ExtractTo extracts CustomPlugins into supplied Middleware definitions.
apidef/oas/middleware.go:1336
↓ 1 callersMethodExtractTo
ExtractTo extracts PrePlugin into Tyk classic api definition.
apidef/oas/middleware.go:1375
↓ 1 callersMethodExtractTo
ExtractTo extracts PostAuthenticationPlugin into Tyk classic api definition.
apidef/oas/middleware.go:1404
↓ 1 callersMethodExtractTo
ExtractTo extracts PostPlugin into Tyk classic api definition.
apidef/oas/middleware.go:1433
↓ 1 callersMethodExtractTo
ExtractTo extracts PostPlugin into Tyk classic api definition.
apidef/oas/middleware.go:1462
↓ 1 callersMethodExtractTo
ExtractTo extracts *State to *apidef.APIDefinition.
apidef/oas/root.go:149
↓ 1 callersMethodExtractTo
ExtractTo extracts *Versioning into *apidef.APIDefinition.
apidef/oas/root.go:206
↓ 1 callersMethodExtractTo
ExtractTo extracts *ServiceDiscovery into *apidef.ServiceDiscoveryConfiguration.
apidef/oas/upstream.go:561
↓ 1 callersMethodExtractTo
ExtractTo extracts PinnedPublicKeys values into the publicKeys map.
apidef/oas/upstream.go:844
↓ 1 callersMethodExtractTo
ExtractTo extracts *CertficiatePinning into *apidef.APIDefinition.
apidef/oas/upstream.go:879
↓ 1 callersMethodExtractTo
ExtractTo fills *apidef.InternalMeta from *Internal.
apidef/oas/internal.go:18
↓ 1 callersMethodExtractTo
ExtractTo fills *apidef.URLRewriteMeta from *URLRewrite.
apidef/oas/url_rewrite.go:205
↓ 1 callersFunctionFa
(a,b)
templates/playground/playground.js:1311
↓ 1 callersFunctionFb
()
templates/playground/playground.js:1290
↓ 1 callersMethodFetchBundle
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 callersMethodFetchItem
FetchItem returns list of ips from cache or resolves them and add to cache
dnscache/storage.go:61
↓ 1 callersMethodFetchItem
(key string)
dnscache/manager.go:36
↓ 1 callersMethodFill
Fill fills *AuthSources from apidef.AuthConfig.
apidef/oas/authentication.go:365
↓ 1 callersMethodFill
Fill fills *Signature from apidef.AuthConfig.
apidef/oas/authentication.go:479
↓ 1 callersMethodFill
Fill fills *HMAC from apidef.APIDefinition.
apidef/oas/authentication.go:609
↓ 1 callersMethodFill
Fill fills *OIDC from apidef.APIDefinition.
apidef/oas/authentication.go:663
↓ 1 callersMethodFill
Fill fills *ListenPath from apidef.APIDefinition.
apidef/oas/server.go:213
↓ 1 callersMethodFill
Fill fills *ClientCertificates from apidef.APIDefinition.
apidef/oas/server.go:237
↓ 1 callersMethodFill
Fill fills *Domain from apidef.APIDefinition.
apidef/oas/server.go:297
↓ 1 callersMethodFill
Fill fills *CORS from apidef.CORSConfig.
apidef/oas/middleware.go:657
↓ 1 callersMethodFill
Fill fills *Cache from apidef.CacheOptions.
apidef/oas/middleware.go:723
↓ 1 callersMethodFill
Fill fills *TransformHeaders from apidef.HeaderInjectionMeta.
apidef/oas/middleware.go:1190
↓ 1 callersMethodFill
Fill fills CustomPlugins from supplied Middleware definitions.
apidef/oas/middleware.go:1316
↓ 1 callersMethodFill
Fill fills *Info from apidef.APIDefinition.
apidef/oas/root.go:83
↓ 1 callersMethodFill
Fill fills *State from apidef.APIDefinition.
apidef/oas/root.go:143
↓ 1 callersMethodFill
Fill fills *Versioning from apidef.APIDefinition.
apidef/oas/root.go:185
↓ 1 callersMethodFill
Fill fills *Proxy from apidef.ServiceDiscoveryConfiguration.
apidef/oas/upstream.go:400
↓ 1 callersMethodFill
Fill fills *ServiceDiscovery from apidef.ServiceDiscoveryConfiguration.
apidef/oas/upstream.go:536
↓ 1 callersMethodFill
Fill fills *MutualTLS from apidef.APIDefinition.
apidef/oas/upstream.go:780
↓ 1 callersMethodFill
Fill fills *URLRewrite receiver from apidef.URLRewriteMeta.
apidef/oas/url_rewrite.go:123
↓ 1 callersFunctionFillTestAuthConfigs
(t *testing.T, index int)
apidef/oas/root_test.go:355
↓ 1 callersFunctionFillTestVersionData
(t *testing.T, index int)
apidef/oas/root_test.go:376
↓ 1 callersMethodFindAll
FindAll is the same as regexp.Regexp.FindAll but returns cached result instead.
regexp/regexp.go:346
↓ 1 callersMethodFindSpecMatchesStatus
FindSpecMatchesStatus checks if a URL spec has a specific status and returns the URLSpec for it.
gateway/model_apispec.go:103
↓ 1 callersMethodFindString
FindString is the same as regexp.Regexp.FindString but returns cached result instead.
regexp/regexp.go:259
↓ 1 callersFunctionFixtures
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 callersMethodFlush
Flush deletes all items from the cache.
internal/cache/cache.go:138
↓ 1 callersMethodFormat
Format is the method that stores the log entry in the buffer.
test/buffered_logger.go:27
↓ 1 callersFunctionFormatter
(errs []error)
internal/errors/errors.go:16
↓ 1 callersMethodFromDir
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 callersFunctionGa
(a,b,c,d,e)
templates/playground/playground.js:1311
↓ 1 callersFunctionGenerateClientCertAndKeyPEM
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 callersMethodGenerateHMACSecret
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 callersFunctionGenerateServerCertAndKeyPEM
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 callersMethodGenerateSessionID
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 callersMethodGet
(key string)
dnscache/manager.go:37
↓ 1 callersMethodGet
(key string)
storage/kv/vault.go:27
↓ 1 callersMethodGet
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 callersMethodGet
Get retrieves and decodes an Allowance value from storage.
internal/rate/allowance_store.go:85
↓ 1 callersMethodGet
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 callersMethodGet
Get returns the current allowance.
internal/rate/model/allowance.go:80
↓ 1 callersFunctionGetAnalyticsHandler
(path string, symbol string)
goplugin/analyticsplugin.go:13
↓ 1 callersMethodGetAndDeleteSet
GetAndDeleteSet retrieves and then deletes a set associated with a key in DummyStorage; not implemented.
storage/dummy.go:139
↓ 1 callersMethodGetApiDefinitions
(orgId string, tags []string)
gateway/rpc_storage_handler.go:124
↓ 1 callersMethodGetApiSpecsFromAccessRights
GetApiSpecsFromAccessRights from the session.AccessRights returns the collection of api specs
gateway/api.go:280
↓ 1 callersMethodGetCertificateManager
()
ee/middleware/upstreamoauth/model.go:29
↓ 1 callersMethodGetClientNoPrefix
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 callersMethodGetClients
(filter string, orgID string, ignorePrefix bool)
gateway/oauth_manager.go:555
↓ 1 callersFunctionGetDefaultSecurityProcessingMode
GetDefaultSecurityProcessingMode returns the default security processing mode.
apidef/oas/authentication.go:31
↓ 1 callersMethodGetEmergencyModeLoaded
()
rpc/rpc_client.go:149
↓ 1 callersMethodGetExp
Set key expiration
storage/storage.go:27
↓ 1 callersMethodGetExp
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 callersMethodGetFeature
GetFeature returns the feature at the given point.
gateway/grpc_streaming_server_test.go:51
↓ 1 callersFunctionGetHandler
(path string, symbol string)
goplugin/no_goplugin.go:19
↓ 1 callersFunctionGetIpAddress
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 callersMethodGetJSVMEventHandlerConf
GetJSVMEventHandlerConf generates the JavaScript VM event handler configuration using the current EventHandler instance.
apidef/oas/event.go:185
↓ 1 callersMethodGetKey
(key string)
storage/mdcb_storage.go:33
↓ 1 callersMethodGetKey
GetKey retrieves the value for a given key from DummyStorage, or an error if not found.
storage/dummy.go:169
↓ 1 callersMethodGetKey
GetKey will retrieve a key from the database
gateway/rpc_storage_handler.go:247
↓ 1 callersMethodGetKey
(key string)
ee/middleware/upstreamoauth/model.go:34
↓ 1 callersMethodGetKeyPrefix
GetKeyPrefix returns the prefix used for keys in DummyStorage; not yet implemented.
storage/dummy.go:149
↓ 1 callersMethodGetKeys
GetKeys retrieves all keys matching a specified pattern from DummyStorage; currently supports only '*'.
storage/dummy.go:248
↓ 1 callersMethodGetKeysAndValues
GetKeysAndValues retrieves all key-value pairs from DummyStorage; currently not implemented.
storage/dummy.go:94
↓ 1 callersMethodGetKeysAndValuesWithFilter
GetKeysAndValuesWithFilter fetches key-value pairs matching a filter from DummyStorage; not implemented.
storage/dummy.go:99
↓ 1 callersMethodGetListRange
GetListRange retrieves a range of list elements from DummyStorage for a specified key; returns an error if not found.
storage/dummy.go:226
↓ 1 callersMethodGetLogEventHandlerConf
GetLogEventHandlerConf creates and returns a LogEventHandlerConf based on the current EventHandler configuration.
apidef/oas/event.go:203
↓ 1 callersMethodGetMultiKey
GetMultiKey gets multiple keys from the MDCB layer
storage/mdcb_storage.go:59
↓ 1 callersMethodGetMultiKey
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 callersMethodGetOASFilepath
(path string)
gateway/api_definition.go:675
↓ 1 callersMethodGetPaginatedClientTokens
(id string, page int)
gateway/oauth_manager.go:548
↓ 1 callersFunctionGetPythonVersion
()
test/env.go:5
↓ 1 callersMethodGetQuotaLimitByAPIID
GetQuotaLimitByAPIID return quota max, quota remaining, quota renewal rate and quota renews for the given session
user/session.go:502
↓ 1 callersMethodGetRateLimiterStorage
GetRateLimiterStorage will return the storage configuration to use for rate limiters.
config/development.go:32
↓ 1 callersMethodGetRawKey
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 callersMethodGetRes
(token string)
gateway/mw_external_oauth.go:325
↓ 1 callersMethodGetResponseBody
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 callersFunctionGetResponseHandler
(path string, symbol string)
goplugin/no_goplugin.go:23
↓ 1 callersMethodGetRollingWindow
GetRollingWindow retrieves data for a specified rolling window; currently not implemented.
storage/dummy.go:124
↓ 1 callersFunctionGetSchemaV1
(engine Engine)
internal/graphengine/utils.go:21
↓ 1 callersMethodGetSet
GetSet retrieves a set of values associated with a key in DummyStorage; not yet implemented.
storage/dummy.go:129
↓ 1 callersMethodGetSortedSetRange
GetSortedSetRange retrieves a range of values and scores from a sorted set in DummyStorage; not implemented.
storage/dummy.go:159
↓ 1 callersMethodGetSpec
()
gateway/middleware.go:51
↓ 1 callersMethodGetStreamManager
()
ee/middleware/streams/middleware.go:310
↓ 1 callersFunctionGetSymbol
(modulePath string, symbol string)
goplugin/no_goplugin.go:15
← previousnext →3,301–3,400 of 9,242, ranked by callers