test

package
v0.0.0-...-9fe8468 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package test contains specific test utilities which can be used by operator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSecretFromCert

func BuildSecretFromCert(name string, certName string) (*corev1.Secret, error)

Returns a secret object build from a certificate stored in the certificates directory

func PrettyPrint

func PrettyPrint(v interface{}) (err error)

Prints Object is a readable format

func ShouldRunIntegrationSetupAndTeardown

func ShouldRunIntegrationSetupAndTeardown(m *testing.M) bool

ShouldRunIntegrationSetupAndTeardown should skip this specific test if we are not running in integration testing mode

func SkipUnlessIntegrationTesting

func SkipUnlessIntegrationTesting(t *testing.T)

SkipUnlessIntegrationTesting should skip this specific test if we are not running in integration testing mode

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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