logger

package
v0.0.0-...-96f7096 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 6 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 interface {
	logrus.FieldLogger
	GetInternalLogger() *logrus.Logger
	WithActor(actor string) Logger
	WithCorrelationID(correlationID uuid.UUID) Logger
	WithReconciler(reconciler string) Logger
	WithComponent(componentName types.ComponentName) Logger
	WithTeamSlug(slug string) Logger
	WithUser(user string) Logger
}

func GetLogger

func GetLogger(format, level string) (Logger, error)

type MockLogger

type MockLogger struct {
	mock.Mock
}

MockLogger is an autogenerated mock type for the Logger type

func NewMockLogger

func NewMockLogger(t interface {
	mock.TestingT
	Cleanup(func())
},
) *MockLogger

NewMockLogger creates a new instance of MockLogger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockLogger) Debug

func (_m *MockLogger) Debug(args ...interface{})

Debug provides a mock function with given fields: args

func (*MockLogger) Debugf

func (_m *MockLogger) Debugf(format string, args ...interface{})

Debugf provides a mock function with given fields: format, args

func (*MockLogger) Debugln

func (_m *MockLogger) Debugln(args ...interface{})

Debugln provides a mock function with given fields: args

func (*MockLogger) EXPECT

func (_m *MockLogger) EXPECT() *MockLogger_Expecter

func (*MockLogger) Error

func (_m *MockLogger) Error(args ...interface{})

Error provides a mock function with given fields: args

func (*MockLogger) Errorf

func (_m *MockLogger) Errorf(format string, args ...interface{})

Errorf provides a mock function with given fields: format, args

func (*MockLogger) Errorln

func (_m *MockLogger) Errorln(args ...interface{})

Errorln provides a mock function with given fields: args

func (*MockLogger) Fatal

func (_m *MockLogger) Fatal(args ...interface{})

Fatal provides a mock function with given fields: args

func (*MockLogger) Fatalf

func (_m *MockLogger) Fatalf(format string, args ...interface{})

Fatalf provides a mock function with given fields: format, args

func (*MockLogger) Fatalln

func (_m *MockLogger) Fatalln(args ...interface{})

Fatalln provides a mock function with given fields: args

func (*MockLogger) GetInternalLogger

func (_m *MockLogger) GetInternalLogger() *logrus.Logger

GetInternalLogger provides a mock function with given fields:

func (*MockLogger) Info

func (_m *MockLogger) Info(args ...interface{})

Info provides a mock function with given fields: args

func (*MockLogger) Infof

func (_m *MockLogger) Infof(format string, args ...interface{})

Infof provides a mock function with given fields: format, args

func (*MockLogger) Infoln

func (_m *MockLogger) Infoln(args ...interface{})

Infoln provides a mock function with given fields: args

func (*MockLogger) Panic

func (_m *MockLogger) Panic(args ...interface{})

Panic provides a mock function with given fields: args

func (*MockLogger) Panicf

func (_m *MockLogger) Panicf(format string, args ...interface{})

Panicf provides a mock function with given fields: format, args

func (*MockLogger) Panicln

func (_m *MockLogger) Panicln(args ...interface{})

Panicln provides a mock function with given fields: args

func (*MockLogger) Print

func (_m *MockLogger) Print(args ...interface{})

Print provides a mock function with given fields: args

func (*MockLogger) Printf

func (_m *MockLogger) Printf(format string, args ...interface{})

Printf provides a mock function with given fields: format, args

func (*MockLogger) Println

func (_m *MockLogger) Println(args ...interface{})

Println provides a mock function with given fields: args

func (*MockLogger) Warn

func (_m *MockLogger) Warn(args ...interface{})

Warn provides a mock function with given fields: args

func (*MockLogger) Warnf

func (_m *MockLogger) Warnf(format string, args ...interface{})

Warnf provides a mock function with given fields: format, args

func (*MockLogger) Warning

func (_m *MockLogger) Warning(args ...interface{})

Warning provides a mock function with given fields: args

func (*MockLogger) Warningf

func (_m *MockLogger) Warningf(format string, args ...interface{})

Warningf provides a mock function with given fields: format, args

func (*MockLogger) Warningln

