Back to godoc.org

Package testing

v0.16.1
Latest Go to latest

The latest major version is .

Published: Aug 7, 2020 | License: Apache-2.0 | Module: github.com/jetstack/cert-manager

Index

type TestLogger

type TestLogger struct {
	T *testing.T
}

TestLogger is a logr.Logger that prints through a testing.T object.

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, args ...interface{})

func (TestLogger) V

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

func (TestLogger) WithName

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

func (TestLogger) WithValues

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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier