fakes

package
v0.39.3 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFieldLogger

type FakeFieldLogger struct {
	*logrus.Entry
	// contains filtered or unexported fields
}

for now we're just tracking calls to the Error and Errorf methods

func (*FakeFieldLogger) AssertErrors

func (self *FakeFieldLogger) AssertErrors(t *testing.T, expectedErrors []string)

func (*FakeFieldLogger) Error

func (self *FakeFieldLogger) Error(args ...interface{})

func (*FakeFieldLogger) Errorf

func (self *FakeFieldLogger) Errorf(format string, args ...interface{})

Jump to

Keyboard shortcuts

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