MCPcopy Create free account

hub / github.com/zalando/skipper / functions

Functions5,794 in github.com/zalando/skipper

↓ 4 callersMethodAddr
()
filters/shedder/netconn_test.go:97
↓ 4 callersMethodApply
(original string)
net/host.go:21
↓ 4 callersFunctionBackendTypeFromString
BackendTypeFromString parses the string representation of a backend type definition.
eskip/eskip.go:472
↓ 4 callersMethodClose
()
net/httpclient.go:530
↓ 4 callersMethodClose
Close teardown Registry and dependent resources
ratelimit/registry.go:134
↓ 4 callersMethodConfigure
(server *http.Server)
net/connmanager.go:38
↓ 4 callersFunctionCreateSpan
CreateSpan creates a started span from an optional given parent from context
tracing/tracing.go:141
↓ 4 callersMethodDecInflightRequest
()
routing/endpointregistry.go:26
↓ 4 callersMethodExpire
(ctx context.Context, key string, expire time.Duration)
net/valkey.go:275
↓ 4 callersFunctionFromContext
FromContext returns value from the routing context stored in ctx. It returns value associated with the key or stores result of the defaultValue call.
routing/context.go:24
↓ 4 callersFunctionGetAnnotations
(ctx filters.FilterContext)
filters/annotate/annotate.go:59
↓ 4 callersMethodGetConfig
(req *http.Request)
filters/auth/grantconfig.go:311
↓ 4 callersMethodGetEncrypter
(time.Duration, string)
secrets/registry.go:9
↓ 4 callersFunctionGetHostsFromIngressRulesV1
(ing *IngressV1Item)
dataclients/kubernetes/definitions/ingressv1.go:112
↓ 4 callersMethodGetSecret
GetSecret returns secret for given URL string using the hostname.
secrets/readers.go:77
↓ 4 callersMethodHandleEvaluationError
(fc filters.FilterContext, span opentracing.Span, result *envoyauth.EvalResult, err error, serve bool, status
filters/openpolicyagent/response.go:40
↓ 4 callersMethodHealthCheckDropProbability
()
routing/endpointregistry.go:29
↓ 4 callersMethodHijack
()
logging/loggingwriter.go:42
↓ 4 callersMethodIncCounter
IncCounter satisfies Metrics interface.
metrics/prometheus.go:380
↓ 4 callersMethodIncCounter
(key string)
metrics/codahale.go:119
↓ 4 callersMethodIncErrorsBackend
(routeId string)
metrics/metrics.go:52
↓ 4 callersMethodIncErrorsStreaming
(routeId string)
metrics/metrics.go:54
↓ 4 callersMethodIncErrorsStreaming
IncErrorsStreaming satisfies Metrics interface.
metrics/prometheus.go:536
↓ 4 callersMethodIncFloatCounterBy
IncFloatCounterBy increments a custom counter identified by its key by a certain float (decimal) value. IMPORTANT: Not all Metrics implementation supp
filters/filters.go:168
↓ 4 callersMethodIncRoutingFailures
()
metrics/metrics.go:51
↓ 4 callersMethodIsValid
IsValid asserts if a given flow ID follows an expected format
filters/flowid/filter.go:26
↓ 4 callersFunctionJoin
Join will join given Swarm peers and return an initialized Swarm object if successful.
swarm/swarm.go:203
↓ 4 callersMethodKubernetesDataClientOptions
()
skipper.go:1135
↓ 4 callersMethodLogAccess
LogAccess logs an access event in Apache combined log format (with a minor customization with the duration). Additional allows to provide extra data t
logging/access.go:144
↓ 4 callersMethodLookupMatcher
LookupMatcher tries to find value in the tree associated to a path. If the found path definition contains wildcards, the values of the wildcards are r
pathmux/tree.go:304
↓ 4 callersMethodMeasureAllFiltersRequest
(routeId string, start time.Time)
metrics/metrics.go:41
↓ 4 callersMethodMeasureAllFiltersRequest
MeasureAllFiltersRequest satisfies Metrics interface.
metrics/prometheus.go:418
↓ 4 callersMethodMeasureAllFiltersResponse
MeasureAllFiltersResponse satisfies Metrics interface.
metrics/prometheus.go:454
↓ 4 callersMethodMeasureBackend
MeasureBackend satisfies Metrics interface.
metrics/prometheus.go:431
↓ 4 callersMethodMeasureBackend5xx
(t time.Time)
metrics/metrics.go:53
↓ 4 callersMethodMeasureBackendHost
MeasureBackendHost satisfies Metrics interface.
metrics/prometheus.go:440
↓ 4 callersMethodMeasureBackendRequestHeader
(host string, size int)
metrics/metrics.go:42
↓ 4 callersMethodMeasureFilterCreate
(filterName string, start time.Time)
metrics/metrics.go:39
↓ 4 callersMethodMeasureFilterRequest
(filterName string, start time.Time)
metrics/metrics.go:40
↓ 4 callersMethodMeasureProxy
(requestDuration, responseDuration time.Duration)
metrics/prometheus.go:478
↓ 4 callersMethodMeasureResponse
(code int, method string, routeId string, start time.Time)
metrics/metrics.go:47
↓ 4 callersMethodMeasureResponse
MeasureResponse satisfies Metrics interface.
metrics/prometheus.go:463
↓ 4 callersMethodMeasureResponseSize
(host string, size int64)
metrics/metrics.go:48
↓ 4 callersMethodMeasureServe
(routeId, host, method string, code int, start time.Time)
metrics/metrics.go:50
↓ 4 callersFunctionNew
()
predicates/cron/cron.go:62
↓ 4 callersFunctionNew
New creates a new QueryParam predicate specification.
predicates/query/query.go:51
↓ 4 callersFunctionNew
New creates filters to annotate a filter chain. It stores its key and value arguments into the filter context. Use [GetAnnotations] to retrieve the an
filters/annotate/annotate.go:24
↓ 4 callersFunctionNew
New returns an initialized route server according to the passed options. This call does not start data source updates automatically. Kept routes will
routesrv/routesrv.go:53
↓ 4 callersFunctionNewAbsorbSilent
NewAbsorbSilent initializes a filter spec for the absorbSilent filter, similar to the absorb filter, but without verbose logging of the absorbed paylo
filters/diag/absorb.go:64
↓ 4 callersFunctionNewBearerInjector
(sr secrets.SecretsReader)
filters/auth/bearer.go:24
↓ 4 callersFunctionNewCompressWithOptions
(options CompressOptions)
filters/builtin/compress.go:169
↓ 4 callersFunctionNewContentLengthBetween
NewContentLengthBetween creates a predicate specification, whose instances match content length header value in range from min (inclusively) to max (e
predicates/content/content_length_between.go:21
↓ 4 callersFunctionNewCopyRequestHeader
NewCopyRequestHeader creates a filter specification whose instances copies a specified source Header to a defined destination Header from the request
filters/builtin/headerfilter.go:146
↓ 4 callersFunctionNewDecodeRequestHeaderBase64
NewDecodeRequestHeaderBase64 returns a filter specification that decodes base64-encoded request header values or specific parts of them. Instances exp
filters/builtin/decode_base64.go:32
↓ 4 callersFunctionNewDisableAccessLog
NewDisableAccessLog creates a filter spec to disable access log for specific route. Optionally takes in response code prefixes as arguments. When prov
filters/accesslog/control.go:89
↓ 4 callersFunctionNewDropQuery
NewDropQuery returns a new dropQuery filter Spec, whose instances drop a corresponding query parameter. # Instances expect the name string or templat
filters/builtin/query.go:27
↓ 4 callersFunctionNewEnableAccessLog
NewEnableAccessLog creates a filter spec to enable access log for specific route Optionally takes in response code prefixes as arguments. When provide
filters/accesslog/control.go:107
↓ 4 callersFunctionNewEncodeRequestHeaderBase64
NewEncodeRequestHeaderBase64 returns a filter specification that encodes a request header value (or a specific space-delimited part of it) to base64.
filters/builtin/header_base64.go:32
↓ 4 callersFunctionNewFifo
()
filters/scheduler/fifo.go:25
↓ 4 callersFunctionNewFifoWithBody
()
filters/scheduler/fifo.go:31
↓ 4 callersFunctionNewForwardedHost
()
predicates/forwarded/forwarded.go:90
↓ 4 callersFunctionNewForwardedProto
()
predicates/forwarded/forwarded.go:91
↓ 4 callersFunctionNewJWTPayloadAllKVRegexp
()
predicates/auth/jwt.go:136
↓ 4 callersFunctionNewJwtMetrics
()
filters/auth/jwt_metrics.go:34
↓ 4 callersFunctionNewLoopbackIfStatus
NewLoopbackIfStatus Creates a filter spec for the loopbackIfStatus() filter. r: * -> loopbackIfStatus(401, "/new-path") -> "https://www.example.org"
filters/builtin/loopbackifstatus.go:19
↓ 4 callersFunctionNewModRequestHeader
NewModRequestHeader returns a new filter Spec, whose instances execute regexp.ReplaceAllString on the request host. Instances expect three parameters:
filters/builtin/mod_header.go:21
↓ 4 callersFunctionNewMtlsCN
()
filters/tls/mtls.go:105
↓ 4 callersFunctionNewMtlsIssuerDN
NewMtlsIssuerDN returns a filter spec for the mtlsIssuerDN filter. Each argument must be a non-empty RFC 2253 Distinguished Name string. The filter al
filters/tls/mtls.go:128
↓ 4 callersFunctionNewOAuthOidcAnyClaimsWithOptions
NewOAuthOidcAnyClaimsWithOptions creates a filter spec which verifies that the token has one of the claims specified
filters/auth/oidc.go:163
↓ 4 callersFunctionNewOAuthTokeninfoAnyKVWithOptions
(to TokeninfoOptions)
filters/auth/tokeninfo.go:174
↓ 4 callersFunctionNewOAuthTokeninfoAnyScope
NewOAuthTokeninfoAnyScope creates a new auth filter specification to validate authorization for requests. Current implementation uses Bearer tokens to
filters/auth/tokeninfo.go:143
↓ 4 callersFunctionNewOTel
NewOTel returns a new OTel metrics backend. The OTLP endpoint is configured via OTEL_EXPORTER_OTLP_ENDPOINT or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT env
metrics/otel.go:57
↓ 4 callersFunctionNewRedisSwarmRegistry
NewRedisSwarmRegistry initializes a registry with Redis shards and the optional provided default settings.
ratelimit/registry.go:85
↓ 4 callersFunctionNewRouteCreationMetrics
(metrics filters.Metrics)
filters/builtin/creationmetrics.go:28
↓ 4 callersFunctionNewSetQuery
NewSetQuery returns a new setQuery filter Spec, whose instances replace the query parameters. Instances expect two parameters: the name and the value
filters/builtin/query.go:36
↓ 4 callersFunctionNewSlowAcceptListener
(opt *SlowAcceptListenerOptions)
net/nettest/listener.go:75
↓ 4 callersFunctionNewSlowWriter
(w io.Writer, d time.Duration)
io/iotest/writer.go:69
↓ 4 callersFunctionNewStatic
NewStatic returns a filter Spec to serve static content from a file system location. Behaves similarly to net/http.FileServer. It shunts the route. F
filters/builtin/static.go:27
↓ 4 callersFunctionNewStripQuery
NewStripQuery returns a filter Spec to strip query parameters from the request and optionally transpose them to request headers. It always removes th
filters/builtin/stripquery.go:39
↓ 4 callersFunctionNewTeeResponse
NewTeeResponse returns a new teeResponse filter Spec, whose instances create a Request against a shadow backend with the response body streamed to the
filters/tee/tee_response.go:34
↓ 4 callersFunctionNewTransport
NewTransport creates a wrapped http.Transport, with regular DNS lookups using CloseIdleConnections on every IdleConnTimeout. You can optionally add tr
net/httpclient.go:404
↓ 4 callersFunctionNewULIDGenerator
NewULIDGenerator returns a flow ID generator that is able to generate Universally Unique Lexicographically Sortable Identifier (ULID) flow IDs. It use
filters/flowid/ulid.go:25
↓ 4 callersMethodOutgoingHost
()
filters/filtertest/filtertest.go:54
↓ 4 callersMethodParseArgs
(progname string, args []string)
config/config.go:803
↓ 4 callersFunctionParsePathMode
ParsePathMode parses the string representations of the different path modes.
dataclients/kubernetes/kube.go:410
↓ 4 callersMethodRegisterHandler
RegisterHandler satisfies Metrics interface.
metrics/prometheus.go:368
↓ 4 callersFunctionRemoteHostFromLast
RemoteHostFromLast is *deprecated* use RemoteAddrFromLast instead
net/net.go:91
↓ 4 callersMethodRequest
Request checks ratelimit using filter settings and serves `429 Too Many Requests` response if limit is reached
filters/ratelimit/ratelimit.go:460
↓ 4 callersFunctionResetData
Deletes all routes in etcd and creates a test route under the prefix '/skippertest'.
etcd/etcdtest/mocketcd.go:214
↓ 4 callersFunctionServeHTTP
ServeHTTP creates a response from a handler and a request. It calls the handler's ServeHTTP method with an internal response writer that shares the s
filters/serve/serve.go:36
↓ 4 callersMethodSetQueue
SetQueue will be used by the registry to pass in the right queue to the filter.
scheduler/scheduler.go:259
↓ 4 callersFunctionSetSleep
(f filters.Filter, sleep func(time.Duration))
filters/diag/export_test.go:10
↓ 4 callersFunctionSizeOfRequestHeader
SizeOfRequestHeader returns size of the HTTP request header
net/size.go:9
↓ 4 callersMethodStart
(ctx context.Context)
filters/openpolicyagent/internal/envoy/envoyplugin.go:63
↓ 4 callersMethodStartSpanFromContext
(ctx context.Context)
filters/openpolicyagent/openpolicyagent.go:1205
↓ 4 callersMethodStop
()
filters/openpolicyagent/internal/opatestutils/openpolicyagent_helpers.go:80
↓ 4 callersMethodString
Serializes a route expression. Omits the route id if any.
eskip/string.go:190
↓ 4 callersFunctionStripExcessSpaces
(str string)
filters/awssigner/internal/utils.go:7
↓ 4 callersMethodToOptions
()
config/config.go:911
↓ 4 callersMethodToResourceID
ToResourceID returns the same string for a group endpointslices created for the same svc
dataclients/kubernetes/endpointslices.go:113
← previousnext →701–800 of 5,794, ranked by callers