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
↓ 2 callers
Method
CacheStorage
()
dnscache/manager.go:28
↓ 2 callers
Function
Cc
(a)
templates/playground/playground.js:1290
↓ 2 callers
Function
Cert
Generate cert
test/tcp.go:136
↓ 2 callers
Method
CertPool
(certIDs []string)
certs/manager.go:50
↓ 2 callers
Method
Chain
Chain sets error predecessor
pkg/errpack/errpack.go:48
↓ 2 callers
Method
CheckActivePollerLoop
CheckActivePollerLoop manages the state of the HostCheckerManager UptimeTest polling loop, this will start the checking loop if it hasnt been started
gateway/host_checker_manager.go:99
↓ 2 callers
Method
CheckForAmbiguousDefaultVersions
CheckForAmbiguousDefaultVersions checks if there are multiple ambiguous default versions in the version data.
gateway/api_definition.go:1751
↓ 2 callers
Method
CheckHeaderInRemoveList
(hdr string, spec *APISpec, req *http.Request)
gateway/reverse_proxy.go:575
↓ 2 callers
Method
CheckHostRewrite
(oldPath, newTarget string, r *http.Request)
gateway/mw_url_rewrite.go:457
↓ 2 callers
Function
CheckPortWhiteList
(w map[string]config.PortWhiteList, listenPort int, protocol string)
gateway/proxy_muxer.go:489
↓ 2 callers
Method
Clear
Clear deletes all records from cache
dnscache/storage.go:90
↓ 2 callers
Method
ClearEvents
()
gateway/mw_certificate_check_integration_test.go:62
↓ 2 callers
Method
ClearLogs
ClearLogs clears the logs from the buffer. IMPORTANT: Must be called before each test iteration.
test/buffered_logger.go:63
↓ 2 callers
Function
Close
Close calls Close on the global tace manager.
trace/manager.go:89
↓ 2 callers
Method
Close
Close gracefully stops the execution of any running Jobs in the Scheduler. It is safe to call multiple times and is concurrent-safe.
internal/scheduler/scheduler.go:100
↓ 2 callers
Method
CoProcessInit
CoProcessInit creates a new CoProcessDispatcher, it will be called when Tyk starts.
gateway/coprocess.go:252
↓ 2 callers
Function
ConfigureVersionDefinition
ConfigureVersionDefinition sets up the version definition with default values if not already set. It applies the provided parameters to configure the
lib/apidef/version.go:152
↓ 2 callers
Method
ConstructRequests
(batchRequest BatchRequestStructure, unsafe bool)
gateway/batch_requests.go:92
↓ 2 callers
Function
ConvertApiDefinitionHeadersToHttpHeaders
(apiDefHeaders map[string]string)
apidef/adapter/gqlengineadapter/enginev3/utils.go:72
↓ 2 callers
Method
CopyAndClear
CopyAndClear returns a copy of the batch and clears the batch.
internal/certcheck/batcher.go:63
↓ 2 callers
Method
CopyResponse
(dst io.Writer, src io.Reader, flushInterval time.Duration)
gateway/reverse_proxy.go:1477
↓ 2 callers
Method
CopyResponse
(io.Writer, io.Reader, time.Duration)
gateway/handler_success.go:44
↓ 2 callers
Method
Count
Count returns the number of items in the cache (helpful for tracking memory leaks)
internal/memorycache/cache.go:55
↓ 2 callers
Method
Count
Count returns the number of unique goroutines in the Record.
internal/debug2/goroutine.go:106
↓ 2 callers
Method
CreateJWKClient
CreateJWKClient creates an HTTP client specifically configured for JWK endpoint requests.
internal/httpclient/factory.go:100
↓ 2 callers
Method
CreateKeyName
(subKey HealthPrefix)
gateway/api_healthcheck.go:51
↓ 2 callers
Function
CreateStandardPolicy
()
gateway/testutil.go:886
↓ 2 callers
Method
CustomPolicies
CustomPolicies returns a map of custom policies on the session. To preserve policy order, use GetCustomPolicies instead.
user/custom_policies.go:11
↓ 2 callers
Function
D
(e,g,h,l)
templates/playground/playground.js:1311
↓ 2 callers
Method
DeRegister
()
gateway/dashboard_register.go:28
↓ 2 callers
Method
DeleteKeys
([]string)
storage/storage.go:36
↓ 2 callers
Method
DeletePolicy
(policyID string)
gateway/testutil.go:916
↓ 2 callers
Method
DepthLimitExceeded
(gqlRequest *graphql.Request, accessDef *user.AccessDefinition, schema *graphql.Schema)
gateway/mw_graphql_complexity.go:88
↓ 2 callers
Function
DetermineGraphQLEngineTransportType
(apiDefinition *apidef.APIDefinition)
internal/graphengine/context.go:48
↓ 2 callers
Method
Disconnect
Disconnect closes the connection to the storage
storage/connection_handler.go:105
↓ 2 callers
Method
Dispatch
Dispatch is an RPC method that accepts and returns an Object.
coprocess/coprocess_object_grpc.pb.go:32
↓ 2 callers
Method
Dispatch
Dispatch takes and returns a pointer to a CoProcessMessage struct, see coprocess/api.h for details. This is used by CP bindings.
coprocess/dispatcher.go:12
↓ 2 callers
Method
Dispatch
(ctx context.Context, object *coprocess.Object)
gateway/coprocess.go:669
↓ 2 callers
Method
DispatchEvent
DispatchEvent dispatches an event to the target language.
coprocess/coprocess_object_grpc.pb.go:34
↓ 2 callers
Method
DispatchEvent
DispatchEvent takes an event JSON, as bytes. Doesn't return.
coprocess/dispatcher.go:18
↓ 2 callers
Method
DoAndReturn
DoAndReturn rewrite *gomock.Call.DoAndReturn
internal/policy/store_mock.gen.go:75
↓ 2 callers
Function
DoCoprocessReload
()
gateway/coprocess.go:59
↓ 2 callers
Function
Domain
(msg string)
pkg/errpack/errpack.go:57
↓ 2 callers
Function
Eg
(a,b,c)
templates/playground/playground.js:1290
↓ 2 callers
Method
EncodeForDB
EncodeForDB will encode map[string]struct variables for saving in URL format
apidef/api_definitions.go:1246
↓ 2 callers
Method
EngineConfig
()
apidef/adapter/gqlengineadapter/adapter_supergraph.go:20
↓ 2 callers
Method
EngineConfigV3
()
apidef/adapter/gqlengineadapter/enginev3/adapter_supergraph.go:21
↓ 2 callers
Method
Event
(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
coprocess/bindings/java/CoprocessObject.java:1604
↓ 2 callers
Method
EventReply
(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
coprocess/bindings/java/CoprocessObject.java:2097
↓ 2 callers
Method
Execute
(inCtx context.Context, operation *graphql.Request, writer resolve.FlushWriter, options ...graphql.ExecutionOp
internal/graphql/otel_graphql_engine_detailed.go:150
↓ 2 callers
Method
Expired
Returns true if the item has expired.
internal/cache/item.go:13
↓ 2 callers
Method
Expired
()
gateway/api_definition.go:1648
↓ 2 callers
Function
Extract
(tr Tracer, h http.Header)
trace/manager.go:194
↓ 2 callers
Method
ExtractBody
ExtractBody is used when BodySource is specified.
gateway/coprocess_id_extractor.go:70
↓ 2 callers
Function
ExtractCertificateMeta
(cert *tls.Certificate, certID string)
certs/manager.go:300
↓ 2 callers
Function
ExtractPaths
ExtractPaths will extract paths with the given order.
internal/oasutil/paths.go:23
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *Authentication into *apidef.APIDefinition.
apidef/oas/authentication.go:134
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *AuthSource into the function parameters.
apidef/oas/authentication.go:435
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *Scopes to *apidef.ScopeClaim.
apidef/oas/authentication.go:550
↓ 2 callers
Method
ExtractTo
ExtractTo extracts IDExtractorConfig into supplied classic API definition.
apidef/oas/authentication.go:934
↓ 2 callers
Method
ExtractTo
ExtractTo extracts IDExtractor into supplied classic API definition.
apidef/oas/authentication.go:1007
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *IPAccessControl into *apidef.APIDefinition.
apidef/oas/server.go:367
↓ 2 callers
Method
ExtractTo
ExtractTo fills *apidef.TrackEndpointMeta from *TrackEndpoint.
apidef/oas/track_endpoint.go:21
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *Global into *apidef.APIDefinition.
apidef/oas/middleware.go:297
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *PluginBundle into *apidef.
apidef/oas/middleware.go:597
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *CircuitBreaker into *apidef.CircuitBreakerMeta.
apidef/oas/middleware.go:1664
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *XTykAPIGateway into *apidef.APIDefinition.
apidef/oas/root.go:42
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *Upstream into *apidef.APIDefinition.
apidef/oas/upstream.go:168
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *TLSTransport into *apidef.ServiceDiscoveryConfiguration.
apidef/oas/upstream.go:348
↓ 2 callers
Method
ExtractTo
ExtractTo extracts *UptimeTests into *apidef.UptimeTests.
apidef/oas/upstream.go:691
↓ 2 callers
Function
Fd
(a,b)
templates/playground/playground.js:1311
↓ 2 callers
Function
Fh
(a,b)
templates/playground/playground.js:1311
↓ 2 callers
Method
Fields
Fields returns a logrus.Fields intended for logging.
internal/httputil/accesslog/record.go:73
↓ 2 callers
Method
Fill
Fill fills *CustomKeyLifetime from apidef.APIDefinition.
apidef/oas/authentication.go:122
↓ 2 callers
Method
Fill
Fill fills *AuthSource with values from the parameters.
apidef/oas/authentication.go:429
↓ 2 callers
Method
Fill
Fill fills *Scopes from *apidef.ScopeClaim.
apidef/oas/authentication.go:528
↓ 2 callers
Method
Fill
(api apidef.APIDefinition)
apidef/oas/authentication.go:852
↓ 2 callers
Method
Fill
Fill fills IDExtractorConfig from supplied classic APIDefinition.
apidef/oas/authentication.go:916
↓ 2 callers
Method
Fill
Fill fills IDExtractor from supplied classic APIDefinition.
apidef/oas/authentication.go:991
↓ 2 callers
Method
Fill
Fill fills *Server from apidef.APIDefinition.
apidef/oas/server.go:67
↓ 2 callers
Method
Fill
Fill fills *IPAccessControl from apidef.APIDefinition.
apidef/oas/server.go:360
↓ 2 callers
Method
Fill
Fill fills *TrackEndpoint receiver with data from apidef.TrackEndpointMeta.
apidef/oas/track_endpoint.go:16
↓ 2 callers
Method
Fill
Fill fills *Global from apidef.APIDefinition.
apidef/oas/middleware.go:163
↓ 2 callers
Method
Fill
Fill fills PluginConfigData from apidef.
apidef/oas/middleware.go:501
↓ 2 callers
Method
Fill
Fill fills PluginBundle from apidef.
apidef/oas/middleware.go:591
↓ 2 callers
Method
Fill
Fill fills *Allowance from apidef.EndPointMeta.
apidef/oas/middleware.go:1087
↓ 2 callers
Method
Fill
Fill fills PrePlugin from supplied Tyk classic api definition.
apidef/oas/middleware.go:1364
↓ 2 callers
Method
Fill
Fill fills PostAuthenticationPlugin from supplied Tyk classic api definition.
apidef/oas/middleware.go:1393
↓ 2 callers
Method
Fill
Fill fills PostPlugin from supplied Tyk classic api definition.
apidef/oas/middleware.go:1422
↓ 2 callers
Method
Fill
Fill fills ResponsePlugin from supplied Tyk classic api definition.
apidef/oas/middleware.go:1451
↓ 2 callers
Method
Fill
Fill fills *EndpointPostPlugin from apidef.GoPluginMeta.
apidef/oas/middleware.go:1602
↓ 2 callers
Method
Fill
Fill fills *CircuitBreaker from apidef.CircuitBreakerMeta.
apidef/oas/middleware.go:1655
↓ 2 callers
Method
Fill
Fill fills *XTykAPIGateway from apidef.APIDefinition.
apidef/oas/root.go:26
↓ 2 callers
Method
Fill
Fill fills *Upstream from apidef.APIDefinition.
apidef/oas/upstream.go:66
↓ 2 callers
Method
Fill
Fill fills *TLSTransport from apidef.ServiceDiscoveryConfiguration.
apidef/oas/upstream.go:339
↓ 2 callers
Method
Fill
Fill fills *CertificatePinning from apidef.APIDefinition.
apidef/oas/upstream.go:864
↓ 2 callers
Method
Fill
Fill populates the LoadBalancing structure based on the provided APIDefinition, including targets and their weights.
apidef/oas/upstream.go:1301
↓ 2 callers
Method
Fill
Fill fills *Internal receiver with data from apidef.InternalMeta.
apidef/oas/internal.go:13
↓ 2 callers
Function
FillOASFromClassicAPIDefinition
(api *apidef.APIDefinition, oas *OAS)
apidef/oas/oas.go:749
↓ 2 callers
Function
Filter
Filter filters the input logrus fields and retains only the allowed fields. The function is case sensitive so keys have to match the case exactly.
internal/httputil/accesslog/filter.go:9
← previous
next →
2,101–2,200 of 9,242, ranked by callers