Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextWithLogger ¶
ContextWithLogger returns a context.Context that has been augmented with the provided log.Entry.
func LoggerFromContext ¶
LoggerFromContext extracts a *log.Entry from the provided context.Context and returns it. If no *log.Entry is found, a global, error-level *log.Entry is returned.
func SetKLogLevel ¶ added in v0.4.0
func SetKLogLevel(klogLevel int)
SetKLogLevel set the klog level for the k8s go-client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.