Documentation ¶
Index ¶
- type FakeLogSender
- func (fls *FakeLogSender) GetLogs() []Log
- func (fls *FakeLogSender) ScanErrorLogStream(appId, sourceType, sourceInstance string, reader io.Reader, ...)
- func (fls *FakeLogSender) ScanLogStream(appId, sourceType, sourceInstance string, reader io.Reader, ...)
- func (fls *FakeLogSender) SendAppErrorLog(appId, message, sourceType, sourceInstance string) error
- func (fls *FakeLogSender) SendAppLog(appId, message, sourceType, sourceInstance string) error
- type Log
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLogSender ¶
type FakeLogSender struct { ReturnError error sync.RWMutex // contains filtered or unexported fields }
func NewFakeLogSender ¶
func NewFakeLogSender() *FakeLogSender
func (*FakeLogSender) GetLogs ¶
func (fls *FakeLogSender) GetLogs() []Log
func (*FakeLogSender) ScanErrorLogStream ¶
func (fls *FakeLogSender) ScanErrorLogStream(appId, sourceType, sourceInstance string, reader io.Reader, stopChan chan struct{})
func (*FakeLogSender) ScanLogStream ¶
func (fls *FakeLogSender) ScanLogStream(appId, sourceType, sourceInstance string, reader io.Reader, stopChan chan struct{})
func (*FakeLogSender) SendAppErrorLog ¶
func (fls *FakeLogSender) SendAppErrorLog(appId, message, sourceType, sourceInstance string) error
func (*FakeLogSender) SendAppLog ¶
func (fls *FakeLogSender) SendAppLog(appId, message, sourceType, sourceInstance string) error
Click to show internal directories.
Click to hide internal directories.