env

package
v0.0.0-...-b5abb6b Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: BSD-3-Clause Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubeApiServerEnvVariable           = "TEST_ASSET_KUBE_APISERVER"
	EtcdEnvVariable                    = "TEST_ASSET_ETCD"
	KubebuilderControlPlaneStopTimeout = "KUBEBUILDER_CONTROLPLANE_STOP_TIMEOUT"
	KubeApiServerBinaryName            = "kube-apiserver"
	EtcdBinaryName                     = "etcd"
)

Variables

View Source
var CrdPathsToAdd []string

Functions

func InstallCRDs

func InstallCRDs() error

func ResetEnv

func ResetEnv()

func ResetEtcd

func ResetEtcd()

func TearDownTestEnv

func TearDownTestEnv()

func TearUpTestEnv

func TearUpTestEnv(testBinariesPath string, crdPaths ...string)

Types

type LocalConfig

type LocalConfig struct {
	CertDir    string
	KubeConfig string
}
var LocalCfg LocalConfig

Jump to

Keyboard shortcuts

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