func (_m *MockLogger) Warningln(args ...interface{})

Warningln provides a mock function with given fields: args

func (*MockLogger) Warnln

func (_m *MockLogger) Warnln(args ...interface{})

Warnln provides a mock function with given fields: args

func (*MockLogger) WithActor

func (_m *MockLogger) WithActor(actor string) Logger

WithActor provides a mock function with given fields: actor

func (*MockLogger) WithComponent

func (_m *MockLogger) WithComponent(componentName types.ComponentName) Logger

WithComponent provides a mock function with given fields: componentName

func (*MockLogger) WithCorrelationID

func (_m *MockLogger) WithCorrelationID(correlationID uuid.UUID) Logger

WithCorrelationID provides a mock function with given fields: correlationID

func (*MockLogger) WithError

func (_m *MockLogger) WithError(err error) *logrus.Entry

WithError provides a mock function with given fields: err

func (*MockLogger) WithField

func (_m *MockLogger) WithField(key string, value interface{}) *logrus.Entry

WithField provides a mock function with given fields: key, value

func (*MockLogger) WithFields

func (_m *MockLogger) WithFields(fields logrus.Fields) *logrus.Entry

WithFields provides a mock function with given fields: fields

func (*MockLogger) WithReconciler

func (_m *MockLogger) WithReconciler(reconciler string) Logger

WithReconciler provides a mock function with given fields: reconciler

func (*MockLogger) WithTeamSlug

func (_m *MockLogger) WithTeamSlug(slug string) Logger

WithTeamSlug provides a mock function with given fields: slug

func (*MockLogger) WithUser

func (_m *MockLogger) WithUser(user string) Logger

WithUser provides a mock function with given fields: user

type MockLogger_Debug_Call

type MockLogger_Debug_Call struct {
	*mock.Call
}

MockLogger_Debug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debug'

func (*MockLogger_Debug_Call) Return

func (*MockLogger_Debug_Call) Run

func (_c *MockLogger_Debug_Call) Run(run func(args ...interface{})) *MockLogger_Debug_Call

func (*MockLogger_Debug_Call) RunAndReturn

func (_c *MockLogger_Debug_Call) RunAndReturn(run func(...interface{})) *MockLogger_Debug_Call

type MockLogger_Debugf_Call

type MockLogger_Debugf_Call struct {
	*mock.Call
}

MockLogger_Debugf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debugf'

func (*MockLogger_Debugf_Call) Return

func (*MockLogger_Debugf_Call) Run

func (_c *MockLogger_Debugf_Call) Run(run func(format string, args ...interface{})) *MockLogger_Debugf_Call

func (*MockLogger_Debugf_Call) RunAndReturn

func (_c *MockLogger_Debugf_Call) RunAndReturn(run func(string, ...interface{})) *MockLogger_Debugf_Call

type MockLogger_Debugln_Call

type MockLogger_Debugln_Call struct {
	*mock.Call
}

MockLogger_Debugln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debugln'

func (*MockLogger_Debugln_Call) Return

func (*MockLogger_Debugln_Call) Run

func (_c *MockLogger_Debugln_Call) Run(run func(args ...interface{})) *MockLogger_Debugln_Call

func (*MockLogger_Debugln_Call) RunAndReturn

func (_c *MockLogger_Debugln_Call) RunAndReturn(run func(...interface{})) *MockLogger_Debugln_Call

type MockLogger_Error_Call

type MockLogger_Error_Call struct {
	*mock.Call
}

MockLogger_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'

func (*MockLogger_Error_Call) Return

func (*MockLogger_Error_Call) Run

func (_c *MockLogger_Error_Call) Run(run func(args ...interface{})) *MockLogger_Error_Call

func (*MockLogger_Error_Call) RunAndReturn

func (_c *MockLogger_Error_Call) RunAndReturn(run func(...interface{})) *MockLogger_Error_Call

type MockLogger_Errorf_Call

type MockLogger_Errorf_Call struct {
	*mock.Call
}

MockLogger_Errorf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Errorf'

func (*MockLogger_Errorf_Call) Return

func (*MockLogger_Errorf_Call) Run

