logsfakes

package
v7.0.0+incompatible Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeColorLogger

type FakeColorLogger struct {
	LogStderrColorStub func(string) string

	LogStdoutColorStub func(string) string

	LogSysHeaderColorStub func(string) string
	// contains filtered or unexported fields
}

func (*FakeColorLogger) Invocations

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

func (*FakeColorLogger) LogStderrColor

func (fake *FakeColorLogger) LogStderrColor(arg1 string) string

func (*FakeColorLogger) LogStderrColorArgsForCall

func (fake *FakeColorLogger) LogStderrColorArgsForCall(i int) string

func (*FakeColorLogger) LogStderrColorCallCount

func (fake *FakeColorLogger) LogStderrColorCallCount() int

func (*FakeColorLogger) LogStderrColorCalls

func (fake *FakeColorLogger) LogStderrColorCalls(stub func(string) string)

func (*FakeColorLogger) LogStderrColorReturns

func (fake *FakeColorLogger) LogStderrColorReturns(result1 string)

func (*FakeColorLogger) LogStderrColorReturnsOnCall

func (fake *FakeColorLogger) LogStderrColorReturnsOnCall(i int, result1 string)

func (*FakeColorLogger) LogStdoutColor

func (fake *FakeColorLogger) LogStdoutColor(arg1 string) string

func (*FakeColorLogger) LogStdoutColorArgsForCall

func (fake *FakeColorLogger) LogStdoutColorArgsForCall(i int) string

func (*FakeColorLogger) LogStdoutColorCallCount

func (fake *FakeColorLogger) LogStdoutColorCallCount() int

func (*FakeColorLogger) LogStdoutColorCalls

func (fake *FakeColorLogger) LogStdoutColorCalls(stub func(string) string)

func (*FakeColorLogger) LogStdoutColorReturns

func (fake *FakeColorLogger) LogStdoutColorReturns(result1 string)

func (*FakeColorLogger) LogStdoutColorReturnsOnCall

func (fake *FakeColorLogger) LogStdoutColorReturnsOnCall(i int, result1 string)

func (*FakeColorLogger) LogSysHeaderColor

func (fake *FakeColorLogger) LogSysHeaderColor(arg1 string) string

func (*FakeColorLogger) LogSysHeaderColorArgsForCall

func (fake *FakeColorLogger) LogSysHeaderColorArgsForCall(i int) string

func (*FakeColorLogger) LogSysHeaderColorCallCount

func (fake *FakeColorLogger) LogSysHeaderColorCallCount() int

func (*FakeColorLogger) LogSysHeaderColorCalls

func (fake *FakeColorLogger) LogSysHeaderColorCalls(stub func(string) string)

func (*FakeColorLogger) LogSysHeaderColorReturns

func (fake *FakeColorLogger) LogSysHeaderColorReturns(result1 string)

func (*FakeColorLogger) LogSysHeaderColorReturnsOnCall

func (fake *FakeColorLogger) LogSysHeaderColorReturnsOnCall(i int, result1 string)

type FakeLoggable

type FakeLoggable struct {
	GetSourceNameStub func() string

	ToLogStub func(*time.Location) string

	ToSimpleLogStub func() string
	// contains filtered or unexported fields
}

func (*FakeLoggable) GetSourceName

func (fake *FakeLoggable) GetSourceName() string

func (*FakeLoggable) GetSourceNameCallCount

func (fake *FakeLoggable) GetSourceNameCallCount() int

func (*FakeLoggable) GetSourceNameCalls

func (fake *FakeLoggable) GetSourceNameCalls(stub func() string)

func (*FakeLoggable) GetSourceNameReturns

func (fake *FakeLoggable) GetSourceNameReturns(result1 string)

func (*FakeLoggable) GetSourceNameReturnsOnCall

func (fake *FakeLoggable) GetSourceNameReturnsOnCall(i int, result1 string)

func (*FakeLoggable) Invocations

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

func (*FakeLoggable) ToLog

func (fake *FakeLoggable) ToLog(arg1 *time.Location) string

func (*FakeLoggable) ToLogArgsForCall

func (fake *FakeLoggable) ToLogArgsForCall(i int) *time.Location

func (*FakeLoggable) ToLogCallCount

func (fake *FakeLoggable) ToLogCallCount() int

func (*FakeLoggable) ToLogCalls

func (fake *FakeLoggable) ToLogCalls(stub func(*time.Location) string)

func (*FakeLoggable) ToLogReturns

func (fake *FakeLoggable) ToLogReturns(result1 string)

func (*FakeLoggable) ToLogReturnsOnCall

func (fake *FakeLoggable) ToLogReturnsOnCall(i int, result1 string)

func (*FakeLoggable) ToSimpleLog

func (fake *FakeLoggable) ToSimpleLog() string

func (*FakeLoggable) ToSimpleLogCallCount

func (fake *FakeLoggable) ToSimpleLogCallCount() int

func (*FakeLoggable) ToSimpleLogCalls

func (fake *FakeLoggable) ToSimpleLogCalls(stub func() string)

func (*FakeLoggable) ToSimpleLogReturns

func (fake *FakeLoggable) ToSimpleLogReturns(result1 string)

func (*FakeLoggable) ToSimpleLogReturnsOnCall

func (fake *FakeLoggable) ToSimpleLogReturnsOnCall(i int, result1 string)

type FakeRepository

type FakeRepository struct {
	CloseStub func()

	RecentLogsForStub func(string) ([]logs.Loggable, error)

	TailLogsForStub func(string, func(), chan<- logs.Loggable, chan<- error)
	// contains filtered or unexported fields
}

func (*FakeRepository) Close

func (fake *FakeRepository) Close()

func (*FakeRepository) CloseCallCount

func (fake *FakeRepository) CloseCallCount() int

func (*FakeRepository) CloseCalls

func (fake *FakeRepository) CloseCalls(stub func())

func (*FakeRepository) Invocations

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

func (*FakeRepository) RecentLogsFor

func (fake *FakeRepository) RecentLogsFor(arg1 string) ([]logs.Loggable, error)

func (*FakeRepository) RecentLogsForArgsForCall

func (fake *FakeRepository) RecentLogsForArgsForCall(i int) string

func (*FakeRepository) RecentLogsForCallCount

func (fake *FakeRepository) RecentLogsForCallCount() int

func (*FakeRepository) RecentLogsForCalls

func (fake *FakeRepository) RecentLogsForCalls(stub func(string) ([]logs.Loggable, error))

func (*FakeRepository) RecentLogsForReturns

func (fake *FakeRepository) RecentLogsForReturns(result1 []logs.Loggable, result2 error)

func (*FakeRepository) RecentLogsForReturnsOnCall

func (fake *FakeRepository) RecentLogsForReturnsOnCall(i int, result1 []logs.Loggable, result2 error)

func (*FakeRepository) TailLogsFor

func (fake *FakeRepository) TailLogsFor(arg1 string, arg2 func(), arg3 chan<- logs.Loggable, arg4 chan<- error)

func (*FakeRepository) TailLogsForArgsForCall

func (fake *FakeRepository) TailLogsForArgsForCall(i int) (string, func(), chan<- logs.Loggable, chan<- error)

func (*FakeRepository) TailLogsForCallCount

func (fake *FakeRepository) TailLogsForCallCount() int

func (*FakeRepository) TailLogsForCalls

func (fake *FakeRepository) TailLogsForCalls(stub func(string, func(), chan<- logs.Loggable, chan<- error))

Jump to

Keyboard shortcuts

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