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
↓ 6 callers
Method
Close
()
filters/openpolicyagent/openpolicyagent.go:427
↓ 6 callers
Method
ConfigureCertificate
ConfigureCertificate for the host if no configuration exists or if certificate is valid (`NotBefore` field) after previously configured certificate.
secrets/certregistry/certregistry.go:33
↓ 6 callers
Method
CreateNonce
()
secrets/registry.go:13
↓ 6 callers
Function
Fprint
(w io.Writer, prettyPrintInfo PrettyPrintInfo, routes ...*Route)
eskip/string.go:251
↓ 6 callers
Method
Generate
Generate returns a new Flow ID using the implementation specific format or an error in case of failure.
filters/flowid/filter.go:22
↓ 6 callers
Method
Get
(ctx context.Context, key string)
net/valkey.go:523
↓ 6 callers
Method
GetBody
GetBody issues a GET to the specified URL, reads and closes response body and returns response, response body bytes and error if any.
proxy/proxytest/proxytest.go:166
↓ 6 callers
Function
HandleValidationError
(mtr metrics.Metrics, err error, routeId string)
routing/errors.go:31
↓ 6 callers
Method
IncRoutingFailures
IncRoutingFailures satisfies Metrics interface.
metrics/prometheus.go:520
↓ 6 callers
Method
Init
()
filters/auth/grantconfig.go:144
↓ 6 callers
Function
InitTracer
(opts []string)
tracing/tracers/basic/basic.go:26
↓ 6 callers
Method
Logger
()
proxy/context.go:222
↓ 6 callers
Method
MeasureRouteLookup
Additional methods
metrics/metrics.go:38
↓ 6 callers
Function
MustParsePredicates
MustParsePredicates parses a set of predicates (combined by '&&') into a list of parsed predicate definitions and panics in case of error
eskip/eskip.go:732
↓ 6 callers
Function
NewAppendRequestHeader
NewAppendRequestHeader returns a filter specification that is used to append headers for requests. Instances expect two parameters: the header name an
filters/builtin/headerfilter.go:81
↓ 6 callers
Function
NewBasicAuth
()
filters/auth/basic.go:28
↓ 6 callers
Function
NewBlock
(maxMatcherBufferSize uint64)
filters/block/block.go:35
↓ 6 callers
Function
NewGrantCookiesWithTokens
(t *testing.T, config *OAuthConfig, refreshToken string, accessToken string)
filters/auth/grantcookie_test.go:58
↓ 6 callers
Function
NewJWTPayloadAnyKV
()
predicates/auth/jwt.go:105
↓ 6 callers
Function
NewLRUStorage
NewLRUStorage returns an LRUStorage backed by a ShardedByteLRU sized to totalMaxBytes.
filters/cache/lru_storage.go:21
↓ 6 callers
Function
NewMtlsAuthn
NewMtlsAuthn returns a filter spec for the mtlsAuthn filter. You need to pass the x509.CertPool that it will use to validate client certificates for a
filters/tls/mtls.go:116
↓ 6 callers
Function
NewOpaAuthorizeRequestWithBodySpec
(registry *openpolicyagent.OpenPolicyAgentRegistry)
filters/openpolicyagent/opaauthorizerequest/opaauthorizerequest.go:38
↓ 6 callers
Method
NewPreProcessor
NewPreProcessor creates a pre-processor that pre-loads OPA instances Only used when pre-loading is enabled via command line flag
filters/openpolicyagent/preprocessor.go:25
↓ 6 callers
Function
NewRepeat
NewRepeat creates a filter specification whose filter instances can be used to respond to requests with a repeated text. It expects the text and the b
filters/diag/diag.go:142
↓ 6 callers
Function
NewTeeLoopback
()
filters/tee/teeloopback.go:35
↓ 6 callers
Function
ParseCIDRs
ParseCIDRs is *deprecated* use ParseIPCIDRs.
net/net.go:120
↓ 6 callers
Method
PreserveOriginal
When set, the filters will receive an unmodified clone of the original incoming request and response.
proxy/proxy.go:445
↓ 6 callers
Function
Print
Print serializes a set of routes into a string. If there's only a single route, and its ID is not set, it prints only a route expression. If it has mu
eskip/string.go:219
↓ 6 callers
Function
PutData
Saves a route in etcd with the prefix '/skippertest'.
etcd/etcdtest/mocketcd.go:180
↓ 6 callers
Method
ServeResponse
(fc filters.FilterContext, span opentracing.Span, result *envoyauth.EvalResult)
filters/openpolicyagent/response.go:75
↓ 6 callers
Method
Set
(_ context.Context, key string, entry *Entry)
filters/cache/lru_storage.go:51
↓ 6 callers
Method
SetAddrs
(ctx context.Context, addrs []string)
net/valkey.go:492
↓ 6 callers
Method
SetLevel
(level logging.Level)
filters/openpolicyagent/openpolicyagent.go:1412
↓ 6 callers
Method
SetRespCode
(respCode int)
filters/openpolicyagent/internal/opatestutils/openpolicyagent_helpers.go:68
↓ 6 callers
Method
StateBag
()
filters/filtertest/filtertest.go:50
↓ 6 callers
Method
Timeout
()
queuelistener/listener_test.go:37
↓ 6 callers
Method
Validate
(resource R)
dataclients/kubernetes/definitions/validator.go:30
↓ 6 callers
Function
Watch
Watch creates a route configuration client with file watching. Watch doesn't follow file system nodes, it always reads from the file identified by the
eskipfile/watch.go:32
↓ 6 callers
Method
Write
(p []byte)
filters/tee/tee_loop_detected_test.go:44
↓ 6 callers
Function
addLeafToPath
(pms map[string]*pathMatcher, path string, l *leafMatcher)
routing/matcher.go:276
↓ 6 callers
Method
addPath
(path string)
pathmux/tree.go:69
↓ 6 callers
Function
appendAnnotationFilters
(annotationFilters []AnnotationFilters, annotations map[string]string, r *eskip.Route)
dataclients/kubernetes/annotations.go:29
↓ 6 callers
Function
appendAnnotationPredicates
(annotationPredicates []AnnotationPredicates, annotations map[string]string, r *eskip.Route)
dataclients/kubernetes/annotations.go:19
↓ 6 callers
Function
appendFmt
(s []string, format string, args ...interface{})
eskip/string.go:34
↓ 6 callers
Method
applyFiltersOnError
(ctx *context, filters []*routing.RouteFilter)
proxy/proxy.go:2060
↓ 6 callers
Function
authorized
(ctx filters.FilterContext, username string)
filters/auth/auth.go:144
↓ 6 callers
Function
benchmarkPredicateHost
Benchmarks multi-host setup where request matches only one host out of many using different host predicates. Creates R routes parametrized by sequence
routing/host_test.go:49
↓ 6 callers
Function
buildAPIURL
(o Options)
dataclients/kubernetes/kube.go:379
↓ 6 callers
Function
buildHTTPClient
(certFilePath string, inCluster bool, quit <-chan struct{})
dataclients/kubernetes/clusterclient.go:94
↓ 6 callers
Function
createFile
(t *testing.T)
eskipfile/watch_test.go:66
↓ 6 callers
Function
docToMatcherOpts
create a matcher from a routing document with matching options
routing/matcher_test.go:146
↓ 6 callers
Function
ensureUTF8
(s string)
proxy/proxy.go:2009
↓ 6 callers
Function
eskipTokname
(c int)
eskip/parser.go:226
↓ 6 callers
Method
get
(s ratelimit.Settings)
filters/ratelimit/ratelimit.go:38
↓ 6 callers
Function
getDurationArg
(a interface{})
filters/ratelimit/ratelimit.go:441
↓ 6 callers
Function
getField
(o map[string]interface{}, names ...string)
dataclients/kubernetes/kubernetestest/api_test.go:194
↓ 6 callers
Function
getIntArg
(a interface{})
filters/circuit/breaker.go:34
↓ 6 callers
Function
getStringArgs
Expects exactly n arguments of type string, or fails.
eskip/eskip.go:512
↓ 6 callers
Function
getStrings
(args []interface{})
filters/auth/auth.go:148
↓ 6 callers
Function
getToken
(r *http.Request)
filters/auth/auth.go:92
↓ 6 callers
Function
getZoneAwareRoutesGzip
(rs *routesrv.RouteServer, zone string)
routesrv/routesrv_test.go:129
↓ 6 callers
Method
incCounter
(key string, value int64)
metrics/codahale.go:244
↓ 6 callers
Function
intArg
(a interface{})
filters/scheduler/lifo.go:50
↓ 6 callers
Function
isUpgradeRequest
isUpgradeRequest returns true if and only if there is a "Connection" key with the value "Upgrade" in Headers of the given request.
proxy/upgrade.go:22
↓ 6 callers
Function
measuredMethod
(m string)
metrics/utils.go:27
↓ 6 callers
Function
missingArg
(opt string)
tracing/tracers/jaeger/jaeger.go:128
↓ 6 callers
Function
newClusterLeakyBucketRedis
(ringClient *net.RedisRingClient, capacity int, emission time.Duration, now func() time.Time)
ratelimit/leakybucket_redis.go:33
↓ 6 callers
Function
newClusterLeakyBucketValkey
(ringClient *net.ValkeyRingClient, capacity int, emission time.Duration, now func() time.Time)
ratelimit/leakybucket_valkey.go:33
↓ 6 callers
Function
newGrantCookies
(t *testing.T, config *OAuthConfig, host string, token oauth2.Token)
filters/auth/grantcookie_test.go:20
↓ 6 callers
Function
newTestHandler
(t *testing.T, name string)
filters/tee/tee_test.go:121
↓ 6 callers
Function
parseAnnotationFilters
(s []string)
config/config.go:1452
↓ 6 callers
Function
parseAnnotationPredicates
(s []string)
config/config.go:1437
↓ 6 callers
Function
parseHTTPTime
parseHTTPTime parses an HTTP date per RFC 9111 §4.2. Rejects dates with non-GMT zone abbreviations that http.ParseTime would silently accept with a wr
filters/cache/filter.go:746
↓ 6 callers
Method
parseSingleArg
parseSingleArg calls [yamlConfigParser.parse] with the first string argument. If args slice does not contain a single string, it returns an error.
filters/auth/yamlconfig.go:45
↓ 6 callers
Method
selectEndpoint
(ctx *context)
proxy/proxy.go:640
↓ 6 callers
Function
serve
(w http.ResponseWriter, r *http.Request, resources []byte, name string)
dataclients/kubernetes/kubernetestest/api.go:222
↓ 6 callers
Function
serverError
(ctx filters.FilterContext)
filters/auth/grant.go:50
↓ 6 callers
Function
setAnnotation
(i *definitions.IngressV1Item, key, value string)
dataclients/kubernetes/kube_test.go:164
↓ 6 callers
Function
setupOpaTestEnvironment
setupOpaTestEnvironment sets up the OPA test environment with the given bundle server URL and control loop setting.
filters/openpolicyagent/opaauthorizerequest/openpolicyagent_routeupdate_test.go:644
↓ 6 callers
Function
stripPort
strip port from addresses with hostname, ipv4 or ipv6
net/net.go:15
↓ 6 callers
Function
succeed
(t *testing.T, b *Breaker)
circuit/breaker_test.go:32
↓ 6 callers
Function
testPathMatch
(t *testing.T, s []pathSpec)
routing/tree_test.go:136
↓ 6 callers
Method
unlock
()
filters/shedder/netconn_test.go:53
↓ 6 callers
Method
update
update returns non empty subsequences of addrs, e.g. for [foo bar baz] it returns: 1: [foo] 2: [foo bar] 3: [foo bar baz] 4: [foo] 5: [foo bar] 6: [fo
net/helper_test.go:25
↓ 6 callers
Method
validate
TODO: we need to pass namespace/name in all errors
dataclients/kubernetes/definitions/routegroupvalidator.go:208
↓ 6 callers
Method
validateAllClaims
(h map[string]interface{})
filters/auth/oidc.go:399
↓ 6 callers
Function
verifyNoTag
(t *testing.T, span *tracingtest.MockSpan, name string)
proxy/tracing_test.go:899
↓ 6 callers
Function
wait
(d time.Duration)
proxy/breaker_test.go:276
↓ 6 callers
Method
waitAndSucceedInitial
()
eskipfile/watch_test.go:148
↓ 6 callers
Function
waitFor
(f func() bool)
queuelistener/listener_test.go:169
↓ 6 callers
Function
writeTempCertFiles
(t *testing.T, cert, key []byte)
net/httpclient_test.go:1048
↓ 5 callers
Method
CloseIdleConnections
()
net/httpclient.go:536
↓ 5 callers
Function
Copy
Copy creates a canonical copy of the input route. See also Canonical().
eskip/copy.go:55
↓ 5 callers
Method
CreateFilter
(args []interface{})
filters/builtin/timeout.go:52
↓ 5 callers
Method
Delta
Delta is used to get the duration until the next call is possible, negative durations allow immediate calls
ratelimit/ratelimit.go:351
↓ 5 callers
Method
Extract
Extract() returns a SpanContext instance given `format` and `carrier`. It copies the X-Trace-Header value to the TraceContent field.
tracing/tracingtest/testtracer.go:126
↓ 5 callers
Method
GetEncrypter
(refreshInterval time.Duration, file string)
secrets/registry.go:33
↓ 5 callers
Function
HMACSHA256
(key []byte, data []byte)
filters/awssigner/internal/hmac.go:8
↓ 5 callers
Method
Int64Counter
(name string, opts ...metric.Int64CounterOption)
metrics/otel_test.go:39
↓ 5 callers
Method
Len
()
loadbalancer/algorithm.go:109
← previous
next →
501–600 of 5,794, ranked by callers