fakelogr

package
v0.3.2-rc Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeLogger

type FakeLogger struct {
	EnabledStub func() bool

	ErrorStub func(error, string, ...interface{})

	InfoStub func(string, ...interface{})

	VStub func(int) logr.Logger

	WithNameStub func(string) logr.Logger

	WithValuesStub func(...interface{}) logr.Logger
	// contains filtered or unexported fields
}

func (*FakeLogger) Enabled

func (fake *FakeLogger) Enabled() bool

func (*FakeLogger) EnabledCallCount

func (fake *FakeLogger) EnabledCallCount() int

func (*FakeLogger) EnabledCalls

func (fake *FakeLogger) EnabledCalls(stub func() bool)

func (*FakeLogger) EnabledReturns

func (fake *FakeLogger) EnabledReturns(result1 bool)

func (*FakeLogger) EnabledReturnsOnCall

func (fake *FakeLogger) EnabledReturnsOnCall(i int, result1 bool)

func (*FakeLogger) Error

func (fake *FakeLogger) Error(arg1 error, arg2 string, arg3 ...interface{})

func (*FakeLogger) ErrorArgsForCall

func (fake *FakeLogger) ErrorArgsForCall(i int) (error, string, []interface{})

func (*FakeLogger) ErrorCallCount

func (fake *FakeLogger) ErrorCallCount() int

func (*FakeLogger) ErrorCalls

func (fake *FakeLogger) ErrorCalls(stub func(error, string, ...interface{}))

func (*FakeLogger) Info

func (fake *FakeLogger) Info(arg1 string, arg2 ...interface{})

func (*FakeLogger) InfoArgsForCall

func (fake *FakeLogger) InfoArgsForCall(i int) (string, []interface{})

func (*FakeLogger) InfoCallCount

func (fake *FakeLogger) InfoCallCount() int

func (*FakeLogger) InfoCalls

func (fake *FakeLogger) InfoCalls(stub func(string, ...interface{}))

func (*FakeLogger) Invocations

func (fake *FakeLogger) Invocations() map[string][][]interface{}

func (*FakeLogger) V

func (fake *FakeLogger) V(arg1 int) logr.Logger

func (*FakeLogger) VArgsForCall

func (fake *FakeLogger) VArgsForCall(i int) int

func (*FakeLogger) VCallCount

func (fake *FakeLogger) VCallCount() int

func (*FakeLogger) VCalls

func (fake *FakeLogger) VCalls(stub func(int) logr.Logger)

func (*FakeLogger) VReturns

func (fake *FakeLogger) VReturns(result1 logr.Logger)

func (*FakeLogger) VReturnsOnCall

func (fake *FakeLogger) VReturnsOnCall(i int, result1 logr.Logger)

func (*FakeLogger) WithName

func (fake *FakeLogger) WithName(arg1 string) logr.Logger

func (*FakeLogger) WithNameArgsForCall

func (fake *FakeLogger) WithNameArgsForCall(i int) string

func (*FakeLogger) WithNameCallCount

func (fake *FakeLogger) WithNameCallCount() int

func (*FakeLogger) WithNameCalls

func (fake *FakeLogger) WithNameCalls(stub func(string) logr.Logger)

func (*FakeLogger) WithNameReturns

func (fake *FakeLogger) WithNameReturns(result1 logr.Logger)

func (*FakeLogger) WithNameReturnsOnCall

func (fake *FakeLogger) WithNameReturnsOnCall(i int, result1 logr.Logger)

func (*FakeLogger) WithValues

func (fake *FakeLogger) WithValues(arg1 ...interface{}) logr.Logger

func (*FakeLogger) WithValuesArgsForCall

func (fake *FakeLogger) WithValuesArgsForCall(i int) []interface{}

func (*FakeLogger) WithValuesCallCount

func (fake *FakeLogger) WithValuesCallCount() int

func (*FakeLogger) WithValuesCalls

func (fake *FakeLogger) WithValuesCalls(stub func(...interface{}) logr.Logger)

func (*FakeLogger) WithValuesReturns

func (fake *FakeLogger) WithValuesReturns(result1 logr.Logger)

func (*FakeLogger) WithValuesReturnsOnCall

func (fake *FakeLogger) WithValuesReturnsOnCall(i int, result1 logr.Logger)

Jump to

Keyboard shortcuts

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