cert-manager: github.com/jetstack/cert-manager/pkg/api/testing Index | Files

package testing

import "github.com/jetstack/cert-manager/pkg/api/testing"

Index

Package Files

bazel.go

func CRDDirectory Uses

func CRDDirectory(t *testing.T) string

func PathForCRD Uses

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

PathForCRD attempts to find a path to the named CRD. The 'name' is the name of the resource contained within the CRD as denoted by the filename, e.g. 'foobar' would find a CRD with a filename containing the word 'foobar'.

Package testing imports 4 packages (graph). Updated 2020-04-20. Refresh now. Tools for package owners.