mock

package
v0.0.0-...-344bbce Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogr

func NewLogr() logr.Logger

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func (Logger) Enabled

func (Logger) Enabled(level int) bool

Enabled implements logr.InfoLogger.

func (*Logger) Error

func (l *Logger) Error(err error, msg string, keysAndValues ...interface{})

func (*Logger) Info

func (l *Logger) Info(level int, msg string, keysAndValues ...interface{})

Info implements logr.InfoLogger.

func (*Logger) InfoMessages

func (l *Logger) InfoMessages() map[string][]interface{}

func (*Logger) Init

func (l *Logger) Init(logr.RuntimeInfo)

Init implements logr.LogSink.

func (Logger) LastError

func (l Logger) LastError() error

func (*Logger) WithName

func (l *Logger) WithName(_ string) logr.LogSink

WithName implements logr.Logger.

func (*Logger) WithValues

func (l *Logger) WithValues(_ ...interface{}) logr.LogSink

WithValues implements logr.Logger.

Directories

Path Synopsis
controller-runtime

Jump to

Keyboard shortcuts

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