Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeLoggable
- func (fake *FakeLoggable) GetSourceName() string
- func (fake *FakeLoggable) GetSourceNameCallCount() int
- func (fake *FakeLoggable) GetSourceNameReturns(result1 string)
- func (fake *FakeLoggable) Invocations() map[string][][]interface{}
- func (fake *FakeLoggable) ToLog(loc *time.Location) string
- func (fake *FakeLoggable) ToLogArgsForCall(i int) *time.Location
- func (fake *FakeLoggable) ToLogCallCount() int
- func (fake *FakeLoggable) ToLogReturns(result1 string)
- func (fake *FakeLoggable) ToSimpleLog() string
- func (fake *FakeLoggable) ToSimpleLogCallCount() int
- func (fake *FakeLoggable) ToSimpleLogReturns(result1 string)
- type FakeNoaaConsumer
- func (fake *FakeNoaaConsumer) Close() error
- func (fake *FakeNoaaConsumer) CloseCallCount() int
- func (fake *FakeNoaaConsumer) CloseReturns(result1 error)
- func (fake *FakeNoaaConsumer) Invocations() map[string][][]interface{}
- func (fake *FakeNoaaConsumer) RecentLogs(appGUID string, authToken string) ([]*events.LogMessage, error)
- func (fake *FakeNoaaConsumer) RecentLogsArgsForCall(i int) (string, string)
- func (fake *FakeNoaaConsumer) RecentLogsCallCount() int
- func (fake *FakeNoaaConsumer) RecentLogsReturns(result1 []*events.LogMessage, result2 error)
- func (fake *FakeNoaaConsumer) RefreshTokenFrom(tr consumer.TokenRefresher)
- func (fake *FakeNoaaConsumer) RefreshTokenFromArgsForCall(i int) consumer.TokenRefresher
- func (fake *FakeNoaaConsumer) RefreshTokenFromCallCount() int
- func (fake *FakeNoaaConsumer) SetOnConnectCallback(cb func())
- func (fake *FakeNoaaConsumer) SetOnConnectCallbackArgsForCall(i int) func()
- func (fake *FakeNoaaConsumer) SetOnConnectCallbackCallCount() int
- func (fake *FakeNoaaConsumer) TailingLogs(arg1 string, arg2 string) (<-chan *events.LogMessage, <-chan error)
- func (fake *FakeNoaaConsumer) TailingLogsArgsForCall(i int) (string, string)
- func (fake *FakeNoaaConsumer) TailingLogsCallCount() int
- func (fake *FakeNoaaConsumer) TailingLogsReturns(result1 <-chan *events.LogMessage, result2 <-chan error)
- type FakeRepository
- func (fake *FakeRepository) Close()
- func (fake *FakeRepository) CloseCallCount() int
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
- func (fake *FakeRepository) RecentLogsFor(appGUID string) ([]logs.Loggable, error)
- func (fake *FakeRepository) RecentLogsForArgsForCall(i int) string
- func (fake *FakeRepository) RecentLogsForCallCount() int
- func (fake *FakeRepository) RecentLogsForReturns(result1 []logs.Loggable, result2 error)
- func (fake *FakeRepository) TailLogsFor(appGUID string, onConnect func(), logChan chan<- logs.Loggable, ...)
- func (fake *FakeRepository) TailLogsForArgsForCall(i int) (string, func(), chan<- logs.Loggable, chan<- error)
- func (fake *FakeRepository) TailLogsForCallCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLoggable ¶
type FakeLoggable struct { ToLogStub func(loc *time.Location) string ToSimpleLogStub func() string GetSourceNameStub 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) GetSourceNameReturns ¶
func (fake *FakeLoggable) GetSourceNameReturns(result1 string)
func (*FakeLoggable) Invocations ¶
func (fake *FakeLoggable) Invocations() map[string][][]interface{}
func (*FakeLoggable) ToLogArgsForCall ¶
func (fake *FakeLoggable) ToLogArgsForCall(i int) *time.Location
func (*FakeLoggable) ToLogCallCount ¶
func (fake *FakeLoggable) ToLogCallCount() int
func (*FakeLoggable) ToLogReturns ¶
func (fake *FakeLoggable) ToLogReturns(result1 string)
func (*FakeLoggable) ToSimpleLog ¶
func (fake *FakeLoggable) ToSimpleLog() string
func (*FakeLoggable) ToSimpleLogCallCount ¶
func (fake *FakeLoggable) ToSimpleLogCallCount() int
func (*FakeLoggable) ToSimpleLogReturns ¶
func (fake *FakeLoggable) ToSimpleLogReturns(result1 string)
type FakeNoaaConsumer ¶
type FakeNoaaConsumer struct { TailingLogsStub func(string, string) (<-chan *events.LogMessage, <-chan error) RecentLogsStub func(appGUID string, authToken string) ([]*events.LogMessage, error) CloseStub func() error SetOnConnectCallbackStub func(cb func()) RefreshTokenFromStub func(tr consumer.TokenRefresher) // contains filtered or unexported fields }
func (*FakeNoaaConsumer) Close ¶
func (fake *FakeNoaaConsumer) Close() error
func (*FakeNoaaConsumer) CloseCallCount ¶
func (fake *FakeNoaaConsumer) CloseCallCount() int
func (*FakeNoaaConsumer) CloseReturns ¶
func (fake *FakeNoaaConsumer) CloseReturns(result1 error)
func (*FakeNoaaConsumer) Invocations ¶
func (fake *FakeNoaaConsumer) Invocations() map[string][][]interface{}
func (*FakeNoaaConsumer) RecentLogs ¶
func (fake *FakeNoaaConsumer) RecentLogs(appGUID string, authToken string) ([]*events.LogMessage, error)
func (*FakeNoaaConsumer) RecentLogsArgsForCall ¶
func (fake *FakeNoaaConsumer) RecentLogsArgsForCall(i int) (string, string)
func (*FakeNoaaConsumer) RecentLogsCallCount ¶
func (fake *FakeNoaaConsumer) RecentLogsCallCount() int
func (*FakeNoaaConsumer) RecentLogsReturns ¶
func (fake *FakeNoaaConsumer) RecentLogsReturns(result1 []*events.LogMessage, result2 error)
func (*FakeNoaaConsumer) RefreshTokenFrom ¶
func (fake *FakeNoaaConsumer) RefreshTokenFrom(tr consumer.TokenRefresher)
func (*FakeNoaaConsumer) RefreshTokenFromArgsForCall ¶
func (fake *FakeNoaaConsumer) RefreshTokenFromArgsForCall(i int) consumer.TokenRefresher
func (*FakeNoaaConsumer) RefreshTokenFromCallCount ¶
func (fake *FakeNoaaConsumer) RefreshTokenFromCallCount() int
func (*FakeNoaaConsumer) SetOnConnectCallback ¶
func (fake *FakeNoaaConsumer) SetOnConnectCallback(cb func())
func (*FakeNoaaConsumer) SetOnConnectCallbackArgsForCall ¶
func (fake *FakeNoaaConsumer) SetOnConnectCallbackArgsForCall(i int) func()
func (*FakeNoaaConsumer) SetOnConnectCallbackCallCount ¶
func (fake *FakeNoaaConsumer) SetOnConnectCallbackCallCount() int
func (*FakeNoaaConsumer) TailingLogs ¶
func (fake *FakeNoaaConsumer) TailingLogs(arg1 string, arg2 string) (<-chan *events.LogMessage, <-chan error)
func (*FakeNoaaConsumer) TailingLogsArgsForCall ¶
func (fake *FakeNoaaConsumer) TailingLogsArgsForCall(i int) (string, string)
func (*FakeNoaaConsumer) TailingLogsCallCount ¶
func (fake *FakeNoaaConsumer) TailingLogsCallCount() int
func (*FakeNoaaConsumer) TailingLogsReturns ¶
func (fake *FakeNoaaConsumer) TailingLogsReturns(result1 <-chan *events.LogMessage, result2 <-chan error)
type FakeRepository ¶
type FakeRepository struct { RecentLogsForStub func(appGUID string) ([]logs.Loggable, error) TailLogsForStub func(appGUID string, onConnect func(), logChan chan<- logs.Loggable, errChan chan<- error) CloseStub func() // contains filtered or unexported fields }
func (*FakeRepository) Close ¶
func (fake *FakeRepository) Close()
func (*FakeRepository) CloseCallCount ¶
func (fake *FakeRepository) CloseCallCount() int
func (*FakeRepository) Invocations ¶
func (fake *FakeRepository) Invocations() map[string][][]interface{}
func (*FakeRepository) RecentLogsFor ¶
func (fake *FakeRepository) RecentLogsFor(appGUID string) ([]logs.Loggable, error)
func (*FakeRepository) RecentLogsForArgsForCall ¶
func (fake *FakeRepository) RecentLogsForArgsForCall(i int) string
func (*FakeRepository) RecentLogsForCallCount ¶
func (fake *FakeRepository) RecentLogsForCallCount() int
func (*FakeRepository) RecentLogsForReturns ¶
func (fake *FakeRepository) RecentLogsForReturns(result1 []logs.Loggable, result2 error)
func (*FakeRepository) TailLogsFor ¶
func (fake *FakeRepository) TailLogsFor(appGUID string, onConnect func(), logChan chan<- logs.Loggable, errChan chan<- error)
func (*FakeRepository) TailLogsForArgsForCall ¶
func (*FakeRepository) TailLogsForCallCount ¶
func (fake *FakeRepository) TailLogsForCallCount() int
Click to show internal directories.
Click to hide internal directories.