mocks

package
v0.0.0-...-1c5d739 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 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 Logger

type Logger struct {
	mock.Mock
}

func (*Logger) Action

func (_m *Logger) Action(action string) audit.Logger

func (*Logger) Context

func (_m *Logger) Context(context datastore.Context) audit.Logger

func (*Logger) Entity

func (_m *Logger) Entity(entity datastore.Entity) audit.Logger

func (*Logger) Error

func (_m *Logger) Error(err error) error

func (*Logger) Failed

func (_m *Logger) Failed()

func (*Logger) ID

func (_m *Logger) ID(id string) audit.Logger

func (*Logger) Message

func (_m *Logger) Message(ctx datastore.Context, message string) audit.Logger

func (*Logger) Succeeded

func (_m *Logger) Succeeded()

func (*Logger) SucceededIf

func (_m *Logger) SucceededIf(value bool)

func (*Logger) Type

func (_m *Logger) Type(theType string) audit.Logger

func (*Logger) WithField

func (_m *Logger) WithField(name string, value string) audit.Logger

func (*Logger) WithFields

func (_m *Logger) WithFields(fields logrus.Fields) audit.Logger

Jump to

Keyboard shortcuts

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