fakes

package
v2.117.10+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAuditLogger

type FakeAuditLogger struct {
	DebugMsgs []string
	ErrMsgs   []string
	// contains filtered or unexported fields
}

func NewFakeAuditLogger

func NewFakeAuditLogger() *FakeAuditLogger

func (*FakeAuditLogger) Debug

func (f *FakeAuditLogger) Debug(msg string)

func (*FakeAuditLogger) Err

func (f *FakeAuditLogger) Err(msg string)

func (*FakeAuditLogger) GetDebugMsgs

func (f *FakeAuditLogger) GetDebugMsgs() []string

func (*FakeAuditLogger) GetErrMsgs

func (f *FakeAuditLogger) GetErrMsgs() []string

func (*FakeAuditLogger) StartLogging

func (f *FakeAuditLogger) StartLogging()

type FakeAuditLoggerProvider

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

func NewFakeAuditLoggerProvider

func NewFakeAuditLoggerProvider() *FakeAuditLoggerProvider

func (*FakeAuditLoggerProvider) GetDebugLogsAt

func (p *FakeAuditLoggerProvider) GetDebugLogsAt(index int) string

func (*FakeAuditLoggerProvider) GetErrorLogsAt

func (p *FakeAuditLoggerProvider) GetErrorLogsAt(index int) string

func (*FakeAuditLoggerProvider) ProvideDebugLogger

func (p *FakeAuditLoggerProvider) ProvideDebugLogger() (*log.Logger, error)

func (*FakeAuditLoggerProvider) ProvideErrorLogger

func (p *FakeAuditLoggerProvider) ProvideErrorLogger() (*log.Logger, error)

func (*FakeAuditLoggerProvider) SetDebugLoggerError

func (p *FakeAuditLoggerProvider) SetDebugLoggerError(err error)

func (*FakeAuditLoggerProvider) SetErrorLoggerError

func (p *FakeAuditLoggerProvider) SetErrorLoggerError(err error)

Jump to

Keyboard shortcuts

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