func (_c *MockLogger_Errorf_Call) Run(run func(format string, args ...interface{})) *MockLogger_Errorf_Call

func (*MockLogger_Errorf_Call) RunAndReturn

func (_c *MockLogger_Errorf_Call) RunAndReturn(run func(string, ...interface{})) *MockLogger_Errorf_Call

type MockLogger_Errorln_Call

type MockLogger_Errorln_Call struct {
	*mock.Call
}

MockLogger_Errorln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Errorln'

func (*MockLogger_Errorln_Call) Return

func (*MockLogger_Errorln_Call) Run

func (_c *MockLogger_Errorln_Call) Run(run func(args ...interface{})) *MockLogger_Errorln_Call

func (*MockLogger_Errorln_Call) RunAndReturn

func (_c *MockLogger_Errorln_Call) RunAndReturn(run func(...interface{})) *MockLogger_Errorln_Call

type MockLogger_Expecter

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

func (*MockLogger_Expecter) Debug

func (_e *MockLogger_Expecter) Debug(args ...interface{}) *MockLogger_Debug_Call

Debug is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Debugf

func (_e *MockLogger_Expecter) Debugf(format interface{}, args ...interface{}) *MockLogger_Debugf_Call

Debugf is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*MockLogger_Expecter) Debugln

func (_e *MockLogger_Expecter) Debugln(args ...interface{}) *MockLogger_Debugln_Call

Debugln is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Error

func (_e *MockLogger_Expecter) Error(args ...interface{}) *MockLogger_Error_Call

Error is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Errorf

func (_e *MockLogger_Expecter) Errorf(format interface{}, args ...interface{}) *MockLogger_Errorf_Call

Errorf is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*MockLogger_Expecter) Errorln

func (_e *MockLogger_Expecter) Errorln(args ...interface{}) *MockLogger_Errorln_Call

Errorln is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Fatal

func (_e *MockLogger_Expecter) Fatal(args ...interface{}) *MockLogger_Fatal_Call

Fatal is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Fatalf

func (_e *MockLogger_Expecter) Fatalf(format interface{}, args ...interface{}) *MockLogger_Fatalf_Call

Fatalf is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*MockLogger_Expecter) Fatalln

func (_e *MockLogger_Expecter) Fatalln(args ...interface{}) *MockLogger_Fatalln_Call

Fatalln is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) GetInternalLogger

func (_e *MockLogger_Expecter) GetInternalLogger() *MockLogger_GetInternalLogger_Call

GetInternalLogger is a helper method to define mock.On call

func (*MockLogger_Expecter) Info

func (_e *MockLogger_Expecter) Info(args ...interface{}) *MockLogger_Info_Call

Info is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Infof

func (_e *MockLogger_Expecter) Infof(format interface{}, args ...interface{}) *MockLogger_Infof_Call

Infof is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*MockLogger_Expecter) Infoln

func (_e *MockLogger_Expecter) Infoln(args ...interface{}) *MockLogger_Infoln_Call

Infoln is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Panic

func (_e *MockLogger_Expecter) Panic(args ...interface{}) *MockLogger_Panic_Call

Panic is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Panicf

func (_e *MockLogger_Expecter) Panicf(format interface{}, args ...interface{}) *MockLogger_Panicf_Call

Panicf is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*MockLogger_Expecter) Panicln

func (_e *MockLogger_Expecter) Panicln(args ...interface{}) *MockLogger_Panicln_Call

Panicln is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Print

func (_e *MockLogger_Expecter) Print(args ...interface{}) *MockLogger_Print_Call

Print is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Printf

func (_e *MockLogger_Expecter) Printf(format interface{}, args ...interface{}) *MockLogger_Printf_Call

Printf is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*MockLogger_Expecter) Println

func (_e *MockLogger_Expecter) Println(args ...interface{}) *MockLogger_Println_Call

Println is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Warn

func (_e *MockLogger_Expecter) Warn(args ...interface{}) *MockLogger_Warn_Call

Warn is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Warnf

func (_e *MockLogger_Expecter) Warnf(format interface{}, args ...interface{}) *MockLogger_Warnf_Call

Warnf is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*MockLogger_Expecter) Warning

