test

package
v0.0.0-...-54d0854 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvIntegrationTests = "RECONCILER_INTEGRATION_TESTS"
)

Variables

This section is empty.

Functions

func DisableIntegrationTests

func DisableIntegrationTests() error

func EnableIntegrationTests

func EnableIntegrationTests() error

func GetConfigFile

func GetConfigFile() (string, error)

func IntegrationTest

func IntegrationTest(t *testing.T)

func ReadFile

func ReadFile(t *testing.T, file string) []byte

func ReadKubeconfig

func ReadKubeconfig(t *testing.T) string

func ReadManifest

func ReadManifest(t *testing.T, fileName string) string

func ReadManifestToUnstructured

func ReadManifestToUnstructured(t *testing.T, filename string) []*unstructured.Unstructured

func RestConfig

func RestConfig(t *testing.T, kubeconfig string) *rest.Config

Types

This section is empty.

Jump to

Keyboard shortcuts

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