harness

package
v0.0.0-...-5453b1d Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindFreeLocalAddr

func FindFreeLocalAddr() (string, error)

func SetupServer

func SetupServer(t *testing.T) (k8sConfig *rest.Config, k8sClient client.Client, k8sMgr manager.Manager)

func SetupTestEnv

func SetupTestEnv(t *testing.T, reconcilers ...Setupable) (k8sClient client.Client, k8sConfig *rest.Config, k8sMgr manager.Manager)

Types

type Setupable

type Setupable interface {
	SetupWithManager(mgr ctrl.Manager) error
}

Jump to

Keyboard shortcuts

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