func (_e *MockLogger_Expecter) Warning(args ...interface{}) *MockLogger_Warning_Call

Warning is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Warningf

func (_e *MockLogger_Expecter) Warningf(format interface{}, args ...interface{}) *MockLogger_Warningf_Call

Warningf is a helper method to define mock.On call

  • format string
  • args ...interface{}

func (*MockLogger_Expecter) Warningln

func (_e *MockLogger_Expecter) Warningln(args ...interface{}) *MockLogger_Warningln_Call

Warningln is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) Warnln

func (_e *MockLogger_Expecter) Warnln(args ...interface{}) *MockLogger_Warnln_Call

Warnln is a helper method to define mock.On call

  • args ...interface{}

func (*MockLogger_Expecter) WithActor

func (_e *MockLogger_Expecter) WithActor(actor interface{}) *MockLogger_WithActor_Call

WithActor is a helper method to define mock.On call

  • actor string

func (*MockLogger_Expecter) WithComponent

func (_e *MockLogger_Expecter) WithComponent(componentName interface{}) *MockLogger_WithComponent_Call

WithComponent is a helper method to define mock.On call

  • componentName types.ComponentName

func (*MockLogger_Expecter) WithCorrelationID

func (_e *MockLogger_Expecter) WithCorrelationID(correlationID interface{}) *MockLogger_WithCorrelationID_Call

WithCorrelationID is a helper method to define mock.On call

  • correlationID uuid.UUID

func (*MockLogger_Expecter) WithError

func (_e *MockLogger_Expecter) WithError(err interface{}) *MockLogger_WithError_Call

WithError is a helper method to define mock.On call

  • err error

func (*MockLogger_Expecter) WithField

func (_e *MockLogger_Expecter) WithField(key interface{}, value interface{}) *MockLogger_WithField_Call

WithField is a helper method to define mock.On call

  • key string
  • value interface{}

func (*MockLogger_Expecter) WithFields

func (_e *MockLogger_Expecter) WithFields(fields interface{}) *MockLogger_WithFields_Call

WithFields is a helper method to define mock.On call

  • fields logrus.Fields

func (*MockLogger_Expecter) WithReconciler

func (_e *MockLogger_Expecter) WithReconciler(reconciler interface{}) *MockLogger_WithReconciler_Call

WithReconciler is a helper method to define mock.On call

  • reconciler string

func (*MockLogger_Expecter) WithTeamSlug

func (_e *MockLogger_Expecter) WithTeamSlug(slug interface{}) *MockLogger_WithTeamSlug_Call

WithTeamSlug is a helper method to define mock.On call

  • slug string

func (*MockLogger_Expecter) WithUser

func (_e *MockLogger_Expecter) WithUser(user interface{}) *MockLogger_WithUser_Call

WithUser is a helper method to define mock.On call

  • user string

type MockLogger_Fatal_Call

type MockLogger_Fatal_Call struct {
	*mock.Call
}

MockLogger_Fatal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fatal'

func (*MockLogger_Fatal_Call) Return

func (*MockLogger_Fatal_Call) Run

func (_c *MockLogger_Fatal_Call) Run(run func(args ...interface{})) *MockLogger_Fatal_Call

func (*MockLogger_Fatal_Call) RunAndReturn

func (_c *MockLogger_Fatal_Call) RunAndReturn(run func(...interface{})) *MockLogger_Fatal_Call

type MockLogger_Fatalf_Call

type MockLogger_Fatalf_Call struct {
	*mock.Call
}

MockLogger_Fatalf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fatalf'

func (*MockLogger_Fatalf_Call) Return

func (*MockLogger_Fatalf_Call) Run

func (_c *MockLogger_Fatalf_Call) Run(run func(format string, args ...interface{})) *MockLogger_Fatalf_Call

func (*MockLogger_Fatalf_Call) RunAndReturn

func (_c *MockLogger_Fatalf_Call) RunAndReturn(run func(string, ...interface{})) *MockLogger_Fatalf_Call

type MockLogger_Fatalln_Call

type MockLogger_Fatalln_Call struct {
	*mock.Call
}

MockLogger_Fatalln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fatalln'

func (*MockLogger_Fatalln_Call) Return

