Documentation ¶
Overview ¶
Util functions used by generated code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
Helper functions to check a string from a slice of strings.
func ContextWithLogger ¶
store the logger in the context for propagation to children
func GetInClusterNamesapce ¶
returns the namespace in which the current process is executing, if running inside k8s else, return err
func LoggerFromContext ¶
retrieve the logger from the context returns the default logger if not set
func RemoveString ¶
Helper functions to remove string from a slice of strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.