kafkamock

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() auacornapi.Acorn

Types

type Impl

type Impl struct {
	Callback repository.ReceiverCallback

	Recording []repository.UpdateEvent
}

func (*Impl) AcornName

func (r *Impl) AcornName() string

func (*Impl) AssembleAcorn

func (r *Impl) AssembleAcorn(_ auacornapi.AcornRegistry) error

func (*Impl) IsKafka

func (r *Impl) IsKafka() bool

func (*Impl) Receive

func (r *Impl) Receive(incomingEvent repository.UpdateEvent)

func (*Impl) Reset

func (r *Impl) Reset()

func (*Impl) Send

func (r *Impl) Send(_ context.Context, event repository.UpdateEvent) error

func (*Impl) SetupAcorn

func (r *Impl) SetupAcorn(_ auacornapi.AcornRegistry) error

func (*Impl) StartReceiveLoop

func (r *Impl) StartReceiveLoop(ctx context.Context) error

func (*Impl) SubscribeIncoming

func (r *Impl) SubscribeIncoming(_ context.Context, callback repository.ReceiverCallback) error

func (*Impl) TeardownAcorn

func (r *Impl) TeardownAcorn(_ auacornapi.AcornRegistry) error

Jump to

Keyboard shortcuts

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