func (*MockLogger_Fatalln_Call) Run

func (_c *MockLogger_Fatalln_Call) Run(run func(args ...interface{})) *MockLogger_Fatalln_Call

func (*MockLogger_Fatalln_Call) RunAndReturn

func (_c *MockLogger_Fatalln_Call) RunAndReturn(run func(...interface{})) *MockLogger_Fatalln_Call

type MockLogger_GetInternalLogger_Call

type MockLogger_GetInternalLogger_Call struct {
	*mock.Call
}

MockLogger_GetInternalLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInternalLogger'

func (*MockLogger_GetInternalLogger_Call) Return

func (*MockLogger_GetInternalLogger_Call) Run

func (*MockLogger_GetInternalLogger_Call) RunAndReturn

type MockLogger_Info_Call

type MockLogger_Info_Call struct {
	*mock.Call
}

MockLogger_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'

func (*MockLogger_Info_Call) Return

func (*MockLogger_Info_Call) Run

func (_c *MockLogger_Info_Call) Run(run func(args ...interface{})) *MockLogger_Info_Call

func (*MockLogger_Info_Call) RunAndReturn

func (_c *MockLogger_Info_Call) RunAndReturn(run func(...interface{})) *MockLogger_Info_Call

type MockLogger_Infof_Call

type MockLogger_Infof_Call struct {
	*mock.Call
}

MockLogger_Infof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Infof'

func (*MockLogger_Infof_Call) Return

func (*MockLogger_Infof_Call) Run

func (_c *MockLogger_Infof_Call) Run(run func(format string, args ...interface{})) *MockLogger_Infof_Call

func (*MockLogger_Infof_Call) RunAndReturn

func (_c *MockLogger_Infof_Call) RunAndReturn(run func(string, ...interface{})) *MockLogger_Infof_Call

type MockLogger_Infoln_Call

type MockLogger_Infoln_Call struct {
	*mock.Call
}

MockLogger_Infoln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Infoln'

func (*MockLogger_Infoln_Call) Return

func (*MockLogger_Infoln_Call) Run

func (_c *MockLogger_Infoln_Call) Run(run func(args ...interface{})) *MockLogger_Infoln_Call

func (*MockLogger_Infoln_Call) RunAndReturn

func (_c *MockLogger_Infoln_Call) RunAndReturn(run func(...interface{})) *MockLogger_Infoln_Call

type MockLogger_Panic_Call

type MockLogger_Panic_Call struct {
	*mock.Call
}

MockLogger_Panic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Panic'

func (*MockLogger_Panic_Call) Return

func (*MockLogger_Panic_Call) Run

func (_c *MockLogger_Panic_Call) Run(run func(args ...interface{})) *MockLogger_Panic_Call

func (*MockLogger_Panic_Call) RunAndReturn

func (_c *MockLogger_Panic_Call) RunAndReturn(run func(...interface{})) *MockLogger_Panic_Call

type MockLogger_Panicf_Call

type MockLogger_Panicf_Call struct {
	*mock.Call
}

MockLogger_Panicf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Panicf'

func (*MockLogger_Panicf_Call) Return

func (*MockLogger_Panicf_Call) Run

func (_c *MockLogger_Panicf_Call) Run(run func(format string, args ...interface{})) *MockLogger_Panicf_Call

func (*MockLogger_Panicf_Call) RunAndReturn

func (_c *MockLogger_Panicf_Call) RunAndReturn(run func(string, ...interface{})) *MockLogger_Panicf_Call

type MockLogger_Panicln_Call

type MockLogger_Panicln_Call struct {
	*mock.Call
}

MockLogger_Panicln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Panicln'

func (*MockLogger_Panicln_Call) Return

func (*MockLogger_Panicln_Call) Run

func (_c *MockLogger_Panicln_Call) Run(run func(args ...interface{})) *MockLogger_Panicln_Call

func (*MockLogger_Panicln_Call) RunAndReturn

func (_c *MockLogger_Panicln_Call) RunAndReturn(run func(...interface{})) *MockLogger_Panicln_Call

type MockLogger_Print_Call

type MockLogger_Print_Call struct {
	*mock.Call
}

MockLogger_Print_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Print'

