smoketest

package
v4.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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