helpers

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 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 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