Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestLogger ¶
CreateTestLogger creates a logr.Logger for tests which optionally (based on environment variables) can capture the log output and then only print it on test failure
func MatchError ¶
func MatchError(err error) *errorMatcher
MatchError creates a matcher for asserting if an error is convertible to the expect error using errors.Is
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.