eventsmocks

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Stream

type Stream struct {
	mock.Mock
}

Stream is an autogenerated mock type for the Stream type

func (*Stream) AddOrUpdateListener

func (_m *Stream) AddOrUpdateListener(ctx context.Context, id *fftypes.UUID, updates *apitypes.Listener, reset bool) (*apitypes.Listener, error)

AddOrUpdateListener provides a mock function with given fields: ctx, id, updates, reset

func (*Stream) Delete

func (_m *Stream) Delete(ctx context.Context) error

Delete provides a mock function with given fields: ctx

func (*Stream) RemoveListener

func (_m *Stream) RemoveListener(ctx context.Context, id *fftypes.UUID) error

RemoveListener provides a mock function with given fields: ctx, id

func (*Stream) Spec

func (_m *Stream) Spec() *apitypes.EventStream

Spec provides a mock function with given fields:

func (*Stream) Start

func (_m *Stream) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

func (*Stream) Status

func (_m *Stream) Status() apitypes.EventStreamStatus

Status provides a mock function with given fields:

func (*Stream) Stop

func (_m *Stream) Stop(ctx context.Context) error

Stop provides a mock function with given fields: ctx

func (*Stream) UpdateSpec

func (_m *Stream) UpdateSpec(ctx context.Context, updates *apitypes.EventStream) error

UpdateSpec provides a mock function with given fields: ctx, updates

Jump to

Keyboard shortcuts

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