MCPcopy Create free account

hub / github.com/zalando/skipper / functions

Functions5,794 in github.com/zalando/skipper

↓ 11 callersMethodCloseIdleConnections
CloseIdleConnections delegates the call to the underlying http.Client.
net/httpclient.go:283
↓ 11 callersMethodElapsed
()
proxy/stopwatch.go:36
↓ 11 callersMethodLocal
Local is a getter to the local member of a swarm.
swarm/swarm.go:348
↓ 11 callersFunctionNewBackendRecorder
(closeAfter time.Duration)
proxy/backendtest/backendrecorder.go:26
↓ 11 callersFunctionNewCertRegistry
NewCertRegistry initializes the certificate registry.
secrets/certregistry/certregistry.go:23
↓ 11 callersFunctionNewGrantCookies
(t *testing.T, config *OAuthConfig)
filters/auth/grantcookie_test.go:26
↓ 11 callersFunctionNewStatus
NewStatus creates a filter specification whose instances set the status of the response to a fixed value regardless of backend response.
filters/builtin/status.go:12
↓ 11 callersFunctionNewTemplate
New parses a template string and returns a reusable *Template object. The template string can contain named placeholders of the format: Hello, ${who
eskip/template.go:35
↓ 11 callersFunctionNewTestLog
()
proxy/proxy_test.go:90
↓ 11 callersMethodServeHTTP
ServeHTTP serves kept eskip-formatted routes under /routes endpoint. Additionally it provides a simple health check under health and Prometheus-compat
routesrv/routesrv.go:307
↓ 11 callersMethodSetDetected
(detected time.Time)
routing/endpointregistry.go:19
↓ 11 callersFunctionWithEnableCustomControlLoop
(enabled bool)
filters/openpolicyagent/openpolicyagent.go:208
↓ 11 callersMethodWrite
Implements http.ResponseWriter.Write. When WriteHeader was not called before Write, it calls it with the default 200 status code.
filters/serve/serve.go:68
↓ 11 callersMethoddequeue
()
queuelistener/ring.go:49
↓ 11 callersFunctiongetZoneAwareRoutes
(rs *routesrv.RouteServer, zone string)
routesrv/routesrv_test.go:121
↓ 11 callersFunctionmarshalBase64JSON
(t testing.TB, v any)
filters/auth/jwt_metrics_test.go:458
↓ 11 callersFunctionparseDocument
(code string)
eskip/eskip.go:668
↓ 11 callersMethodscan
(code string)
eskip/lexer.go:65
↓ 11 callersMethodshardForKey
shardForKey does the lookup for valkey most operations to find the valkey ring shard
net/valkey.go:248
↓ 11 callersFunctiontestAccessLog
(t *testing.T, entry *AccessEntry, expectedOutput string, o Options)
logging/access_test.go:69
↓ 11 callersFunctiontestLoopback
( t *testing.T, routes string, params Params, input *url.URL, expectedStatus int, expectedHeader http.He
proxy/loopback_test.go:55
↓ 10 callersMethodGetLevel
()
filters/openpolicyagent/openpolicyagent.go:1416
↓ 10 callersMethodGetName
()
dataclients/kubernetes/definitions/definitions.go:44
↓ 10 callersMethodName
Name of the predicate as used in the route definitions.
routing/routing.go:79
↓ 10 callersFunctionNewRegistry
NewRegistry returns a Registry and implements EncrypterCreator to store and manage secrets
secrets/registry.go:26
↓ 10 callersFunctionNewSegment
NewSegment creates a new traffic segment predicate specification
predicates/traffic/segment.go:27
↓ 10 callersFunctionNewVegetaAttacker
(url string, freq int, per time.Duration, timeout time.Duration)
net/httptest/client.go:20
↓ 10 callersFunctionNewXForwardedForLookuper
NewXForwardedForLookuper returns an empty XForwardedForLookuper
ratelimit/ratelimit.go:188
↓ 10 callersMethodPrint
(prettyPrintInfo PrettyPrintInfo)
eskip/string.go:194
↓ 10 callersMethodRequest
()
eskip/template.go:26
↓ 10 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
routesrv/routesrv_test.go:42
↓ 10 callersMethodSetFormatter
(format *logrus.TextFormatter)
logging/export_test.go:11
↓ 10 callersMethodTlsConfig
(cr *certregistry.CertRegistry)
skipper.go:1431
↓ 10 callersMethodTracef
(format string, args ...any)
dataclients/kubernetes/logger.go:27
↓ 10 callersMethodUpdateDoc
Updates the current set of routes with new/modified and deleted route definitions in eskip format. In case the parsing of the document fails, it retur
routing/testdataclient/dataclient.go:117
↓ 10 callersFunctionWithParams
(fr filters.Registry, proxyParams proxy.Params, routes ...*eskip.Route)
proxy/proxytest/proxytest.go:71
↓ 10 callersFunctionassertPath
(t *testing.T, actualPath *pathInfo, expectedPath pathMatcher)
filters/apiusagemonitoring/spec_test.go:78
↓ 10 callersFunctioncheckHealthcheck
(t *testing.T, got []*eskip.Route, expected, reversed bool)
dataclients/kubernetes/kube_test.go:354
↓ 10 callersFunctionhostForKey
(h string)
metrics/utils.go:21
↓ 10 callersFunctioninvalidRouteGaugeKey
(resourceType definitions.ResourceType, namespace, name, subject, suffix, reason string)
validation/validation_test.go:539
↓ 10 callersFunctionloadRoutes
load routes from input medium.
cmd/eskip/load.go:49
↓ 10 callersFunctionloadRoutesChecked
load, parse routes and print parse errors if any.
cmd/eskip/load.go:74
↓ 10 callersFunctionmatchRequestsCount
(handler *backendtest.BackendRecorderHandler, count int)
filters/tee/teeloopback_test.go:30
↓ 10 callersFunctionnewBreaker
(s BreakerSettings)
circuit/breaker.go:146
↓ 10 callersFunctionnewKubeAPI
(t *testing.T, specs ...io.Reader)
routesrv/routesrv_test.go:49
↓ 10 callersFunctionnewMatcher
( ctx context.Context, input io.ReadCloser, f func([]byte) (int, error), maxBufferSize uint64, mbh MaxBuf
io/read_stream.go:47
↓ 10 callersFunctionnewPluginFlag
()
config/pluginflags.go:12
↓ 10 callersFunctionnewProxyTracing
(p *OpenTracingParams)
proxy/tracing.go:58
↓ 10 callersMethodpeek
()
queuelistener/ring.go:15
↓ 10 callersFunctions
(str string)
filters/apiusagemonitoring/filter_clientmetrics_test.go:36
↓ 10 callersFunctiontestBackend
(token string, code int)
proxy/lb_failingbackend_test.go:16
↓ 10 callersFunctionunknownPath
(applicationId, apiId string)
filters/apiusagemonitoring/spec_test.go:64
↓ 10 callersFunctionwithFilters
withFilters returns an http.Handler that runs the given filter chain before delegating to h. If any filter calls ctx.Serve(), the chain stops and h is
routesrv/filter.go:74
↓ 9 callersMethodAddr
()
queuelistener/listener_test.go:97
↓ 9 callersMethodCheck
Check returns Settings used and the retry-after duration in case of request is ratelimited. Otherwise, return the Settings and 0. It is only used in t
ratelimit/registry.go:172
↓ 9 callersMethodClose
()
secrets/file.go:191
↓ 9 callersMethodExtractHttpBodyOptionally
(req *http.Request)
filters/openpolicyagent/openpolicyagent.go:1319
↓ 9 callersMethodLastSeen
()
routing/endpointregistry.go:21
↓ 9 callersFunctionNewAPI
(o TestAPIOptions, specs ...io.Reader)
dataclients/kubernetes/kubernetestest/api.go:44
↓ 9 callersFunctionNewAdmissionControl
(o Options)
filters/shedder/admission.go:208
↓ 9 callersFunctionNewCacheFilter
NewCacheFilter returns a Spec for the cache() filter. maxBytes is the in-memory storage budget for the shared LRU cache backing all filter instances c
filters/cache/filter.go:66
↓ 9 callersFunctionNewClientIP
()
predicates/source/source.go:84
↓ 9 callersFunctionNewHandler
NewHandler returns a collection of metrics handlers.
metrics/metrics.go:292
↓ 9 callersFunctionNewRegistry
NewRegistry initializes a registry with the provided default settings.
ratelimit/registry.go:33
↓ 9 callersFunctionNewTag
NewTag creates a filter specification for the tracingTag filter.
filters/tracing/tag.go:33
↓ 9 callersFunctionParse
(value string)
jwt/token.go:19
↓ 9 callersMethodTracer
Allow filters to add Tags, Baggage to the trace or set the ComponentName. Deprecated: OpenTracing is deprecated, see https://github.com/zalando/skipp
filters/filters.go:114
↓ 9 callersFunctionappendPredicate
(p []*eskip.Predicate, name string, args ...interface{})
dataclients/kubernetes/routegroup.go:310
↓ 9 callersFunctioncacheKey
cacheKey builds a deterministic cache key from the route ID and request. routeID is included so entries from different routes never collide when all r
filters/cache/filter.go:734
↓ 9 callersFunctioncheckCmd
command executed for check.
cmd/eskip/load.go:111
↓ 9 callersFunctiondocToRoutes
parse a routing doc and process it to runtime routes
routing/matcher_test.go:99
↓ 9 callersFunctiongenerateCert
generateCert handles creating customized test certificates based on options
net/httpclient_test.go:729
↓ 9 callersFunctiongetIntArg
(a interface{})
filters/ratelimit/ratelimit.go:421
↓ 9 callersMethodgetJSON
(uri string, a interface{})
dataclients/kubernetes/clusterclient.go:291
↓ 9 callersFunctionmockControlPlaneWithDiscoveryBundle
(discoveryBundle string)
filters/openpolicyagent/openpolicyagent_test.go:114
↓ 9 callersFunctionmustParseIP
(s string)
filters/tls/mtls_test.go:63
↓ 9 callersFunctionnewRouteGroupPayload
(modifier func(spec map[string]any))
validation/validation_test.go:467
↓ 9 callersFunctionnewSimpleGrantAuthProxy
(t *testing.T, config *auth.OAuthConfig, hosts ...string)
filters/auth/grant_test.go:241
↓ 9 callersFunctionnewStopWatch
()
proxy/stopwatch.go:11
↓ 9 callersFunctionnewTestFilterRFC
newTestFilterRFC creates a filter in pure RFC mode (zero args). Upstream Cache-Control is fully authoritative. Use this for tests that exercise Expire
filters/cache/filter_test.go:52
↓ 9 callersFunctionnewTestProxyWithFilters
(fr filters.Registry, doc string, flags Flags, pr ...PriorityRoute)
proxy/proxy_test.go:253
↓ 9 callersFunctionnewTestRouting
(dc ...routing.DataClient)
routing/routing_test.go:79
↓ 9 callersFunctionparseJwtBody
parseJwtBody parses the JWT token from a HTTP request. It returns `nil` if it was not possible to parse the JWT body.
filters/apiusagemonitoring/filter.go:221
↓ 9 callersFunctionrouteID
TODO: find a nicer way to autogenerate route IDs
dataclients/kubernetes/ingress.go:139
↓ 9 callersMethodset
(handler http.Handler)
routesrv/routesrv_test.go:36
↓ 9 callersFunctiontestRegExpOnce
(t *testing.T, regexpStr string, expectedRegExp string)
eskip/parser_test.go:223
↓ 9 callersFunctiontestResponse
(name string, test testItem)
filters/sed/sed_test.go:25
↓ 8 callersMethodAllow
()
circuit/breaker.go:55
↓ 8 callersFunctionCanonical
Canonical returns the canonical representation of a route, that uses the standard, non-legacy representation of the predicates and the backends. Canon
eskip/eq.go:176
↓ 8 callersFunctionDeleteAll
Deletes the 'routes' directory from etcd with the prefix '/skippertest'.
etcd/etcdtest/mocketcd.go:137
↓ 8 callersFunctionDeleteAllFrom
Deletes the 'routes' directory with the specified prefix.
etcd/etcdtest/mocketcd.go:142
↓ 8 callersMethodGetEndpointAddresses
GetEndpointAddresses returns the list of all addresses for the given service loaded by previous call to LoadAll or LoadUpdate.
dataclients/kubernetes/kube.go:616
↓ 8 callersFunctionInspectReader
InspectReader wraps the given ReadCloser such that the given function f can inspect the streaming while streaming to the target. A target can be any i
io/read_stream.go:210
↓ 8 callersMethodIsValid
(value string)
filters/awssigner/internal/headers.go:212
↓ 8 callersMethodMetricsKey
(key string)
filters/openpolicyagent/openpolicyagent.go:1214
↓ 8 callersFunctionNew
()
predicates/source/source.go:82
↓ 8 callersFunctionNewConfig
()
config/config.go:383
↓ 8 callersFunctionNewFromLast
()
predicates/source/source.go:83
↓ 8 callersFunctionNewMetrics
NewMetrics creates a metrics collector instance based on the Format option.
metrics/metrics.go:231
↓ 8 callersFunctionNewMtlsSanCIDR
NewMtlsSanCIDR returns a filter spec for the mtlsSanCIDR filter. Each argument must be a valid CIDR block. CIDRs are combined into a single netipx.IPS
filters/tls/mtls.go:136
← previousnext →301–400 of 5,794, ranked by callers