setup

package
v0.0.2 Latest Latest
Warning

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

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

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

InitK8sClients initializes a k8s client and a Tekton client.

func SetupTest

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