Back to godoc.org

Package testing

v0.16.1
Latest Go to latest

The latest major version is .

Published: Aug 7, 2020 | License: Apache-2.0 | Module: github.com/jetstack/cert-manager

Index

func CRDDirectory

func CRDDirectory(t *testing.T) string

func PathForCRD

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'.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier