package
1.6.0-alpha.0
Repository: https://github.com/andrewrynhard/kubernetes.git
Documentation: pkg.go.dev

# Functions

BasicLongRunningRequestCheck pathRegex operates against the url path, the queryParams match is case insensitive.
WithCORS is a simple CORS implementation that wraps an http Handler.
WithMaxInFlightLimit limits the number of in-flight requests to buffer size of the passed in channel.
WithPanicRecovery wraps an http Handler to recover and log panics.
WithTimeout returns an http.Handler that runs h with a timeout determined by timeoutFunc.
WithTimeoutForNonLongRunningRequests times out non-long-running requests after the time given by globalTimeout.

# Type aliases

LongRunningRequestCheck is a predicate which is true for long-running http requests.