MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 43 callersFunctionassert
(value,message)
templates/playground/playground.js:357
↓ 43 callersMethodgetApiSpec
(apiID string)
gateway/server.go:374
↓ 43 callersMethodgetDefaultInstance
()
coprocess/bindings/java/CoprocessSessionState.java:3029
↓ 43 callersMethodoperation
()
internal/oasbuilder/builder.go:300
↓ 42 callersMethodAdd
(certData []byte, orgID string)
certs/manager.go:48
↓ 42 callersMethodGetKey
(string)
storage/storage.go:21
↓ 42 callersFunctionNewClientLocal
NewClientLocal returns a http.Client that can connect only to localhost. See: `WithLocalDialer`.
test/http_client.go:35
↓ 41 callersMethodContext
()
trace/openzipkin/zipkin.go:31
↓ 41 callersFunctionc
(c,d)
templates/playground/playground.js:1290
↓ 41 callersFunctionexpect
(str)
templates/playground/playground.js:77
↓ 41 callersMethodgenerateToken
(orgID, keyID string, customHashKeyFunction ...string)
gateway/auth_manager.go:229
↓ 41 callersFunctionpushlex
(type,info)
templates/playground/playground.js:153
↓ 40 callersMethodConnect
()
gateway/rpc_storage_handler.go:123
↓ 40 callersMethodExtractTo
ExtractTo extracts *CORS into *apidef.CORSConfig.
apidef/oas/middleware.go:670
↓ 40 callersFunctionclose
(newVal)
templates/playground/playground.js:101
↓ 40 callersFunctionpass
()
templates/playground/playground.js:153
↓ 39 callersMethodSessionDetail
(orgID string, keyName string, hashed bool)
gateway/auth_manager.go:23
↓ 38 callersFunctionFlaky
Flaky skips a flaky test in a CI environment
test/util.go:20
↓ 38 callersMethodInfof
(msg string, args ...interface{})
trace/jaeger/jaeger.go:24
↓ 38 callersMethodWrite
(p []byte)
regexp/keybuilder.go:43
↓ 38 callersMethodmergeFrom
(com.google.protobuf.Message other)
coprocess/bindings/java/CoprocessSessionState.java:2900
↓ 37 callersMethodgetOperation
(operationID string)
apidef/oas/operation.go:699
↓ 36 callersMethodGet
(string)
internal/cache/repository.go:9
↓ 36 callersFunctionNewDummyStorage
NewDummyStorage creates and returns a new instance of DummyStorage.
storage/dummy.go:16
↓ 36 callersFunctionf
(b,c,d)
templates/playground/playground.js:1290
↓ 36 callersMethodobfuscateKey
(keyName string)
gateway/log_helpers.go:14
↓ 35 callersMethodMap
Map transforms Headers into a map.
apidef/oas/header.go:17
↓ 35 callersFunctionResetCache
ResetCache resets cache to initial state
regexp/regexp.go:33
↓ 35 callersFunctiondevAssert
(condition,message)
templates/playground/playground.js:469
↓ 34 callersFunctionrun
(i)
templates/playground/playground.js:125
↓ 33 callersFunctionMustCompile
MustCompile is the same as regexp.MustCompile but returns cached *Regexp instead.
regexp/regexp.go:61
↓ 33 callersFunctionRealIP
RealIP takes a request object, and returns the real Client IP address.
request/real_ip.go:15
↓ 33 callersMethodgetOperationID
(inPath, method string)
apidef/oas/operation.go:620
↓ 33 callersFunctionmakeIPs
Helper function to create IP addresses for testing
rpc/dns_resolver_test.go:13
↓ 32 callersMethodClone
()
gateway/oauth_manager.go:603
↓ 32 callersFunctionStopDNSMonitor
StopDNSMonitor gracefully stops the DNS monitor
rpc/dns_monitor.go:108
↓ 32 callersMethodhashCode
()
coprocess/bindings/java/CoprocessSessionState.java:2718
↓ 31 callersMethodDoReload
()
gateway/server.go:1087
↓ 31 callersMethodString
String returns the string representation of a VersionParameter. It converts the numeric parameter value to its corresponding string identifier.
lib/apidef/version.go:46
↓ 31 callersFunctionlst
(arr)
templates/playground/playground.js:149
↓ 31 callersFunctiontext
(into,content,className,options,ref)
templates/playground/playground.js:37
↓ 30 callersFunctionFill
Fill populates the given input with non-default values. Index is where to start incrementing values.
apidef/oas/root_test.go:216
↓ 30 callersFunctionGetCooldownLRUCache
GetCooldownLRUCache returns the LRU cache for cooldowns. It is initialized if it does not exist yet. Using the singleton pattern here to ensure that t
internal/certcheck/cache.go:52
↓ 30 callersMethodSetKey
(string, string, int64)
storage/storage.go:24
↓ 30 callersMethodString
String implements the fmt.Stringer interface, providing a formatted view of the goroutines in the Record.
internal/debug2/goroutine.go:112
↓ 30 callersFunctiongoPluginFilename
()
goplugin/mw_go_plugin_test.go:23
↓ 30 callersFunctionlineNo
(line)
templates/playground/playground.js:149
↓ 29 callersFunction_extends
()
templates/playground/playground.js:13
↓ 29 callersFunctionb
(b)
templates/playground/playground.js:1290
↓ 29 callersMethodsetCurrentHealthCheckInfo
(h map[string]model.HealthCheckItem)
gateway/health_check.go:34
↓ 28 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/graphengine/engine_mock_test.go:40
↓ 28 callersFunctionGetCertIDAndChainPEM
(certData []byte, secret string)
certs/manager.go:314
↓ 28 callersMethodLifetime
Lifetime returns the lifetime of a session. Global session lifetime has always precedence. Then, the session lifetime value in the key level takes pre
user/session.go:427
↓ 28 callersMethodWarn
(msg string, c map[string]interface{})
internal/service/newrelic/logger.go:22
↓ 28 callersFunction__webpack_require__
(moduleId)
templates/playground/playground.js:1327
↓ 28 callersFunctionctxGetSession
(r *http.Request)
gateway/api.go:3132
↓ 28 callersFunctiongenAuthHeader
(username, password string)
gateway/mw_basic_auth_test.go:17
↓ 28 callersMethodgetTykAuthentication
()
apidef/oas/oas.go:276
↓ 28 callersMethodlogger
()
gateway/middleware.go:705
↓ 28 callersFunctionm
(a,b,c,d,f)
templates/playground/playground.js:1311
↓ 27 callersMethodclear
()
coprocess/bindings/java/CoprocessObject.java:1870
↓ 27 callersFunctioncreateTestCertificate
createTestCertificate creates a test certificate with specified expiration and common name
gateway/mw_certificate_check_test.go:27
↓ 27 callersMethodequals
(final java.lang.Object obj)
coprocess/bindings/java/CoprocessSessionState.java:2702
↓ 27 callersMethodparse
(url string)
internal/oasutil/servers.go:85
↓ 26 callersFunctionL
(a)
templates/playground/playground.js:1311
↓ 26 callersMethodLogger
Logger returns a logger with middleware filled out.
ee/middleware/streams/middleware.go:53
↓ 26 callersFunctionMarshalJSON
MarshalJSON returns a closure returning the marshalled json while asserting no error occurred during marshalling.
test/json.go:12
↓ 26 callersMethodPreHandle
(params ReverseProxyParams)
internal/graphengine/engine.go:108
↓ 26 callersMethodStat
Stat invokes os.Stat in safe scope
internal/osutil/osutil.go:78
↓ 26 callersMethodVersion
()
internal/graphengine/engine.go:29
↓ 26 callersFunctionbuildToken
(builder,text,style,startStyle,endStyle,css,attributes)
templates/playground/playground.js:149
↓ 26 callersFunctionch
()
templates/playground/playground.js:77
↓ 26 callersMethodfillSecurity
(api apidef.APIDefinition)
apidef/oas/security.go:1035
↓ 26 callersFunctionname
(style)
templates/playground/playground.js:385
↓ 26 callersFunctionoldTestAPI
()
apidef/migration_test.go:60
↓ 25 callersMethodAdd
(cert CertInfo)
internal/certcheck/batcher.go:78
↓ 25 callersMethodExtractAndCheck
(*http.Request)
gateway/coprocess_id_extractor.go:22
↓ 25 callersFunctionG
(a,b)
templates/playground/playground.js:1290
↓ 25 callersMethodLoadSampleAPI
(def string)
gateway/testutil.go:1010
↓ 25 callersMethodMatchString
MatchString reports whether the Regexp matches the string s.
regexp/regexp.go:174
↓ 25 callersFunctionNewExternalHTTPClientFactory
NewExternalHTTPClientFactory creates a new HTTP client factory.
gateway/external_http_client.go:17
↓ 25 callersFunction_possibleConstructorReturn
(self,call)
templates/playground/playground.js:177
↓ 24 callersMethodBase
()
gateway/middleware.go:50
↓ 24 callersFunctionGenCertificate
GenCertificate generates a self-signed X.509 certificate based on the provided template. It returns the certificate, private key, combined PEM bytes,
internal/crypto/helpers.go:53
↓ 24 callersMethodGetTykExtension
()
gateway/model_apispec.go:91
↓ 24 callersFunctionStartDNSMonitor
StartDNSMonitor initializes and starts the background DNS monitor
rpc/dns_monitor.go:42
↓ 24 callersMethodWriteFile
WriteFile writes data into file which locates inside of root directory.
internal/osutil/osutil.go:56
↓ 24 callersFunctionctxGetData
(r *http.Request)
internal/graphengine/utils.go:154
↓ 24 callersFunctionctxSetSession
(r *http.Request, s *user.SessionState, scheduleUpdate bool, hashKey bool)
gateway/api.go:3136
↓ 24 callersFunctionprintDescription
(options,def)
templates/playground/playground.js:741
↓ 24 callersMethodreset
(ttl time.Duration, isEnabled bool)
regexp/cache.go:81
↓ 23 callersMethodAppendString
(s string)
regexp/keybuilder.go:48
↓ 23 callersFunctionF
(a,b)
templates/playground/playground.js:1311
↓ 23 callersMethodMigrate
()
apidef/migration.go:239
↓ 23 callersFunctionNewConnectionHandler
NewConnectionHandler creates a new connection handler not connected
storage/connection_handler.go:41
↓ 23 callersFunctionNewHex
NewHex returns a V4 UUID without dashes.
internal/uuid/uuid.go:27
↓ 23 callersMethodReloadGatewayProxy
()
gateway/testutil.go:1312
↓ 23 callersMethodSetContext
SetContext sets the current OTel tracer context.
internal/graphql/otel_graphql_engine_detailed.go:30
↓ 23 callersMethodprepareGenericJWTSession
(testName string, method string, claimName string, ApiSkipKid bool)
gateway/mw_jwt_test.go:89
↓ 22 callersMethodExtractTo
ExtractTo extracts *Proxy into *apidef.ServiceDiscoveryConfiguration.
apidef/oas/upstream.go:405
← previousnext →101–200 of 9,242, ranked by callers