testing

package
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestLogger

type TestLogger struct {
	T *testing.T
	// contains filtered or unexported fields
}

TestLogger is a logr.Logger that prints everything to t.Log.

func (TestLogger) Enabled

func (TestLogger) Enabled() bool

func (TestLogger) Error

func (log TestLogger) Error(err error, msg string, args ...interface{})

func (TestLogger) Info

func (log TestLogger) Info(msg string, keysAndValues ...interface{})

func (TestLogger) V

func (log TestLogger) V(v int) logr.Logger

func (TestLogger) WithName

func (log TestLogger) WithName(name string) logr.Logger

func (TestLogger) WithValues

func (log TestLogger) WithValues(keysAndValues ...interface{}) logr.Logger

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL