mocks

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: Apache-2.0 Imports: 7 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) GetLogger added in v0.2.0

func (m *MockController) GetLogger() logr.Logger

func (*MockController) Reconcile

func (*MockController) Start

func (m *MockController) Start(context.Context) 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