Documentation ¶
Index ¶
- Constants
- func ApiExtsClient() (apiexts.Interface, error)
- func GetNamespaces() ([]string, error)
- func IsDebuggerPresent() bool
- func KubeClient() (kubernetes.Interface, error)
- func MustApiExtsClient() apiexts.Interface
- func MustGetNamespaces() []string
- func MustKubeClient() kubernetes.Interface
- func RandString(length int) string
- func RegisterCommonFailHandlers()
- func RegisterPreFailHandler(prefail func())
- func SetupLog()
- func UseMemoryClients()
Constants ¶
View Source
const (
TestLabel = "test"
)
Variables ¶
This section is empty.
Functions ¶
func ApiExtsClient ¶
func GetNamespaces ¶
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 MustGetNamespaces ¶
func MustGetNamespaces() []string
func MustKubeClient ¶
func MustKubeClient() kubernetes.Interface
func RandString ¶
func RegisterCommonFailHandlers ¶
func RegisterCommonFailHandlers()
func RegisterPreFailHandler ¶
func RegisterPreFailHandler(prefail func())
func UseMemoryClients ¶
func UseMemoryClients()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.