testutil

package
v0.17.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PkgModCrdsSubpath = "config/crd/bases"
	IgnoreOwnModPath  = true
)

Functions

func ExpectConditionToBeFalse

func ExpectConditionToBeFalse(g gomega.Gomega, condition *metav1.Condition, reason string)

func ExpectConditionToBeTrue

func ExpectConditionToBeTrue(g gomega.Gomega, condition *metav1.Condition, reason string)

func ExpectConditionToMatch

func ExpectConditionToMatch(g gomega.Gomega, condition *metav1.Condition, reason string, toBeTrue bool)

func GetCrdPaths

func GetCrdPaths(modPathRE string) (paths []string, err error)

GetCrdPaths will detect matching module paths from go.mod and return the CRD paths The go.mod file is detected by traversing the directory tree starting from the current working directory

func GetCrdPathsOrDie

func GetCrdPathsOrDie(modPathRE string) []string

GetCrdPathsOrDie same as LoadCrdPaths but panics on error

Types

This section is empty.

Jump to

Keyboard shortcuts

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