Documentation ¶
Overview ¶
Package ktesting is a wrapper around k8s.io/klog/v2/ktesting. It provides those (and only those) functions that test code in Kubernetes should use, plus better dumping of complex datatypes. It adds the klog command line flags and increases the default verbosity to 5.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestContext ¶
NewTestContext is a wrapper around ktesting.NewTestContext with settings specific to Kubernetes.
func SetDefaultVerbosity ¶
func SetDefaultVerbosity(v int)
SetDefaultVerbosity can be called during init to modify the default log verbosity of the program.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.