mocks

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 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 MockController

type MockController struct {
	WatchCalls []WatchCall
}

func (*MockController) Reconcile

func (*MockController) Start

func (m *MockController) Start(stop <-chan struct{}) error

func (*MockController) Watch

func (m *MockController) Watch(src source.Source, eventhandler handler.EventHandler, predicates ...predicate.Predicate) error

type WatchCall

type WatchCall struct {
	Src          source.Source
	Eventhandler handler.EventHandler
	Predicates   []predicate.Predicate
}

Jump to

Keyboard shortcuts

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