func (*MockLogger_Print_Call) Return

func (*MockLogger_Print_Call) Run

func (_c *MockLogger_Print_Call) Run(run func(args ...interface{})) *MockLogger_Print_Call

func (*MockLogger_Print_Call) RunAndReturn

func (_c *MockLogger_Print_Call) RunAndReturn(run func(...interface{})) *MockLogger_Print_Call

type MockLogger_Printf_Call

type MockLogger_Printf_Call struct {
	*mock.Call
}

MockLogger_Printf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Printf'

func (*MockLogger_Printf_Call) Return

func (*MockLogger_Printf_Call) Run

func (_c *MockLogger_Printf_Call) Run(run func(format string, args ...interface{})) *MockLogger_Printf_Call

func (*MockLogger_Printf_Call) RunAndReturn

func (_c *MockLogger_Printf_Call) RunAndReturn(run func(string, ...interface{})) *MockLogger_Printf_Call

type MockLogger_Println_Call

type MockLogger_Println_Call struct {
	*mock.Call
}

MockLogger_Println_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Println'

func (*MockLogger_Println_Call) Return

func (*MockLogger_Println_Call) Run

func (_c *MockLogger_Println_Call) Run(run func(args ...interface{})) *MockLogger_Println_Call

func (*MockLogger_Println_Call) RunAndReturn

func (_c *MockLogger_Println_Call) RunAndReturn(run func(...interface{})) *MockLogger_Println_Call

type MockLogger_Warn_Call

type MockLogger_Warn_Call struct {
	*mock.Call
}

MockLogger_Warn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warn'

func (*MockLogger_Warn_Call) Return

func (*MockLogger_Warn_Call) Run

func (_c *MockLogger_Warn_Call) Run(run func(args ...interface{})) *MockLogger_Warn_Call

func (*MockLogger_Warn_Call) RunAndReturn

func (_c *MockLogger_Warn_Call) RunAndReturn(run func(...interface{})) *MockLogger_Warn_Call

type MockLogger_Warnf_Call

type MockLogger_Warnf_Call struct {
	*mock.Call
}

MockLogger_Warnf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warnf'

func (*MockLogger_Warnf_Call) Return

func (*MockLogger_Warnf_Call) Run

func (_c *MockLogger_Warnf_Call) Run(run func(format string, args ...interface{})) *MockLogger_Warnf_Call

func (*MockLogger_Warnf_Call) RunAndReturn

func (_c *MockLogger_Warnf_Call) RunAndReturn(run func(string, ...interface{})) *MockLogger_Warnf_Call

type MockLogger_Warning_Call

type MockLogger_Warning_Call struct {
	*mock.Call
}

MockLogger_Warning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warning'

func (*MockLogger_Warning_Call) Return

func (*MockLogger_Warning_Call) Run

func (_c *MockLogger_Warning_Call) Run(run func(args ...interface{})) *MockLogger_Warning_Call

func (*MockLogger_Warning_Call) RunAndReturn

func (_c *MockLogger_Warning_Call) RunAndReturn(run func(...interface{})) *MockLogger_Warning_Call

type MockLogger_Warningf_Call

type MockLogger_Warningf_Call struct {
	*mock.Call
}

MockLogger_Warningf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warningf'

func (*MockLogger_Warningf_Call) Return

func (*MockLogger_Warningf_Call) Run

func (_c *MockLogger_Warningf_Call) Run(run func(format string, args ...interface{})) *MockLogger_Warningf_Call

func (*MockLogger_Warningf_Call) RunAndReturn

func (_c *MockLogger_Warningf_Call) RunAndReturn(run func(string, ...interface{})) *MockLogger_Warningf_Call

type MockLogger_Warningln_Call

type MockLogger_Warningln_Call struct {
	*mock.Call
}

MockLogger_Warningln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warningln'

func (*MockLogger_Warningln_Call) Return

func (*MockLogger_Warningln_Call) Run

func (_c *MockLogger_Warningln_Call) Run(run func(args ...interface{})) *MockLogger_Warningln_Call

func (*MockLogger_Warningln_Call) RunAndReturn

func (_c *MockLogger_Warningln_Call) RunAndReturn(run func(...interface{})) *MockLogger_Warningln_Call

