tests

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 20 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 PortForwarder added in v0.2.0

type PortForwarder interface {
	Connect(pod *core.Pod, remotePort uint16) (net.Conn, error)
}

func NewPortForwarder added in v0.2.0

func NewPortForwarder(config *rest.Config, client rest.Interface) PortForwarder

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