helpers

package
v0.15.2-1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertNoError

func AssertNoError(t *testing.T, err error)

AssertNoError confirms the error returned is nil

func DeleteClusterCR

func DeleteClusterCR(t *testing.T, name string)

func DeletePipelineDeployment

func DeletePipelineDeployment(t *testing.T, dep *appsv1.Deployment)

func DeployOperator

func DeployOperator(t *testing.T, ctx *test.TestCtx) error

func ValidatePipelineCleanup

func ValidatePipelineCleanup(t *testing.T, cr *op.TektonPipeline, deployments ...string)

func ValidatePipelineSetup

func ValidatePipelineSetup(t *testing.T, cr *op.TektonPipeline, deployments ...string)

func WaitForClusterCR

func WaitForClusterCR(t *testing.T, name string, obj runtime.Object)

func WaitForClusterCRStatus

func WaitForClusterCRStatus(t *testing.T, name string, installStatus op.InstallStatus) error

func WaitForDeploymentDeletion

func WaitForDeploymentDeletion(t *testing.T, namespace, name string) error

WaitForDeploymentDeletion checks to see if a given deployment is deleted the function returns an error if the given deployment is not deleted within the timeout

Types

This section is empty.

Jump to

Keyboard shortcuts

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