mocks

package
v2.5.21 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 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 Broadcaster

type Broadcaster struct {
	mock.Mock
}

Broadcaster is an autogenerated mock type for the Broadcaster type

func NewBroadcaster

func NewBroadcaster(t mockConstructorTestingTNewBroadcaster) *Broadcaster

NewBroadcaster creates a new instance of Broadcaster. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Broadcaster) OnAdd

func (_m *Broadcaster) OnAdd(_a0 interface{})

OnAdd provides a mock function with given fields: _a0

func (*Broadcaster) OnDelete

func (_m *Broadcaster) OnDelete(_a0 interface{})

OnDelete provides a mock function with given fields: _a0

func (*Broadcaster) OnUpdate

func (_m *Broadcaster) OnUpdate(_a0 interface{}, _a1 interface{})

OnUpdate provides a mock function with given fields: _a0, _a1

func (*Broadcaster) Subscribe

func (_m *Broadcaster) Subscribe(ch chan *v1alpha1.ApplicationWatchEvent, filters ...func(*v1alpha1.ApplicationWatchEvent) bool) func()

Subscribe provides a mock function with given fields: ch, filters

Jump to

Keyboard shortcuts

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