smoketest

package
v4.2.2-rc.1+incompatible Latest Latest
Warning

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

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

README

smoketest requires:

  • pass in the kubeconfig path on the command line using --kubeconfig=/path/to/kubeconfig
  • pass in the cluster name on the command line using -clustername flag
  • pass in the namespace on the command line using -namespace flag

To run a single test:

go test -run TestCreateLabel -v --kubeconfig=/home/jeffmc/.kube/config -clustername=foomatic -namespace=pgouser1

To run all tests:

go test ./... -v --kubeconfig=/home/jeffmc/.kube/config -clustername=foomatic -namespace=pgouser1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Namespace       = "pgouser1"
	TestClusterName = "foomatic"
	SLEEP_SECS      = 10
)

Functions

func SetupKube

func SetupKube() (*kubernetes.Clientset, *rest.RESTClient)

Types

This section is empty.

Jump to

Keyboard shortcuts

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