MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 4 callersFunctionGet
Get returns a tracer stored on the global trace manager.
trace/manager.go:81
↓ 4 callersMethodGet
Get will retrieve the allowance from storage.
internal/rate/model/interfaces.go:20
↓ 4 callersMethodGetCacheTimeoutSeconds
GetCacheTimeoutSeconds returns the cache timeout in seconds, using the default expiration if CacheTimeout is zero or negative.
apidef/api_definitions.go:797
↓ 4 callersFunctionGetImporterForSource
(source APIImporterSource)
apidef/importer/importer.go:22
↓ 4 callersMethodGetListRange
GetListRange gets range of elements of list identified by keyName
storage/redis_cluster.go:757
↓ 4 callersMethodGetPolicies
(orgId string)
gateway/rpc_storage_handler.go:125
↓ 4 callersMethodGetRaw
(certID string)
certs/manager.go:47
↓ 4 callersMethodGetSet
(string)
storage/storage.go:41
↓ 4 callersMethodGetSet
(keyName string)
storage/redis_cluster.go:800
↓ 4 callersMethodGetSortedSetRange
GetSortedSetRange gets range of elements of sorted set identified by keyName
storage/redis_cluster.go:1014
↓ 4 callersFunctionGetUpstreamAuth
GetUpstreamAuth returns the header name to be used for upstream authentication.
internal/service/core/context.go:31
↓ 4 callersFunctionGetValidationOptionsFromConfig
GetValidationOptionsFromConfig retrieves validation options based on the configuration settings.
apidef/oas/oas.go:796
↓ 4 callersMethodHandleEvent
HandleEvent will be fired when the event handler instance is found in an APISpec EventPaths object during a request chain
gateway/event_handler_webhooks.go:267
↓ 4 callersMethodHandleEvent
(EventMessage)
config/config.go:1432
↓ 4 callersMethodHandleResponse
(http.ResponseWriter, *http.Response, *http.Request, *user.SessionState)
gateway/middleware.go:713
↓ 4 callersMethodHasFireEventCooldown
HasFireEventCooldown checks if a fire event cooldown exists for the specified identifier.
internal/certcheck/cache.go:122
↓ 4 callersFunctionHc
(a)
templates/playground/playground.js:1290
↓ 4 callersFunctionHf
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callersMethodHostAddrs
HostAddrs returns a sanitized list of hosts to connect to.
config/util.go:89
↓ 4 callersMethodInit
(handlerConf interface{})
gateway/coprocess_events.go:26
↓ 4 callersMethodInit
Init initializes the AuthORWrapper middleware
gateway/mw_auth_or_wrapper.go:251
↓ 4 callersFunctionInitTestMain
(ctx context.Context, m *testing.M)
gateway/testutil.go:241
↓ 4 callersMethodIsBasicAuth
IsBasicAuth returns whether the key is basic auth or not.
user/session.go:514
↓ 4 callersMethodIsCertificateStoreConfig
IsCertificateStoreConfig returns true if the configuration uses certificate store.
config/external_service.go:134
↓ 4 callersMethodIsFileBasedConfig
IsFileBasedConfig returns true if the configuration uses file-based certificates.
config/external_service.go:129
↓ 4 callersFunctionIsGrpcStreaming
IsGrpcStreaming returns true if the request designates gRPC streaming.
internal/httputil/streaming.go:15
↓ 4 callersFunctionIsHashType
(t string)
user/session.go:26
↓ 4 callersMethodIsMemberOfSet
(keyName, value string)
storage/redis_cluster.go:853
↓ 4 callersMethodIsModified
IsModified will return true if session has been modified to trigger an update.
user/session.go:333
↓ 4 callersFunctionJe
(a,b)
templates/playground/playground.js:1290
↓ 4 callersFunctionJj
(a)
templates/playground/playground.js:1311
↓ 4 callersFunctionKf
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callersFunctionLg
(a,b,c,d,e,f,g)
templates/playground/playground.js:1290
↓ 4 callersMethodLoadFrom
(io.Reader)
apidef/importer/importer.go:14
↓ 4 callersFunctionLocalDialer
LocalDialer provides a function to use to dial to localhost
test/http_client.go:77
↓ 4 callersFunctionLog
Log tries to check if there is a span in ctx and adds logs fields on the span.
trace/log.go:37
↓ 4 callersFunctionM
(a,b,c)
templates/playground/playground.js:1319
↓ 4 callersFunctionMatch
Match is the same as regexp.Match but returns cached result instead.
regexp/regexp.go:88
↓ 4 callersFunctionMg
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callersMethodMigrateCachePlugin
()
apidef/migration.go:347
↓ 4 callersMethodMock
(fn func(mock *oas.MockResponse))
internal/oasbuilder/builder.go:283
↓ 4 callersFunctionMustCompilePOSIX
MustCompilePOSIX is the same as regexp.MustCompilePOSIX but returns cached *Regexp instead.
regexp/regexp.go:70
↓ 4 callersFunctionNew
(msg string, opts ...Option)
pkg/errpack/errpack.go:29
↓ 4 callersFunctionNew
(opts []Option[O])
common/option/option.go:11
↓ 4 callersFunctionNewAllowance
NewAllowance creates a new allowance with the update delay (in seconds).
internal/rate/model/allowance.go:23
↓ 4 callersFunctionNewAllowanceFromMap
NewAllowanceFromMap will scan the `in` parameter and convert it to *Allowance.
internal/rate/model/allowance.go:30
↓ 4 callersFunctionNewGraphQLEngineTransport
( transportType GraphQLEngineTransportType, originalTransport http.RoundTripper, newReusableBodyReadCloser
internal/graphengine/transport.go:19
↓ 4 callersFunctionNewJanitor
NewJanitor returns a new Janitor that performs cleanup at the specified interval.
internal/cache/janitor.go:16
↓ 4 callersFunctionNewJob
NewJob creates and returns a new Job with the specified name, task function, and interval.
internal/scheduler/scheduler.go:27
↓ 4 callersFunctionNewMdcbStorage
(local, rpc Handler, log *logrus.Entry, OnRPCCertPull func(key string, val string) error)
storage/mdcb_storage.go:24
↓ 4 callersFunctionNewMockCertificateManager
NewMockCertificateManager creates a new mock instance.
certs/mock/mock.go:34
↓ 4 callersFunctionNewMockRPCDataLoader
NewMockRPCDataLoader creates a new mock instance.
internal/policy/store_mock.gen.go:31
↓ 4 callersFunctionNewScheduler
NewScheduler creates and returns a new Scheduler with the specified logger.
internal/scheduler/scheduler.go:45
↓ 4 callersFunctionNewStorage
NewStorage provides a redis v9 client for rate limiter use.
internal/rate/storage.go:15
↓ 4 callersFunctionNewStreamAnalyticsResponseWriter
(logger *logrus.Entry, w http.ResponseWriter, r *http.Request, streamID string, recorder streams.StreamAnalyti
gateway/analytics_streams.go:125
↓ 4 callersFunctionNewTestEngine
(t *testing.T)
internal/graphengine/engine_v3_test.go:18
↓ 4 callersFunctionNi
(a,b)
templates/playground/playground.js:1290
↓ 4 callersMethodOrgSession
(orgID string)
gateway/middleware.go:346
↓ 4 callersFunctionPa
(a,b)
templates/playground/playground.js:1290
↓ 4 callersFunctionParseRSAPublicKey
(data []byte)
gateway/mw_jwt.go:1156
↓ 4 callersFunctionParseServerUrl
ParseServerUrl Url template e.g. "{subdomain:[a-z]+}.example.com" or "api.example.com"
internal/oasutil/servers.go:70
↓ 4 callersFunctionPc
(a,b)
templates/playground/playground.js:1290
↓ 4 callersFunctionPi
(a,b,c)
templates/playground/playground.js:1290
↓ 4 callersFunctionPj
()
templates/playground/playground.js:1290
↓ 4 callersFunctionPrintOperationType
(operationType ast.OperationType)
internal/graphql/otel_graphql_engine_detailed.go:183
↓ 4 callersMethodPublish
(channel, message string)
storage/redis_cluster.go:652
↓ 4 callersMethodPublish
(channel, message string)
gateway/rpc_storage_handler.go:631
↓ 4 callersFunctionPyUnicode_FromString
(u *C.char)
dlpython/binding.go:122
↓ 4 callersFunctionQc
(a)
templates/playground/playground.js:1311
↓ 4 callersFunctionQh
(a)
templates/playground/playground.js:1290
↓ 4 callersMethodRegister
(ctx context.Context)
gateway/dashboard_register.go:27
↓ 4 callersMethodRemoveAccess
RemoveAccess will remove access data from Redis
gateway/oauth_manager.go:1067
↓ 4 callersMethodRemoveFromList
RemoveFromList delete an value from a list idetinfied with the keyName
storage/redis_cluster.go:733
↓ 4 callersMethodRemoveFromSet
(string, string)
storage/storage.go:44
↓ 4 callersMethodRemoveRefresh
RemoveRefresh will remove a refresh token from redis
gateway/oauth_manager.go:1110
↓ 4 callersMethodRemoveServer
RemoveServer removes the server from the server list if it's already present. It accepts regex-based server URLs, such as https://{subdomain:[a-z]+}.e
apidef/oas/oas.go:423
↓ 4 callersMethodRemoveSortedSetRange
(string, string, string)
storage/storage.go:49
↓ 4 callersMethodRemoveSortedSetRange
RemoveSortedSetRange removes range of elements from sorted set identified by keyName
storage/redis_cluster.go:1050
↓ 4 callersMethodReplaceAllLiteralString
ReplaceAllLiteralString is the same as regexp.Regexp.ReplaceAllLiteralString but returns cached result instead.
regexp/regexp.go:198
↓ 4 callersFunctionResetEmergencyMode
()
rpc/rpc_client.go:193
↓ 4 callersMethodRunExt
TODO:(gernest) when hot reload is supported enable this.
gateway/testutil.go:1395
↓ 4 callersFunctionSb
(a,b)
templates/playground/playground.js:1311
↓ 4 callersMethodSessions
(filter string)
gateway/auth_manager.go:25
↓ 4 callersMethodSet
Set will write the allowance to storage.
internal/rate/model/interfaces.go:23
↓ 4 callersMethodSetAnalyticsFactory
(factory StreamAnalyticsFactory)
ee/middleware/streams/middleware.go:302
↓ 4 callersMethodSetCheckCooldown
SetCheckCooldown sets a check cooldown for the specified identifier.
internal/certcheck/cache.go:99
↓ 4 callersMethodSetCount
SetCount returns the number of items in the current sliding log window, before adding a new item. The sliding log is trimmed removing older items, and
internal/rate/sliding_log.go:75
↓ 4 callersMethodSetExpiry
(expiresInSeconds int64)
gateway/host_checker_manager.go:53
↓ 4 callersMethodSetKey
SetKey assigns a value to a key in DummyStorage with an expiration time; returns nil for success.
storage/dummy.go:178
↓ 4 callersMethodSetNodeID
SetNodeID writes NodeID safely.
gateway/server.go:348
↓ 4 callersMethodSetShutdownContext
SetShutdownContext sets the shutdown context from the caller
tcp/tcp.go:139
↓ 4 callersMethodSpanContext
()
internal/graphql/otel_graphql_engine_detailed_test.go:465
↓ 4 callersMethodStop
()
gateway/host_checker.go:428
↓ 4 callersMethodString
String returns the String output from the allowance store.
internal/rate/smoothing.go:25
↓ 4 callersMethodString
()
gateway/tracing.go:69
↓ 4 callersFunctionT
(a)
templates/playground/playground.js:1298
↓ 4 callersFunctionTh
()
templates/playground/playground.js:1290
↓ 4 callersMethodToAPIDefinition
(string, string, bool)
apidef/importer/importer.go:17
↓ 4 callersMethodTykOsinNewServer
TykOsinNewServer creates a new server instance, but uses an extended interface so we can SetClient() too.
gateway/oauth_manager.go:576
↓ 4 callersMethodType
()
internal/graphql/otel_graphql_engine_detailed_test.go:416
← previousnext →1,201–1,300 of 9,242, ranked by callers