tests

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name of the KIND cluster used for testing
	DefaultKindClusterName = "porter"

	// Relative location of the KUBECONFIG for the test cluster
	Kubeconfig = "kind.config"
)

Variables

This section is empty.

Functions

func CreateTestCluster

func CreateTestCluster()

Create a KIND cluster named porter.

func DeleteTestCluster

func DeleteTestCluster()

Delete the KIND cluster named porter.

func EnsureKubectl

func EnsureKubectl()

Ensure kubectl is installed.

func EnsureTestCluster

func EnsureTestCluster()

Ensure that the test KIND cluster is up.

Types

This section is empty.

Jump to

Keyboard shortcuts

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