setup

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package setup provides utility functions for setting up and tearing down tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitK8sClients added in v0.0.4

func InitK8sClients(t *testing.T) (*kubernetes.Clientset, *versioned.Clientset)

InitK8sClients initializes a k8s client and a Tekton client.

func SetupTest added in v0.0.3

func SetupTest(t *testing.T, client *kubernetes.Clientset, tektonYAMLPath string) string

SetupTest creates a temporary namespace for testing and returns the namespace name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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