Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CleanCrdFn ¶
type CleanCrdFn func() error
CleanCrdFn declares the clean up function needed to remove the CRD
type Option ¶
type Option func(crd *apiextensionsv1beta1.CustomResourceDefinition)
Option is a modifier for a CRD object used to customize CreateMultiVersionTestCRD and CreateTestCRD.
type TestCrd ¶
type TestCrd struct { APIExtensionClient *crdclientset.Clientset Crd *apiextensionsv1beta1.CustomResourceDefinition DynamicClients map[string]dynamic.ResourceInterface CleanUp CleanCrdFn }
TestCrd holds all the pieces needed to test with the CRD
Click to show internal directories.
Click to hide internal directories.