Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TykTechnologies/tyk
/ functions
Functions
9,242 in github.com/TykTechnologies/tyk
⨍
Functions
9,242
◇
Types & classes
1,202
↓ 6 callers
Method
GetRedirectUri
()
gateway/oauth_manager.go:70
↓ 6 callers
Method
GetScopeToPolicyMapping
()
apidef/api_definitions.go:1629
↓ 6 callers
Function
GetTykExtensionConfigParams
GetTykExtensionConfigParams extracts a *TykExtensionConfigParams from a *http.Request.
apidef/oas/default.go:300
↓ 6 callers
Method
GetTykMiddleware
GetTykMiddleware returns middleware section from XTykAPIGateway.
apidef/oas/oas.go:405
↓ 6 callers
Method
HasCheckCooldown
HasCheckCooldown checks if a check cooldown exists for the specified identifier.
internal/certcheck/cache.go:74
↓ 6 callers
Method
HasEndpointReqHeader
()
apidef/api_definitions.go:511
↓ 6 callers
Method
HasEndpointResHeader
()
apidef/api_definitions.go:525
↓ 6 callers
Method
Hostname
(item *gabs.Container)
gateway/service_discovery.go:157
↓ 6 callers
Method
HoursUntilExpiry
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 callers
Method
Import
(nativeSS *openapi3.SecurityScheme, enable bool)
apidef/oas/authentication.go:237
↓ 6 callers
Method
Import
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 callers
Method
IncrememntWithExpire
IncrementWithExpire will increment a key in redis
storage/redis_cluster.go:413
↓ 6 callers
Method
Initialize
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 callers
Function
IsStreamingRequest
IsStreamingRequest returns true if the request designates streaming (gRPC or WebSocket).
internal/httputil/streaming.go:40
↓ 6 callers
Function
Jd
(a)
templates/playground/playground.js:1311
↓ 6 callers
Function
Lh
(a)
templates/playground/playground.js:1290
↓ 6 callers
Function
NewExternalHTTPClientFactory
NewExternalHTTPClientFactory creates a new HTTP client factory.
internal/httpclient/factory.go:48
↓ 6 callers
Function
NewStream
NewStream creates a new stream without initializing it
ee/middleware/streams/stream.go:28
↓ 6 callers
Method
Normalize
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 callers
Function
PreparePathRegexp
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 callers
Method
RemoveFromList
(string, string)
storage/storage.go:51
↓ 6 callers
Function
Rg
(a,b)
templates/playground/playground.js:1290
↓ 6 callers
Function
Rh
(a,b,c,d)
templates/playground/playground.js:1290
↓ 6 callers
Method
SanitizeProxyPaths
(r *http.Request)
gateway/api_definition.go:1795
↓ 6 callers
Method
ScanKeys
ScanKeys will return all keys according to the pattern.
storage/redis_cluster.go:1080
↓ 6 callers
Method
SetAttributes
(kv ...attribute.KeyValue)
internal/graphql/otel_graphql_engine_detailed_test.go:477
↓ 6 callers
Method
SetKeyHash
(hash string)
user/session.go:415
↓ 6 callers
Method
SetPolicies
SetPolicies updates the internal policy map with a new policy map.
gateway/gateway.go:41
↓ 6 callers
Method
SetRawKey
(keyName, session string, timeout int64)
storage/redis_cluster.go:370
↓ 6 callers
Function
SetSession
(r *http.Request, s *user.SessionState, scheduleUpdate bool, hashKey ...bool)
ctx/ctx.go:112
↓ 6 callers
Method
Sort
Sort reorders the internal trigger rules.
apidef/oas/url_rewrite.go:156
↓ 6 callers
Function
SpanFromContext
(ctx context.Context)
internal/otel/otel.go:140
↓ 6 callers
Method
Start
Start loads up the configuration and starts the stream. Non-blocking
ee/middleware/streams/stream.go:40
↓ 6 callers
Function
StartTest
(t *testing.T, conf ...gateway.TestConfig)
tests/lifecycle/lifecycle_test.go:17
↓ 6 callers
Method
StripListenPath
(string)
internal/model/interfaces.go:62
↓ 6 callers
Function
TcpMock
(useSSL bool, cb func(in []byte, err error) (out []byte))
test/tcp.go:91
↓ 6 callers
Function
Tj
(a,b)
templates/playground/playground.js:1290
↓ 6 callers
Function
Uh
(a,b,c,d)
templates/playground/playground.js:1290
↓ 6 callers
Function
Uj
(a)
templates/playground/playground.js:1290
↓ 6 callers
Method
Valid
Valid returns true if the type value matches valid values, false otherwise.
apidef/oas/url_rewrite.go:257
↓ 6 callers
Method
Validate
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 callers
Method
Validate
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 callers
Function
ValidateOASObject
ValidateOASObject validates a Tyk Streams document against a particular OAS version.
apidef/streams/validator.go:204
↓ 6 callers
Function
ValidateOASObject
ValidateOASObject validates an OAS document against a particular OAS version.
apidef/oas/validator.go:130
↓ 6 callers
Method
Verify
Verify performs signature verification on the bundle file.
gateway/coprocess_bundle.go:48
↓ 6 callers
Function
Yc
(a)
templates/playground/playground.js:1290
↓ 6 callers
Function
_getPrototypeOf
(o)
templates/playground/playground.js:421
↓ 6 callers
Function
_setPrototypeOf
(o,p)
templates/playground/playground.js:421
↓ 6 callers
Function
_typeof
(obj)
templates/playground/playground.js:421
↓ 6 callers
Function
addMatchToContextData
(cd map[string]interface{}, match []string, trNum int, trName string, indices ...int)
gateway/mw_url_rewrite.go:739
↓ 6 callers
Method
appendRules
(rules *[]*URLRewriteRule, from map[string]apidef.StringRegexMap, in URLRewriteInput)
apidef/oas/url_rewrite.go:188
↓ 6 callers
Function
badPos
(pos,bad)
templates/playground/playground.js:149
↓ 6 callers
Function
bk
(a)
templates/playground/playground.js:1290
↓ 6 callers
Method
buildDashboardConnStr
(resource string)
gateway/server.go:542
↓ 6 callers
Function
buildInputValueDefMap
(inputValueIntrospections)
templates/playground/playground.js:693
↓ 6 callers
Function
bundleError
bundleError is a log helper.
gateway/coprocess_bundle.go:489
↓ 6 callers
Function
cgoCString
(in string)
gateway/coprocess_api.go:111
↓ 6 callers
Function
charWidth
(display)
templates/playground/playground.js:149
↓ 6 callers
Function
copyHeader
(dst, src http.Header, ignoreCanonical bool)
gateway/reverse_proxy.go:448
↓ 6 callers
Function
copyHistoryArray
(events,newGroup,instantiateSel)
templates/playground/playground.js:149
↓ 6 callers
Function
copyState
(mode,state)
templates/playground/playground.js:149
↓ 6 callers
Function
createHMACAuthSession
()
gateway/mw_http_signature_validation_test.go:53
↓ 6 callers
Method
createMiddleware
Generic middleware caller to make extension easier
gateway/middleware.go:120
↓ 6 callers
Method
createOAuthClientIDAndTokens
(t *testing.T, spec *APISpec, clientID string)
gateway/oauth_manager_test.go:159
↓ 6 callers
Function
createReq
(tb testing.TB)
internal/service/core/context_test.go:14
↓ 6 callers
Function
definition_createClass
(Constructor,protoProps,staticProps)
templates/playground/playground.js:1327
↓ 6 callers
Function
deleteNearSelection
(cm,compute)
templates/playground/playground.js:149
↓ 6 callers
Function
ea
(a,b)
templates/playground/playground.js:1290
↓ 6 callers
Function
eltP
(tag,content,className,style)
templates/playground/playground.js:149
↓ 6 callers
Function
ensureCursorVisible
(cm)
templates/playground/playground.js:149
↓ 6 callers
Function
eventMixin
(ctor)
templates/playground/playground.js:149
↓ 6 callers
Function
fb
(a,b,c,d)
templates/playground/playground.js:1290
↓ 6 callers
Function
file_coprocess_session_state_proto_rawDescGZIP
()
coprocess/coprocess_session_state.pb.go:805
↓ 6 callers
Function
filterNonEmpty
(array,predicate)
templates/playground/playground.js:69
↓ 6 callers
Function
getAllNodes
(object)
templates/playground/playground.js:673
↓ 6 callers
Method
getAllowedUrlsFieldBuilder
()
coprocess/bindings/java/CoprocessSessionState.java:1852
↓ 6 callers
Function
getDescription
(node,options)
templates/playground/playground.js:705
↓ 6 callers
Method
getDescriptor
()
coprocess/bindings/java/CoprocessSessionState.java:7280
↓ 6 callers
Method
getDescriptorForType
()
coprocess/bindings/java/CoprocessSessionState.java:2850
↓ 6 callers
Function
getObjectType
(typeRef)
templates/playground/playground.js:693
↓ 6 callers
Method
getSecretFromJWKOrConfig
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 callers
Function
getTokenDesc
(token)
templates/playground/playground.js:581
↓ 6 callers
Function
gf
(a)
templates/playground/playground.js:1290
↓ 6 callers
Function
ic
(a,b)
templates/playground/playground.js:1311
↓ 6 callers
Method
initialiseClient
()
gateway/dashboard_register.go:67
↓ 6 callers
Method
isInitialized
()
coprocess/bindings/java/CoprocessSessionState.java:2673
↓ 6 callers
Method
isRunningTests
()
gateway/server.go:361
↓ 6 callers
Function
k
(a,b,c,d)
templates/playground/playground.js:1290
↓ 6 callers
Function
li
(a,b,c,d,e)
templates/playground/playground.js:1290
↓ 6 callers
Method
log
(message, level)
coprocess/python/tyk/gateway.py:10
↓ 6 callers
Method
maybeForceBuilderInitialization
()
coprocess/bindings/java/CoprocessObject.java:1865
↓ 6 callers
Function
mv
(pos,dir)
templates/playground/playground.js:149
↓ 6 callers
Method
mwList
(mws ...TykMiddleware)
gateway/middleware.go:233
↓ 6 callers
Function
newTestReverseProxyPreHandlerV1
(_ *testing.T, executionMode apidef.GraphQLExecutionMode)
internal/graphengine/graphql_go_tools_v1_test.go:1000
↓ 6 callers
Function
newUpstreamSSL
(t *testing.T, gw *Gateway, serverCert tls.Certificate, handler http.HandlerFunc)
gateway/cert_old_test.go:53
↓ 6 callers
Function
nopCloseResponseBody
(r *http.Response)
gateway/reverse_proxy.go:1860
↓ 6 callers
Function
of
(a)
templates/playground/playground.js:1311
↓ 6 callers
Method
parsePartialFrom
( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ex
coprocess/bindings/java/CoprocessSessionState.java:3035
↓ 6 callers
Method
parseTrace
()
gateway/tracing.go:78
↓ 6 callers
Function
prepareBodyExtractorRequest
(input string)
gateway/coprocess_id_extractor_test.go:90
← previous
next →
801–900 of 9,242, ranked by callers