MCPcopy Create free account

hub / github.com/TykTechnologies/tyk / functions

Functions9,242 in github.com/TykTechnologies/tyk

↓ 6 callersMethodGetRedirectUri
()
gateway/oauth_manager.go:70
↓ 6 callersMethodGetScopeToPolicyMapping
()
apidef/api_definitions.go:1629
↓ 6 callersFunctionGetTykExtensionConfigParams
GetTykExtensionConfigParams extracts a *TykExtensionConfigParams from a *http.Request.
apidef/oas/default.go:300
↓ 6 callersMethodGetTykMiddleware
GetTykMiddleware returns middleware section from XTykAPIGateway.
apidef/oas/oas.go:405
↓ 6 callersMethodHasCheckCooldown
HasCheckCooldown checks if a check cooldown exists for the specified identifier.
internal/certcheck/cache.go:74
↓ 6 callersMethodHasEndpointReqHeader
()
apidef/api_definitions.go:511
↓ 6 callersMethodHasEndpointResHeader
()
apidef/api_definitions.go:525
↓ 6 callersMethodHostname
(item *gabs.Container)
gateway/service_discovery.go:157
↓ 6 callersMethodHoursUntilExpiry
HoursUntilExpiry returns the number of hours until the certificate expires. This is calculated from the UntilExpiry field for convenience.
internal/certcheck/model.go:29
↓ 6 callersMethodImport
(nativeSS *openapi3.SecurityScheme, enable bool)
apidef/oas/authentication.go:237
↓ 6 callersMethodImport
Import takes the openapi3.SecurityScheme as argument and applies it to the receiver. The SecuritySchemes receiver is a map, so modification of the rec
apidef/oas/authentication.go:243
↓ 6 callersMethodIncrememntWithExpire
IncrementWithExpire will increment a key in redis
storage/redis_cluster.go:413
↓ 6 callersMethodInitialize
Initialize eagerly parses and caches all security schemes and extensions. This should be called once when an API definition is loaded to prevent race
apidef/oas/oas.go:222
↓ 6 callersFunctionIsStreamingRequest
IsStreamingRequest returns true if the request designates streaming (gRPC or WebSocket).
internal/httputil/streaming.go:40
↓ 6 callersFunctionJd
(a)
templates/playground/playground.js:1311
↓ 6 callersFunctionLh
(a)
templates/playground/playground.js:1290
↓ 6 callersFunctionNewExternalHTTPClientFactory
NewExternalHTTPClientFactory creates a new HTTP client factory.
internal/httpclient/factory.go:48
↓ 6 callersFunctionNewStream
NewStream creates a new stream without initializing it
ee/middleware/streams/stream.go:28
↓ 6 callersMethodNormalize
Normalize converts the OAS api to a normalized state. it does this by fixing backwards compatibility issues and copying fields values necessary to wor
apidef/oas/oas.go:554
↓ 6 callersFunctionPreparePathRegexp
PreparePathRexep will replace mux-style parameters in input with a compatible regular expression. Parameters like `{id}` would be replaced to `([^/]+)
internal/httputil/mux.go:28
↓ 6 callersMethodRemoveFromList
(string, string)
storage/storage.go:51
↓ 6 callersFunctionRg
(a,b)
templates/playground/playground.js:1290
↓ 6 callersFunctionRh
(a,b,c,d)
templates/playground/playground.js:1290
↓ 6 callersMethodSanitizeProxyPaths
(r *http.Request)
gateway/api_definition.go:1795
↓ 6 callersMethodScanKeys
ScanKeys will return all keys according to the pattern.
storage/redis_cluster.go:1080
↓ 6 callersMethodSetAttributes
(kv ...attribute.KeyValue)
internal/graphql/otel_graphql_engine_detailed_test.go:477
↓ 6 callersMethodSetKeyHash
(hash string)
user/session.go:415
↓ 6 callersMethodSetPolicies
SetPolicies updates the internal policy map with a new policy map.
gateway/gateway.go:41
↓ 6 callersMethodSetRawKey
(keyName, session string, timeout int64)
storage/redis_cluster.go:370
↓ 6 callersFunctionSetSession
(r *http.Request, s *user.SessionState, scheduleUpdate bool, hashKey ...bool)
ctx/ctx.go:112
↓ 6 callersMethodSort
Sort reorders the internal trigger rules.
apidef/oas/url_rewrite.go:156
↓ 6 callersFunctionSpanFromContext
(ctx context.Context)
internal/otel/otel.go:140
↓ 6 callersMethodStart
Start loads up the configuration and starts the stream. Non-blocking
ee/middleware/streams/stream.go:40
↓ 6 callersFunctionStartTest
(t *testing.T, conf ...gateway.TestConfig)
tests/lifecycle/lifecycle_test.go:17
↓ 6 callersMethodStripListenPath
(string)
internal/model/interfaces.go:62
↓ 6 callersFunctionTcpMock
(useSSL bool, cb func(in []byte, err error) (out []byte))
test/tcp.go:91
↓ 6 callersFunctionTj
(a,b)
templates/playground/playground.js:1290
↓ 6 callersFunctionUh
(a,b,c,d)
templates/playground/playground.js:1290
↓ 6 callersFunctionUj
(a)
templates/playground/playground.js:1290
↓ 6 callersMethodValid
Valid returns true if the type value matches valid values, false otherwise.
apidef/oas/url_rewrite.go:257
↓ 6 callersMethodValidate
Validate validates OAS document by calling openapi3.T.Validate() function. In addition, it validates Security Requirement section and it's requirement
apidef/oas/oas.go:541
↓ 6 callersMethodValidate
Validate checks if the version parameters are valid. It takes a function that checks if the base API exists and returns an error if validation fails.
lib/apidef/version.go:70
↓ 6 callersFunctionValidateOASObject
ValidateOASObject validates a Tyk Streams document against a particular OAS version.
apidef/streams/validator.go:204
↓ 6 callersFunctionValidateOASObject
ValidateOASObject validates an OAS document against a particular OAS version.
apidef/oas/validator.go:130
↓ 6 callersMethodVerify
Verify performs signature verification on the bundle file.
gateway/coprocess_bundle.go:48
↓ 6 callersFunctionYc
(a)
templates/playground/playground.js:1290
↓ 6 callersFunction_getPrototypeOf
(o)
templates/playground/playground.js:421
↓ 6 callersFunction_setPrototypeOf
(o,p)
templates/playground/playground.js:421
↓ 6 callersFunction_typeof
(obj)
templates/playground/playground.js:421
↓ 6 callersFunctionaddMatchToContextData
(cd map[string]interface{}, match []string, trNum int, trName string, indices ...int)
gateway/mw_url_rewrite.go:739
↓ 6 callersMethodappendRules
(rules *[]*URLRewriteRule, from map[string]apidef.StringRegexMap, in URLRewriteInput)
apidef/oas/url_rewrite.go:188
↓ 6 callersFunctionbadPos
(pos,bad)
templates/playground/playground.js:149
↓ 6 callersFunctionbk
(a)
templates/playground/playground.js:1290
↓ 6 callersMethodbuildDashboardConnStr
(resource string)
gateway/server.go:542
↓ 6 callersFunctionbuildInputValueDefMap
(inputValueIntrospections)
templates/playground/playground.js:693
↓ 6 callersFunctionbundleError
bundleError is a log helper.
gateway/coprocess_bundle.go:489
↓ 6 callersFunctioncgoCString
(in string)
gateway/coprocess_api.go:111
↓ 6 callersFunctioncharWidth
(display)
templates/playground/playground.js:149
↓ 6 callersFunctioncopyHeader
(dst, src http.Header, ignoreCanonical bool)
gateway/reverse_proxy.go:448
↓ 6 callersFunctioncopyHistoryArray
(events,newGroup,instantiateSel)
templates/playground/playground.js:149
↓ 6 callersFunctioncopyState
(mode,state)
templates/playground/playground.js:149
↓ 6 callersFunctioncreateHMACAuthSession
()
gateway/mw_http_signature_validation_test.go:53
↓ 6 callersMethodcreateMiddleware
Generic middleware caller to make extension easier
gateway/middleware.go:120
↓ 6 callersMethodcreateOAuthClientIDAndTokens
(t *testing.T, spec *APISpec, clientID string)
gateway/oauth_manager_test.go:159
↓ 6 callersFunctioncreateReq
(tb testing.TB)
internal/service/core/context_test.go:14
↓ 6 callersFunctiondefinition_createClass
(Constructor,protoProps,staticProps)
templates/playground/playground.js:1327
↓ 6 callersFunctiondeleteNearSelection
(cm,compute)
templates/playground/playground.js:149
↓ 6 callersFunctionea
(a,b)
templates/playground/playground.js:1290
↓ 6 callersFunctioneltP
(tag,content,className,style)
templates/playground/playground.js:149
↓ 6 callersFunctionensureCursorVisible
(cm)
templates/playground/playground.js:149
↓ 6 callersFunctioneventMixin
(ctor)
templates/playground/playground.js:149
↓ 6 callersFunctionfb
(a,b,c,d)
templates/playground/playground.js:1290
↓ 6 callersFunctionfile_coprocess_session_state_proto_rawDescGZIP
()
coprocess/coprocess_session_state.pb.go:805
↓ 6 callersFunctionfilterNonEmpty
(array,predicate)
templates/playground/playground.js:69
↓ 6 callersFunctiongetAllNodes
(object)
templates/playground/playground.js:673
↓ 6 callersMethodgetAllowedUrlsFieldBuilder
()
coprocess/bindings/java/CoprocessSessionState.java:1852
↓ 6 callersFunctiongetDescription
(node,options)
templates/playground/playground.js:705
↓ 6 callersMethodgetDescriptor
()
coprocess/bindings/java/CoprocessSessionState.java:7280
↓ 6 callersMethodgetDescriptorForType
()
coprocess/bindings/java/CoprocessSessionState.java:2850
↓ 6 callersFunctiongetObjectType
(typeRef)
templates/playground/playground.js:693
↓ 6 callersMethodgetSecretFromJWKOrConfig
getSecretFromJWKOrConfig gets the secret to verify jwt signature from API definition or from JWK set if config is set to a URL
gateway/mw_external_oauth.go:210
↓ 6 callersFunctiongetTokenDesc
(token)
templates/playground/playground.js:581
↓ 6 callersFunctiongf
(a)
templates/playground/playground.js:1290
↓ 6 callersFunctionic
(a,b)
templates/playground/playground.js:1311
↓ 6 callersMethodinitialiseClient
()
gateway/dashboard_register.go:67
↓ 6 callersMethodisInitialized
()
coprocess/bindings/java/CoprocessSessionState.java:2673
↓ 6 callersMethodisRunningTests
()
gateway/server.go:361
↓ 6 callersFunctionk
(a,b,c,d)
templates/playground/playground.js:1290
↓ 6 callersFunctionli
(a,b,c,d,e)
templates/playground/playground.js:1290
↓ 6 callersMethodlog
(message, level)
coprocess/python/tyk/gateway.py:10
↓ 6 callersMethodmaybeForceBuilderInitialization
()
coprocess/bindings/java/CoprocessObject.java:1865
↓ 6 callersFunctionmv
(pos,dir)
templates/playground/playground.js:149
↓ 6 callersMethodmwList
(mws ...TykMiddleware)
gateway/middleware.go:233
↓ 6 callersFunctionnewTestReverseProxyPreHandlerV1
(_ *testing.T, executionMode apidef.GraphQLExecutionMode)
internal/graphengine/graphql_go_tools_v1_test.go:1000
↓ 6 callersFunctionnewUpstreamSSL
(t *testing.T, gw *Gateway, serverCert tls.Certificate, handler http.HandlerFunc)
gateway/cert_old_test.go:53
↓ 6 callersFunctionnopCloseResponseBody
(r *http.Response)
gateway/reverse_proxy.go:1860
↓ 6 callersFunctionof
(a)
templates/playground/playground.js:1311
↓ 6 callersMethodparsePartialFrom
( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ex
coprocess/bindings/java/CoprocessSessionState.java:3035
↓ 6 callersMethodparseTrace
()
gateway/tracing.go:78
↓ 6 callersFunctionprepareBodyExtractorRequest
(input string)
gateway/coprocess_id_extractor_test.go:90
← previousnext →801–900 of 9,242, ranked by callers