fakes

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeReflector

type FakeReflector struct {
	Running utils.AtomicBool
	Closed  utils.AtomicBool
	Events  chan string
}

func NewFakeReflector

func NewFakeReflector() *FakeReflector

func (*FakeReflector) Close

func (r *FakeReflector) Close() error

func (*FakeReflector) NextEvent

func (r *FakeReflector) NextEvent(ctx context.Context) string

func (*FakeReflector) SendEvent

func (r *FakeReflector) SendEvent(name string)

func (*FakeReflector) Start

func (r *FakeReflector) Start(ctx context.Context) error

func (*FakeReflector) Stop

func (r *FakeReflector) Stop()

Jump to

Keyboard shortcuts

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