type MockLogger_Warnln_Call

type MockLogger_Warnln_Call struct {
	*mock.Call
}

MockLogger_Warnln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warnln'

func (*MockLogger_Warnln_Call) Return

func (*MockLogger_Warnln_Call) Run

func (_c *MockLogger_Warnln_Call) Run(run func(args ...interface{})) *MockLogger_Warnln_Call

func (*MockLogger_Warnln_Call) RunAndReturn

func (_c *MockLogger_Warnln_Call) RunAndReturn(run func(...interface{})) *MockLogger_Warnln_Call

type MockLogger_WithActor_Call

type MockLogger_WithActor_Call struct {
	*mock.Call
}

MockLogger_WithActor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithActor'

func (*MockLogger_WithActor_Call) Return

func (*MockLogger_WithActor_Call) Run

func (*MockLogger_WithActor_Call) RunAndReturn

type MockLogger_WithComponent_Call

type MockLogger_WithComponent_Call struct {
	*mock.Call
}

MockLogger_WithComponent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithComponent'

func (*MockLogger_WithComponent_Call) Return

func (*MockLogger_WithComponent_Call) Run

func (*MockLogger_WithComponent_Call) RunAndReturn

type MockLogger_WithCorrelationID_Call

type MockLogger_WithCorrelationID_Call struct {
	*mock.Call
}

MockLogger_WithCorrelationID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithCorrelationID'

func (*MockLogger_WithCorrelationID_Call) Return

func (*MockLogger_WithCorrelationID_Call) Run

func (*MockLogger_WithCorrelationID_Call) RunAndReturn

type MockLogger_WithError_Call

type MockLogger_WithError_Call struct {
	*mock.Call
}

MockLogger_WithError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithError'

func (*MockLogger_WithError_Call) Return

func (*MockLogger_WithError_Call) Run

func (*MockLogger_WithError_Call) RunAndReturn

type MockLogger_WithField_Call

type MockLogger_WithField_Call struct {
	*mock.Call
}

MockLogger_WithField_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithField'

func (*MockLogger_WithField_Call) Return

func (*MockLogger_WithField_Call) Run

func (_c *MockLogger_WithField_Call) Run(run func(key string, value interface{})) *MockLogger_WithField_Call

func (*MockLogger_WithField_Call) RunAndReturn

func (_c *MockLogger_WithField_Call) RunAndReturn(run func(string, interface{}) *logrus.Entry) *MockLogger_WithField_Call

type MockLogger_WithFields_Call

type MockLogger_WithFields_Call struct {
	*mock.Call
}

MockLogger_WithFields_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithFields'

func (*MockLogger_WithFields_Call) Return

func (*MockLogger_WithFields_Call) Run

func (*MockLogger_WithFields_Call) RunAndReturn

type MockLogger_WithReconciler_Call

type MockLogger_WithReconciler_Call struct {
	*mock.Call
}

MockLogger_WithReconciler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithReconciler'

func (*MockLogger_WithReconciler_Call) Return

func (*MockLogger_WithReconciler_Call) Run

func (*MockLogger_WithReconciler_Call) RunAndReturn

type MockLogger_WithTeamSlug_Call

type MockLogger_WithTeamSlug_Call struct {
	*mock.Call
}

MockLogger_WithTeamSlug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithTeamSlug'

func (*MockLogger_WithTeamSlug_Call) Return

func (*MockLogger_WithTeamSlug_Call) Run

func (*MockLogger_WithTeamSlug_Call) RunAndReturn

type MockLogger_WithUser_Call

type MockLogger_WithUser_Call struct {
	*mock.Call
}

MockLogger_WithUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithUser'

func (*MockLogger_WithUser_Call) Return

func (*MockLogger_WithUser_Call) Run

func (_c *MockLogger_WithUser_Call) Run(run func(user string)) *MockLogger_WithUser_Call

func (*MockLogger_WithUser_Call) RunAndReturn

func (_c *MockLogger_WithUser_Call) RunAndReturn(run func(string) Logger) *MockLogger_WithUser_Call

Jump to

Keyboard shortcuts

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