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
↓ 2 callers
Method
Close
Close should be used on teardown to cleanup a refresher goroutine. Implementers should check of this interface should check nil pointer, such that cal
secrets/readers.go:13
↓ 2 callers
Method
Close
Close delegates to the wrapped SecretsReader.
secrets/readers.go:56
↓ 2 callers
Method
Close
Close closes the underlying reader if it implements io.Closer.
io/read_stream.go:166
↓ 2 callers
Method
Close
Close stops all background goroutines.
net/httpclient.go:144
↓ 2 callers
Function
CopyFilters
CopyFilters creates a new slice with the copy of each filter in the input slice.
eskip/copy.go:45
↓ 2 callers
Function
CopyPredicates
CopyPredicates creates a new slice with the copy of each predicate in the input slice.
eskip/copy.go:23
↓ 2 callers
Method
Count
Count returns the recorded messages that match exp.
logging/loggingtest/logger.go:177
↓ 2 callers
Method
CreateFilter
CreateFilter creates an OpenID Connect authorization filter. first arg: a provider, for example "https://accounts.google.com", which has the path /.w
filters/auth/oidc.go:210
↓ 2 callers
Method
CreateFilter
(args []interface{})
filters/diag/logheader.go:23
↓ 2 callers
Method
CreateFilter
(args []interface{})
filters/ratelimit/backendratelimit.go:23
↓ 2 callers
Method
CreateUnstarted
()
proxy/proxytest/proxytest.go:79
↓ 2 callers
Method
DataClients
()
routing/export_test.go:27
↓ 2 callers
Method
Delay
(d time.Duration)
net/nettest/listener.go:39
↓ 2 callers
Method
DeleteAllIf
delete all items in 'routes' that fulfil 'cond'.
cmd/eskip/writeclient.go:13
↓ 2 callers
Method
DialContext
DialContext wraps net.Dialer's DialContext and returns an error, that can be checked if it was a Transport (TCP/TLS handshake) error or timeout, or a
proxy/proxy.go:764
↓ 2 callers
Method
DialError
DialError returns true if the error was caused while dialing TCP or TLS connections, before HTTP data was sent. It is safe to retry a call, if this re
proxy/proxy.go:534
↓ 2 callers
Function
Eq
Eq implements canonical equivalence comparison of routes based on Skipper semantics. Duplicate IDs are considered invalid for Eq, and it returns fals
eskip/eq.go:138
↓ 2 callers
Method
Error
()
etcd/etcd.go:65
↓ 2 callers
Method
Errorf
(f string, a ...any)
logging/logger.go:37
↓ 2 callers
Method
Float64Gauge
(name string, opts ...metric.Float64GaugeOption)
metrics/otel_test.go:53
↓ 2 callers
Method
Flush
()
logging/loggingwriter.go:38
↓ 2 callers
Method
Flush
()
io/iotest/writer.go:42
↓ 2 callers
Method
Format
(entry *log.Entry)
script/script_test.go:998
↓ 2 callers
Function
ForwardPreProcessor
(s string)
eskip/eskip.go:220
↓ 2 callers
Method
Gather
()
metrics/prometheus.go:560
↓ 2 callers
Method
Get
(ctx context.Context, key string)
net/redisclient.go:412
↓ 2 callers
Method
GetAuthURLParameters
(redirectURI string)
filters/auth/grantconfig.go:353
↓ 2 callers
Method
GetBytes
()
logging/loggingwriter.go:54
↓ 2 callers
Method
GetCertFromHello
GetCertFromHello reads the SNI from a TLS client and returns the appropriate certificate. If no certificate is found for the host it will return nil.
secrets/certregistry/certregistry.go:65
↓ 2 callers
Method
GetEndpointSlicesByService
GetEndpointSlicesByService returns the skipper endpointslices for kubernetes endpointslices.
dataclients/kubernetes/clusterstate.go:82
↓ 2 callers
Method
GetEndpointsByService
GetEndpointsByService returns the skipper endpoints for kubernetes endpoints.
dataclients/kubernetes/clusterstate.go:54
↓ 2 callers
Method
GetEndpointsByTarget
GetEndpointsByTarget returns the skipper endpoints for kubernetes endpoints.
dataclients/kubernetes/clusterstate.go:146
↓ 2 callers
Method
GetEnvoyMetadata
()
filters/openpolicyagent/openpolicyagent.go:400
↓ 2 callers
Method
GetSecret
()
secrets/encrypter.go:19
↓ 2 callers
Function
GetTraceID
GetTraceID retrieves TraceID from HTTP request, for example to search for this trace in the UI of your tracing solution and to get more context about
tracing/tracing.go:162
↓ 2 callers
Method
GetWeight
()
dataclients/kubernetes/definitions/definitions.go:45
↓ 2 callers
Method
HandleErrorResponse
HandleErrorResponse returns true if a filter wants to get called
proxy/proxy.go:2057
↓ 2 callers
Method
HandleInstanceNotReadyError
(fc filters.FilterContext, span opentracing.Span, serve bool)
filters/openpolicyagent/response.go:22
↓ 2 callers
Method
HasConfig
HasConfig indicates that the current filter provides the queue queue settings for the group.
scheduler/scheduler.go:295
↓ 2 callers
Method
Header
()
logging/loggingwriter.go:34
↓ 2 callers
Method
IncCounterBy
(key string, value int64)
metrics/metricstest/metricsmock.go:102
↓ 2 callers
Method
IncFloatCounterBy
(key string, value float64)
metrics/metricstest/metricsmock.go:113
↓ 2 callers
Method
IncRequests
(o IncRequestsOptions)
routing/endpointregistry.go:28
↓ 2 callers
Function
InitPassiveHealthChecker
(o map[string]string)
proxy/proxy.go:183
↓ 2 callers
Function
InitTracer
InitTracer initializes an opentracing tracer. The first option item is the tracer implementation name.
tracing/tracing.go:74
↓ 2 callers
Method
Insecure
When set, the proxy will skip the TLS verification on outgoing requests.
proxy/proxy.go:441
↓ 2 callers
Method
InstanceConfig
()
filters/openpolicyagent/openpolicyagent.go:1154
↓ 2 callers
Method
IsStale
IsStale reports whether the entry is past its TTL but still within the stale-while-revalidate window relative to now.
filters/cache/storage.go:48
↓ 2 callers
Function
LBEndpointString
(eps []*LBEndpoint)
eskip/eskip.go:372
↓ 2 callers
Method
Less
(i, j int)
routing/matcher.go:67
↓ 2 callers
Method
LoadRouteGroups
()
dataclients/kubernetes/clusterclient.go:419
↓ 2 callers
Function
LogKV
LogKV will add a log to the span from the given context
tracing/tracing.go:150
↓ 2 callers
Method
Lookup
Lookup returns the content of the X-Forwarded-For header or the clientIP if not set.
ratelimit/ratelimit.go:194
↓ 2 callers
Method
Lookup
Lookup returns the content of the Authorization header.
ratelimit/ratelimit.go:214
↓ 2 callers
Method
MarshalJSON
()
dataclients/kubernetes/definitions/ingressv1.go:157
↓ 2 callers
Method
Match
Match should return true and the object to be returned by the lookup, when the argument value fulfils the conditions defined by the custom logic in th
pathmux/tree.go:23
↓ 2 callers
Method
MeasureBackend5xx
MeasureBackend5xx satisfies Metrics interface.
metrics/prometheus.go:530
↓ 2 callers
Method
MeasureFilterRequest
MeasureFilterRequest satisfies Metrics interface.
metrics/prometheus.go:412
↓ 2 callers
Method
MeasureFilterResponse
MeasureFilterResponse satisfies Metrics interface.
metrics/prometheus.go:448
↓ 2 callers
Method
MeasureRouteLookup
MeasureRouteLookup satisfies Metrics interface.
metrics/prometheus.go:401
↓ 2 callers
Method
MeasureSince
MeasureSince satisfies Metrics interface.
metrics/prometheus.go:374
↓ 2 callers
Method
Metrics
()
net/httptest/client.go:74
↓ 2 callers
Method
Mute
()
logging/loggingtest/logger.go:195
↓ 2 callers
Method
Name
()
predicates/auth/jwt.go:151
↓ 2 callers
Method
Name
()
filters/builtin/header_encode.go:38
↓ 2 callers
Method
Name
()
filters/builtin/timeout.go:40
↓ 2 callers
Function
New
New creates a specification for the xforward filter that appends the remote IP of the incoming request to the X-Forwarded-For header, and sets the X-F
filters/xforward/xforward.go:25
↓ 2 callers
Function
New
()
filters/tls/pass_client.go:14
↓ 2 callers
Function
New
New creates a new instance of the flowId filter spec which uses the StandardGenerator. To use another type of Generator use NewWithGenerator()
filters/flowid/filter.go:52
↓ 2 callers
Function
New
New creates a path generator with the provided options, falling back to the default value for each non-specified option field.
routing/pathgen/pathgen.go:74
↓ 2 callers
Function
NewAbsorb
NewAbsorb initializes a filter spec for the absorb filter. The absorb filter reads and discards the payload of the incoming requests. It logs with IN
filters/diag/absorb.go:54
↓ 2 callers
Function
NewAccessLogDisabled
NewAccessLogDisabled creates a filter spec for overriding the state of the AccessLogDisabled setting. (By default global setting is used.) accessLog
filters/accesslog/disable.go:21
↓ 2 callers
Function
NewAppendContextRequestHeader
NewAppendContextRequestHeader returns a filter specification used to append request headers with a given name and a value taken from the filter contex
filters/builtin/headerfilter.go:125
↓ 2 callers
Function
NewAppendContextResponseHeader
NewAppendContextResponseHeader returns a filter specification used to append response headers with a given name and a value taken from the filter cont
filters/builtin/headerfilter.go:139
↓ 2 callers
Function
NewBackendBandwidth
NewBackendBandwidth is the equivalent of NewBandwidth but for outgoing backend requests. Eskip example: r: * -> backendBandwidth(30) -> "https://www
filters/diag/diag.go:199
↓ 2 callers
Function
NewBackendChunks
NewBackendChunks is the equivalent of NewChunks but for outgoing backend requests. Eskip example: r: * -> backendChunks(1024, 120) -> "https://www.e
filters/diag/diag.go:205
↓ 2 callers
Function
NewBackendIsProxy
NewBackendIsProxy returns a filter specification that is used to specify that the backend is also a proxy.
filters/builtin/backendisproxy.go:10
↓ 2 callers
Function
NewBackendLatency
NewBackendLatency is the equivalent of NewLatency but for outgoing backend requests. Eskip example: r: * -> backendLatency(120) -> "https://www.exam
filters/diag/diag.go:193
↓ 2 callers
Function
NewBandwidth
NewBandwidth creates a filter specification whose filter instances can be used to maximize the bandwidth of the responses. It expects the bandwidth in
filters/diag/diag.go:180
↓ 2 callers
Function
NewBlockHex
(maxMatcherBufferSize uint64)
filters/block/block.go:41
↓ 2 callers
Function
NewCertificate
(hosts ...string)
proxy/proxytest/cert.go:17
↓ 2 callers
Function
NewChunks
NewChunks creates a filter specification whose filter instances can be used set artificial delays in between response chunks. It expects the byte leng
filters/diag/diag.go:187
↓ 2 callers
Function
NewClientKubernetes
NewClientKubernetes creates and initializes a Kubernetes client to find peers. A partial copy of the Kubernetes dataclient.
swarm/kubernetes.go:95
↓ 2 callers
Function
NewClone
NewClone creates a Clone PreProcessor, that matches routes and replaces the content of the cloned routes. For example to migrate from Source to Client
eskip/eskip.go:58
↓ 2 callers
Function
NewConsecutiveBreaker
NewConsecutiveBreaker creates a filter specification to instantiate consecutiveBreaker() filters. These filters set a breaker for the current route t
filters/circuit/breaker.go:64
↓ 2 callers
Function
NewConsistentHashBalanceFactor
NewConsistentHashBalanceFactor creates a filter Spec, whose instances set the balancer factor used by the `consistentHash` algorithm to avoid popular
filters/consistenthash/balancefactor.go:17
↓ 2 callers
Function
NewConsistentHashKey
NewConsistentHashKey creates a filter Spec, whose instances set the request key used by the `consistentHash` algorithm to select backend endpoint
filters/consistenthash/key.go:15
↓ 2 callers
Function
NewDecompress
NewDecompress creates a filter specification for the decompress() filter. The filter attempts to decompress the response body, if it was compressed wi
filters/builtin/decompress.go:190
↓ 2 callers
Function
NewDefaultHandler
NewDefaultHandler returns a default metrics handler.
metrics/metrics.go:225
↓ 2 callers
Function
NewDisableBreaker
NewDisableBreaker disables the circuit breaker for a route. It doesn't accept any arguments.
filters/circuit/breaker.go:82
↓ 2 callers
Function
NewDropRequestCookie
()
filters/cookie/cookie.go:83
↓ 2 callers
Function
NewDropRequestHeader
NewDropRequestHeader returns a filter specification that is used to delete headers for requests. Instances expect one parameter: the header name. Name
filters/builtin/headerfilter.go:88
↓ 2 callers
Function
NewDropRequestHeaderValueRegexp
()
filters/builtin/headerfilter.go:165
↓ 2 callers
Function
NewDropResponseCookie
()
filters/cookie/cookie.go:89
↓ 2 callers
Function
NewDropResponseHeader
NewDropResponseHeader returns a filter specification that is used to delete headers for responses. Instances expect one parameter: the header name. Na
filters/builtin/headerfilter.go:111
↓ 2 callers
Function
NewDropResponseHeaderValueRegexp
()
filters/builtin/headerfilter.go:169
↓ 2 callers
Function
NewEditor
NewEditor creates an Editor PreProcessor, that matches routes and replaces the content. For example to replace Source predicates with ClientIP predica
eskip/eskip.go:35
↓ 2 callers
Function
NewEncodeRequestHeader
()
filters/builtin/header_encode.go:27
↓ 2 callers
Function
NewEncodeResponseHeader
()
filters/builtin/header_encode.go:32
↓ 2 callers
Function
NewFalse
NewFalse provides a predicate spec to create a Predicate instance that evaluates to false
predicates/primitive/false.go:20
← previous
next →
1,201–1,300 of 5,794, ranked by callers