MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 1 callersFunctionNewAPISpec
NewAPISpec creates a new APISpec object based on the required inputs. The resulting object is a subset of `*gateway.APISpec`.
ee/middleware/upstreambasicauth/model.go:41
↓ 1 callersFunctionNewAsyncAPIAdapter
(orgId string, input []byte)
apidef/adapter/asyncapi.go:198
↓ 1 callersFunctionNewClient
NewClient creates a http.Client with options
test/http_client.go:21
↓ 1 callersFunctionNewDispatcherClient
(cc grpc.ClientConnInterface)
coprocess/coprocess_object_grpc.pb.go:41
↓ 1 callersFunctionNewEngineV1
(options EngineV1Options)
internal/graphengine/engine_v1.go:52
↓ 1 callersFunctionNewEngineV3
(options EngineV3Options)
internal/graphengine/engine_v3.go:56
↓ 1 callersMethodNewGRPCDispatcher
NewGRPCDispatcher wraps all the actions needed for this CP.
gateway/coprocess_grpc.go:94
↓ 1 callersFunctionNewJQ
NewJQ creates a bew JQ vm. program is the actual JQ filter to compile
gateway/jq.go:23
↓ 1 callersFunctionNewLogger
(e *logrus.Entry)
internal/service/newrelic/logger.go:15
↓ 1 callersFunctionNewLuaDispatcher
NewCoProcessDispatcher wraps all the actions needed for this CP.
gateway/coprocess_lua.go:256
↓ 1 callersFunctionNewMiddleware
NewMiddleware returns a new instance of Middleware.
ee/middleware/upstreambasicauth/middleware.go:30
↓ 1 callersFunctionNewMockBackgroundBatcher
NewMockBackgroundBatcher creates a new mock instance.
internal/certcheck/batcher_mock.go:71
↓ 1 callersFunctionNewMonitor
(duration int)
test/monitor.go:28
↓ 1 callersMethodNewMultiTargetProxy
(spec *APISpec, logger *logrus.Entry)
gateway/multi_target_proxy_handler.go:44
↓ 1 callersFunctionNewOpenAPIAdapter
(orgId string, input []byte)
apidef/adapter/openapi.go:200
↓ 1 callersFunctionNewPythonDispatcher
NewPythonDispatcher wraps all the actions needed for this CP.
gateway/coprocess_python.go:281
↓ 1 callersFunctionNewReloadMachinery
()
gateway/testutil.go:87
↓ 1 callersFunctionNewSessionLimiter
NewSessionLimiter initializes the session limiter. The session limiter initializes the storage required for rate limiters. It supports two storage ty
gateway/session_manager.go:68
↓ 1 callersFunctionNewSink
(relic *newrelic.Application)
internal/service/newrelic/sink.go:17
↓ 1 callersFunctionNewSlaveCertManager
(localStorage, rpcStorage storage.Handler, secret string, logger *logrus.Logger, migrateCertList bool)
certs/manager.go:82
↓ 1 callersFunctionNewStatsDSink
1500(Ethernet MTU) - 60(Max UDP header size
gateway/instrumentation_statsd_sink.go:92
↓ 1 callersFunctionNewStore
NewStore returns a new policy.Store.
internal/policy/store.go:15
↓ 1 callersFunctionNewStoreMap
NewStoreMap returns a new policy.StoreMap.
internal/policy/store_map.go:13
↓ 1 callersFunctionNewStringMap
NewStringMap returns a new *StringMap.
internal/maps/strings.go:13
↓ 1 callersMethodNewSubscriptionClient
(httpClient, streamingClient *http.Client, engineCtx context.Context, options ...graphqldatasource.Options)
apidef/adapter/gqlengineadapter/utils_test.go:174
↓ 1 callersMethodNewSubscriptionClient
(httpClient, streamingClient *http.Client, engineCtx context.Context, options ...graphqldatasource.Options)
apidef/adapter/gqlengineadapter/enginev3/adapter_proxy_only_test.go:224
↓ 1 callersFunctionNewTracer
(zip *zipkin.Tracer)
trace/openzipkin/zipkin.go:188
↓ 1 callersFunctionNewTransport
NewTransport creates a http.Transport with options
test/http_client.go:53
↓ 1 callersFunctionNewVersionHandler
(getApiDef func(string) (*apidef.APIDefinition, error))
gateway/versions_handler.go:17
↓ 1 callersFunctionNewVersionQueryParameters
NewVersionQueryParameters creates a new VersionQueryParameters instance from an HTTP request. It extracts all version-related parameters from the requ
lib/apidef/version.go:106
↓ 1 callersFunctionNewWebSocketStreamAnalyticsRecorder
(gw *Gateway, spec *APISpec, detailed bool)
gateway/analytics_streams.go:99
↓ 1 callersFunctionNj
(a)
templates/playground/playground.js:1290
↓ 1 callersFunctionNotFoundWithId
(identifier string)
pkg/errpack/errpack.go:69
↓ 1 callersMethodNotifyCurrentServerStatus
()
gateway/distributed_rate_limiter.go:46
↓ 1 callersMethodNotifyDashboardOfEvent
(interface{})
gateway/dashboard_register.go:32
↓ 1 callersMethodNumSubexp
NumSubexp returns result of regexp.Regexp.NumSubexp of wrapped regular expression.
regexp/regexp.go:139
↓ 1 callersMethodObjectPostProcess
ObjectPostProcess does CoProcessObject post-processing (adding/removing headers or params, etc.).
gateway/coprocess.go:194
↓ 1 callersFunctionParse
Parse parses the command-line arguments.
cli/cli.go:127
↓ 1 callersMethodParseArgs
()
tests/streams/scripts/load_gen.go:11
↓ 1 callersMethodParseDefinition
(r io.Reader)
gateway/api_definition.go:659
↓ 1 callersFunctionParsePEM
(data []byte, secret string)
certs/manager.go:143
↓ 1 callersFunctionParsePEMCertificate
(data []byte, secret string)
certs/manager.go:182
↓ 1 callersMethodPoliciesEqualTo
PoliciesEqualTo compares and returns true if passed slice if IDs contains only current ApplyPolicies
user/session.go:482
↓ 1 callersMethodPolicyByID
PolicyByID returns a policy by ID.
internal/policy/store_map.go:38
↓ 1 callersMethodPolicyByID
PolicyByID will return a Policy matching the passed Policy ID.
gateway/gateway.go:24
↓ 1 callersFunctionPrefixPublicKeyCommonName
PrefixPublicKeyCommonName returns x509.Certificate with prefixed CommonName. This is used in UI/response to hint the type certificate during listing.
internal/crypto/helpers.go:223
↓ 1 callersMethodPrepareRecord
(r *http.Request)
gateway/analytics_streams.go:66
↓ 1 callersMethodProcessOauthClientsOps
ProcessOauthClientsOps performs the appropriate action for the received clients it can be any of the Create,Update and Delete operations
gateway/rpc_storage_handler.go:1017
↓ 1 callersMethodProcessRequest
(ctx context.Context, w http.ResponseWriter, r *http.Request)
internal/graphengine/engine_v3.go:200
↓ 1 callersMethodProcessRequest
ProcessRequest will run any checks on the request on the way through the system, return an error to have the chain fail
gateway/mw_graphql_complexity.go:35
↓ 1 callersMethodProcessRequest
(w http.ResponseWriter, r *http.Request, conf interface{})
gateway/middleware.go:67
↓ 1 callersMethodProcessRequest
RequestSizeLimit will check a request for maximum request size, this can be a global limit or a matched limit.
gateway/mw_request_size_limit.go:75
↓ 1 callersMethodProcessRequestLive
ProcessRequest will run any checks on the request on the way through the system, return an error to have the chain fail
gateway/mw_organisation_activity.go:123
↓ 1 callersMethodProcessRequestOffThread
(r *http.Request, orgSession *user.SessionState)
gateway/mw_organisation_activity.go:214
↓ 1 callersMethodProcessSingleOauthClientEvent
(apiId, oauthClientId, orgID, event string)
gateway/rpc_storage_handler.go:953
↓ 1 callersFunctionProvidedRequiredArgumentsOnDirectivesRule
(context)
templates/playground/playground.js:845
↓ 1 callersMethodPurgeCache
PurgeCache will pull the data from the in-memory store and drop it into the specified MongoDB collection
rpc/rpc_analytics_purger.go:63
↓ 1 callersMethodPurgeCache
()
gateway/redis_analytics_purger.go:36
↓ 1 callersMethodPurgeLoop
(<-chan time.Time)
gateway/redis_analytics_purger.go:15
↓ 1 callersMethodPurgeLoop
(ctx context.Context)
gateway/redis_analytics_purger.go:23
↓ 1 callersMethodPushDomains
(domainsMap map[string][]string, domainsErrorMap map[string]int)
test/dns.go:115
↓ 1 callersMethodPut
(key string, value string)
storage/kv/vault.go:72
↓ 1 callersFunctionPyBytes_AsString
(arg0 *C.PyObject)
dlpython/binding.go:118
↓ 1 callersFunctionPyBytes_FromStringAndSize
(arg0 *C.char, arg1 C.long)
dlpython/binding.go:114
↓ 1 callersFunctionPyDict_GetItemString
(dp *C.PyObject, key *C.char)
dlpython/binding.go:142
↓ 1 callersFunctionPyImportImport
(modulePtr unsafe.Pointer)
dlpython/test_helpers.go:15
↓ 1 callersFunctionPyLong_AsLong
(arg0 *C.PyObject)
dlpython/binding.go:126
↓ 1 callersFunctionPyModule_GetDict
(arg0 *C.PyObject)
dlpython/binding.go:146
↓ 1 callersFunctionPyObject_CallObject
(callable_object *C.PyObject, args *C.PyObject)
dlpython/binding.go:186
↓ 1 callersFunctionPyObject_GetAttr
(arg0 *C.PyObject, arg1 *C.PyObject)
dlpython/binding.go:110
↓ 1 callersFunctionPyRun_SimpleStringFlags
(arg0 *C.char, arg1 unsafe.Pointer)
dlpython/binding.go:158
↓ 1 callersFunctionPyTuple_GetItem
(arg0 *C.PyObject, arg1 C.long)
dlpython/binding.go:134
↓ 1 callersFunctionPyTuple_New
(size C.long)
dlpython/binding.go:130
↓ 1 callersFunctionPyUnicodeFromString
(s string)
dlpython/test_helpers.go:9
↓ 1 callersFunctionPy_DecRef
(object *C.PyObject)
dlpython/binding.go:194
↓ 1 callersFunctionPy_IncRef
(object *C.PyObject)
dlpython/binding.go:190
↓ 1 callersFunctionPy_Initialize
()
dlpython/binding.go:166
↓ 1 callersFunctionPythonInit
PythonInit initializes the Python interpreter.
gateway/coprocess_python.go:189
↓ 1 callersFunctionPythonLoadDispatcher
PythonLoadDispatcher creates reference to the dispatcher class.
gateway/coprocess_python.go:209
↓ 1 callersFunctionPythonNewDispatcher
PythonNewDispatcher creates an instance of TykDispatcher.
gateway/coprocess_python.go:232
↓ 1 callersFunctionPythonSetEnv
PythonSetEnv sets PYTHONPATH, it's called before initializing the interpreter.
gateway/coprocess_python.go:262
↓ 1 callersFunctionQ
()
templates/playground/playground.js:1311
↓ 1 callersFunctionQa
(a)
templates/playground/playground.js:1290
↓ 1 callersFunctionQd
(a)
templates/playground/playground.js:1311
↓ 1 callersFunctionQi
(a,b,c)
templates/playground/playground.js:1311
↓ 1 callersMethodQueued
Queued returns true if any queue happened
gateway/testutil.go:172
↓ 1 callersMethodRateLimit
RateLimit adds rate limit middleware to current endpoint.
internal/oasbuilder/builder.go:208
↓ 1 callersMethodReadMessages
(messageChan chan<- string)
gateway/mw_streaming_test.go:1146
↓ 1 callersMethodRecordRoute
RecordRoute records a route composited of a sequence of points. It gets a stream of points, and responds with statistics about the "trip": number of
gateway/grpc_streaming_server_test.go:78
↓ 1 callersMethodRedisQuotaExceeded
RedisQuotaExceeded returns true if the request should be blocked as over quota.
gateway/session_manager.go:391
↓ 1 callersFunctionRegisterDispatcherServer
(s grpc.ServiceRegistrar, srv DispatcherServer)
coprocess/coprocess_object_grpc.pb.go:91
↓ 1 callersMethodReload
Reload is called when a hot reload is triggered. Used by all the CPs.
coprocess/dispatcher.go:30
↓ 1 callersMethodReload
Reload will perform a middleware reload when a hot reload is triggered.
gateway/coprocess_lua.go:166
↓ 1 callersMethodReloadTicker
()
gateway/testutil.go:116
↓ 1 callersMethodReloaded
Reloaded returns true if a read has occurred since r was enabled
gateway/testutil.go:141
↓ 1 callersMethodRemaining
Remaining space in the bucket.
internal/model/bucket.go:19
↓ 1 callersMethodRemoveApis
RemoveApis clean all the apis from a living gw
gateway/testutil.go:1363
↓ 1 callersMethodRemoveFromList
RemoveFromList eliminates a specific value from a list within DummyStorage; always returns nil.
storage/dummy.go:204
↓ 1 callersMethodRemoveFromSet
RemoveFromSet deletes a specific value from a set in DummyStorage; currently not implemented.
storage/dummy.go:144
↓ 1 callersMethodRemoveSortedSetRange
RemoveSortedSetRange deletes a range of values from a sorted set in DummyStorage; yet to be implemented.
storage/dummy.go:164
← previousnext →3,501–3,600 of 9,242, ranked by callers