helpers

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TestLabel = "test"
)

Variables

This section is empty.

Functions

func ApiExtsClient

func ApiExtsClient() (apiexts.Interface, error)

func GetNamespaces

func GetNamespaces() ([]string, error)

Note: requires RBAC permission to list namespaces at the cluster level

func IsDebuggerPresent

func IsDebuggerPresent() bool

func KubeClient

func KubeClient() (kubernetes.Interface, error)

func MustApiExtsClient

func MustApiExtsClient() apiexts.Interface

func MustGetNamespaces

func MustGetNamespaces() []string

func MustKubeClient

func MustKubeClient() kubernetes.Interface

func RandString

func RandString(length int) string

func RandStringGinkgo added in v0.10.19

func RandStringGinkgo(length int, ginkgoSeed int64, node int) string

func RegisterCommonFailHandlers

func RegisterCommonFailHandlers()

func RegisterPreFailHandler

func RegisterPreFailHandler(prefail func())

func SetupLog

func SetupLog()

func UseMemoryClients

func UseMemoryClients()

Types

This section is empty.

Jump to

Keyboard shortcuts

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