tests

package
v0.1.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorTimeout = fmt.Errorf("timed out")

Functions

func WatchChangesUntil

func WatchChangesUntil(watch SspWatch, predicate func(updatedSsp *sspv1beta1.SSP) bool, timeout time.Duration) error

Types

type SspWatch

type SspWatch interface {
	Stop()
	Updates() <-chan *sspv1beta1.SSP
	Error() error
}

func StartWatch

func StartWatch(listerWatcher cache.ListerWatcher) (SspWatch, error)

Jump to

Keyboard shortcuts

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