mocks

package
v0.3.78-rc-dac1cf3 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeEventReporter

type FakeEventReporter struct {
	ReceivedEvents []reporter.EventMessage
	ErrorOnReport  bool
}

func NewFakeEventReporter

func NewFakeEventReporter() *FakeEventReporter

func (*FakeEventReporter) QueueEvent

func (f *FakeEventReporter) QueueEvent(event reporter.EventMessage, callback func(error))

func (*FakeEventReporter) Report

func (f *FakeEventReporter) Report(events []reporter.EventMessage) error

Jump to

Keyboard shortcuts

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