Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/zalando/skipper
/ functions
Functions
5,794 in github.com/zalando/skipper
⨍
Functions
5,794
◇
Types & classes
1,022
↓ 35 callers
Function
testIngresses
()
dataclients/kubernetes/kube_test.go:244
↓ 35 callers
Function
testPathRule
(path, serviceName string, port definitions.BackendPortV1)
dataclients/kubernetes/kube_test.go:143
↓ 35 callers
Function
testServices
()
dataclients/kubernetes/kube_test.go:233
↓ 34 callers
Function
NewApiUsageMonitoring
NewApiUsageMonitoring creates a new instance of the API Monitoring filter specification (its factory).
filters/apiusagemonitoring/spec.go:47
↓ 34 callers
Method
ServeHTTP
ServeHTTP is the proxy http.Handler implementation
proxy/proxy.go:1754
↓ 34 callers
Method
Split
Returns a clone of the FilterContext including a brand new request object. The stream body of the new request is shared with the original. Whenever th
filters/filters.go:129
↓ 33 callers
Method
LoadUpdate
()
routing/routing.go:55
↓ 33 callers
Method
StartUpdates
StartUpdates starts the data source polling process.
routesrv/routesrv.go:294
↓ 33 callers
Method
StopUpdates
StopUpdates stop the data source polling process.
routesrv/routesrv.go:300
↓ 33 callers
Method
URL
()
filters/openpolicyagent/internal/opatestutils/openpolicyagent_helpers.go:76
↓ 33 callers
Function
WithParams
WithParams returns an initialized Proxy.
proxy/proxy.go:794
↓ 33 callers
Function
testRule
(host string, paths ...*definitions.PathRuleV1)
dataclients/kubernetes/kube_test.go:155
↓ 32 callers
Method
Close
()
routing/endpointregistry.go:194
↓ 32 callers
Method
Debugf
(format string, args ...interface{})
filters/filters.go:146
↓ 32 callers
Function
NewHeaderLookuper
NewHeaderLookuper returns HeaderLookuper configured to lookup header named k
ratelimit/ratelimit.go:209
↓ 32 callers
Method
setTag
(span ot.Span, key string, value any)
proxy/tracing.go:107
↓ 31 callers
Method
Close
()
net/valkey.go:410
↓ 31 callers
Function
addPath
(t *testing.T, tree *node, path string)
pathmux/tree_test.go:11
↓ 30 callers
Function
register
(p *Prometheus, cs T)
metrics/prometheus.go:343
↓ 29 callers
Function
NewValkeyRingClient
(opt *ValkeyOptions)
net/valkey.go:344
↓ 29 callers
Method
Route
Route matches a request in the current routing tree. If the request matches a route, returns the route and a map of parameters constructed from the w
routing/routing.go:450
↓ 29 callers
Method
Stop
(ctx context.Context)
filters/openpolicyagent/internal/envoy/envoyplugin.go:87
↓ 29 callers
Method
Update
Update creates a set of cookies that encodes the token and deletes previously existing cookies if necessary. When token is nil it only returns cookies
filters/auth/grantcookie.go:18
↓ 29 callers
Method
Wait
Wait blocks until the task completes and returns the result and error
filters/openpolicyagent/openpolicyagent.go:83
↓ 29 callers
Method
WithFields
(fields map[string]interface{})
filters/openpolicyagent/openpolicyagent.go:1408
↓ 29 callers
Function
newTestProxyWithParams
(doc string, params Params)
proxy/proxy_test.go:261
↓ 29 callers
Function
unauthorized
(ctx filters.FilterContext, username string, reason rejectReason, hostname, debuginfo string)
filters/auth/auth.go:136
↓ 28 callers
Method
Debug
Log with level DEBUG
logging/logger.go:30
↓ 28 callers
Function
NewAlgorithmProvider
NewAlgorithmProvider creates a routing.PostProcessor used to initialize the algorithm of load balancing routes.
loadbalancer/algorithm.go:274
↓ 28 callers
Function
NewClient
NewClient creates a wrapped http.Client and uses Transport to support OpenTracing. On teardown you have to use Close() to not leak a goroutine. If se
net/httpclient.go:170
↓ 28 callers
Function
NewTestRedis
(t testing.TB)
net/redistest/redistest.go:22
↓ 28 callers
Method
WithMeasures
(f func(measures map[string][]time.Duration))
metrics/metricstest/metricsmock.go:49
↓ 27 callers
Method
Close
()
secrets/registry.go:16
↓ 27 callers
Method
Exit
()
swarm/swarmtest/swarmtestutil.go:86
↓ 27 callers
Function
checkStatus
(t *testing.T, rsp *http.Response, expectedStatus int)
filters/auth/grant_test.go:251
↓ 27 callers
Function
newRouteServerWithOptions
(t *testing.T, o skipper.Options)
routesrv/routesrv_test.go:81
↓ 27 callers
Function
newTestProxy
(doc string, flags Flags, pr ...PriorityRoute)
proxy/proxy_test.go:269
↓ 27 callers
Function
runExample
(ctx *testContext)
script/script_test.go:974
↓ 26 callers
Method
Close
()
net/httpclient.go:225
↓ 26 callers
Method
Close
Close is used to clean up underlying limiter implementations, if you want to stop a Ratelimiter
ratelimit/ratelimit.go:347
↓ 26 callers
Method
DetectedTime
()
routing/endpointregistry.go:18
↓ 26 callers
Method
Get
(url string)
net/httpclient.go:246
↓ 26 callers
Method
UpdateGauge
(key string, value float64)
metrics/metrics.go:56
↓ 26 callers
Method
Wait
Wait blocks until a request can be processed or needs to be rejected. When it can be processed, calling done indicates that it has finished. It is man
scheduler/scheduler.go:346
↓ 26 callers
Function
getRoutes
(rs *routesrv.RouteServer)
routesrv/routesrv_test.go:109
↓ 26 callers
Function
newTestOTel
(t *testing.T, opts Options)
metrics/otel_test.go:60
↓ 26 callers
Function
times
as in scenario step N times
proxy/breaker_test.go:263
↓ 25 callers
Function
New
New returns a new, initialized instance of Logger.
logging/loggingtest/logger.go:95
↓ 25 callers
Function
ParseFilters
ParseFilters parses a filter chain into a list of parsed filter definitions.
eskip/eskip.go:751
↓ 25 callers
Function
testAccessEntry
()
logging/access_test.go:52
↓ 24 callers
Function
MustParseFilters
MustParseFilters parses a set of filters (combined by '->') into a list of parsed filter definitions and panics in case of error
eskip/eskip.go:742
↓ 24 callers
Function
grantQueryWithCookies
(t *testing.T, client *proxytest.TestClient, url string, cookies ...*http.Cookie)
filters/auth/grant_test.go:295
↓ 24 callers
Method
match
tries to match a request against the available definitions. If a match is found, returns the associated value, and the wildcard parameters from the pa
routing/matcher.go:480
↓ 23 callers
Function
EqLists
EqLists compares lists of routes. It returns true if the routes contained by each list are equal by Eq(). Repeated route IDs are considered invalid an
eskip/eq.go:152
↓ 23 callers
Method
Get
Get returns a circuit breaker for the provided settings. The BreakerSettings object is used here as a key, but typically it is enough to just set its
circuit/registry.go:102
↓ 23 callers
Function
testEndpointList
()
dataclients/kubernetes/kube_test.go:51
↓ 23 callers
Function
upstreamResponse
(status int, body string)
filters/cache/filter_test.go:86
↓ 22 callers
Function
FindAddress
skipper.FindAddress returns an addr that you can listen on TCP. You need to hold skipper.MuFindAddress to call this function.
skipper_test.go:82
↓ 22 callers
Method
Response
()
filters/filtertest/filtertest.go:46
↓ 22 callers
Function
buildConnStateWithSANs
buildConnStateWithSANs generates an ECDSA P-256 certificate with the given DNS names, IP addresses, and URI SANs and returns a *tls.ConnectionState wi
filters/tls/mtls_test.go:27
↓ 22 callers
Function
checkRead
(t *testing.T, r io.Reader, n int, expected string)
filters/diag/diag_test.go:240
↓ 22 callers
Method
close
()
routing/routing_test.go:112
↓ 22 callers
Function
newGrantTestConfig
(tokeninfoURL, providerURL string)
filters/auth/grant_test.go:172
↓ 22 callers
Function
regex
(pattern string)
predicates/auth/jwt_test.go:54
↓ 22 callers
Function
testClientMetrics
(t *testing.T, testCase clientMetricsTest)
filters/apiusagemonitoring/testutils_test.go:182
↓ 21 callers
Method
Addr
()
proxy/proxy_test.go:342
↓ 21 callers
Method
Cookies
(u *url.URL)
filters/auth/oidc_test.go:92
↓ 21 callers
Method
InflightRequests
()
routing/endpointregistry.go:24
↓ 21 callers
Method
MeasureServe
MeasureServe satisfies Metrics interface.
metrics/prometheus.go:490
↓ 21 callers
Function
New
New creates a new Client with the provided options.
etcd/etcd.go:129
↓ 21 callers
Function
NewAny
NewAny creates a predicate specification, whose instances match request host. The HostAny predicate requires one or more string hostnames and matches
predicates/host/any.go:22
↓ 21 callers
Function
RegistryWith
RegistryWith (Options) creates a registry with the provided options.
scheduler/scheduler.go:390
↓ 21 callers
Function
wantHTTPCode
(t *testing.T, w *httptest.ResponseRecorder, want int)
routesrv/routesrv_test.go:201
↓ 20 callers
Function
FixturesToTest
(t *testing.T, dirs ...string)
dataclients/kubernetes/kubernetestest/fixtures.go:359
↓ 20 callers
Method
Float64Histogram
(name string, opts ...metric.Float64HistogramOption)
metrics/otel_test.go:32
↓ 20 callers
Method
GetQueue
GetQueue is currently used only by tests.
scheduler/scheduler.go:262
↓ 20 callers
Function
New
New creates a new Methods predicate specification
predicates/methods/methods.go:45
↓ 20 callers
Function
NewRedisRingClient
(ro *RedisOptions)
net/redisclient.go:198
↓ 20 callers
Method
StartSpan
Create, start, and return a new Span with the given `operationName` and incorporate the given StartSpanOption `opts`.
tracing/tracingtest/testtracer.go:100
↓ 20 callers
Method
Sub
()
filters/auth/tokenintrospection.go:94
↓ 20 callers
Function
WithCleanInterval
(interval time.Duration)
filters/openpolicyagent/openpolicyagent.go:175
↓ 20 callers
Method
WithGauges
(f func(map[string]float64))
metrics/metricstest/metricsmock.go:67
↓ 20 callers
Function
benchmarkCompress
(b *testing.B, n int64, encoding []string)
filters/builtin/compress_test.go:120
↓ 20 callers
Function
startTestServer
(payload []byte, parts int, check requestCheck)
proxy/proxy_test.go:300
↓ 19 callers
Method
Build
()
filters/awssigner/awssigv4/httpsigner.go:118
↓ 19 callers
Method
Empty
()
ratelimit/ratelimit.go:316
↓ 19 callers
Method
Format
(e *logrus.Entry)
logging/log.go:54
↓ 19 callers
Method
Next
Next generates a random path. The path will be always absolute. The path may contain a closing slash, with a probability based on the `ClosingSlashI
routing/pathgen/pathgen.go:160
↓ 19 callers
Function
matcher
(matcher string)
filters/apiusagemonitoring/spec_test.go:74
↓ 19 callers
Method
measureSince
(key string, start time.Time)
metrics/codahale.go:131
↓ 19 callers
Function
newGrantTestTokeninfo
(validToken string, tokenInfoJSON string)
filters/auth/grant_test.go:81
↓ 19 callers
Function
writeFile
(t *testing.T, path string, content string)
secrets/file_test.go:18
↓ 18 callers
Method
EnvoyPluginConfig
()
filters/openpolicyagent/openpolicyagent.go:1162
↓ 18 callers
Method
IncInflightRequest
()
routing/endpointregistry.go:25
↓ 18 callers
Method
Logger
()
filters/openpolicyagent/openpolicyagent.go:1113
↓ 18 callers
Function
NewRegistry
NewRegistry initializes a registry with the provided default settings. Settings with an empty Host field are considered as defaults. Settings with the
circuit/registry.go:21
↓ 18 callers
Method
StartSpan
(operationName string, opts ...opentracing.StartSpanOption)
net/valkey.go:488
↓ 18 callers
Method
Warn
Log with level WARN
logging/logger.go:18
↓ 18 callers
Function
WithReuseDuration
(duration time.Duration)
filters/openpolicyagent/openpolicyagent.go:147
↓ 18 callers
Function
WithRoutingOptions
(fr filters.Registry, o routing.Options, routes ...*eskip.Route)
proxy/proxytest/proxytest.go:63
← previous
next →
101–200 of 5,794, ranked by callers