package
1.6.0-alpha.0
Repository: https://github.com/andrewsykim/kubernetes.git
Documentation: pkg.go.dev
# Functions
DefaultStacktracePred is the default implementation of StacktracePred.
Handler wraps all HTTP calls to delegate with nice logging.
LogOf returns the logger hiding in w.
NewLogged turns a normal response writer into a logged response writer.
StatusIsNot returns a StacktracePred which will cause stacktraces to be logged for any status *not* in the given list.
Unlogged returns the original ResponseWriter, or w if it is not our inserted logger.
# Type aliases
StacktracePred returns true if a stacktrace should be logged for this status.