Help us shape the future of Go! Take the 2026 Go Developer Survey

testing

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 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