# Functions
CrdExistsInDiscovery checks to see if the given CRD exists in discovery at all served versions.
CreateTestCRDs creates the given CRDs, any failure causes the test to Fatal.
GetCustomResourceDefinitionData returns the resource definitions that back the custom resources included in GetEtcdStorageData.
GetEtcdStorageData returns etcd data for all persisted objects.
GetEtcdStorageDataForNamespace returns etcd data for all persisted objects.
GetResources fetches the Resources associated with serverResources that support get and create.
JSONToUnstructured converts a JSON stub to unstructured.Unstructured and returns a dynamic resource client that can be used to interact with it.
StartRealMasterOrDie starts an API master that is appropriate for use in tests that require one of every resource.
# Structs
Master represents a running API server that is ready for use The Cleanup func must be deferred to prevent resource leaks.
Prerequisite contains information required to create a resource (but not verify it).
Resource contains REST mapping information for a specific resource and extra metadata such as delete collection support.
StorageData contains information required to create an object and verify its storage in etcd It must be paired with a specific resource.