tests

package
v0.19.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

Functions

func WatchChangesUntil

func WatchChangesUntil(watch SspWatch, predicate func(updatedSsp *ssp.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 *ssp.SSP
	Error() error
}

func StartWatch

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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