type Checker …
func checks(checkers ...Checker) []Checker { … }
func TestWebhookConverterWithWatchCache(t *testing.T) { … }
func TestWebhookConverterWithoutWatchCache(t *testing.T) { … }
func testWebhookConverter(t *testing.T, watchCache bool) { … }
func validateStorageVersion(t *testing.T, ctc *conversionTestContext) { … }
func validateMixedStorageVersions(versions ...string) func(t *testing.T, ctc *conversionTestContext) { … }
func validateServed(t *testing.T, ctc *conversionTestContext) { … }
func validateNonTrivialConverted(t *testing.T, ctc *conversionTestContext) { … }
func validateNonTrivialConvertedList(t *testing.T, ctc *conversionTestContext) { … }
func validateStoragePruning(t *testing.T, ctc *conversionTestContext) { … }
func validateObjectMetaMutation(t *testing.T, ctc *conversionTestContext) { … }
func validateObjectMetaMutationObject(t *testing.T, expectAnnotations, expectLabels bool, obj *unstructured.Unstructured) { … }
func validateUIDMutation(t *testing.T, ctc *conversionTestContext) { … }
func validateDefaulting(t *testing.T, ctc *conversionTestContext) { … }
func expectConversionFailureMessage(id, message string) func(t *testing.T, ctc *conversionTestContext) { … }
func noopConverter(desiredAPIVersion string, obj runtime.RawExtension) (runtime.RawExtension, error) { … }
func emptyV1ResponseConverter(review *apiextensionsv1.ConversionReview) (*apiextensionsv1.ConversionReview, error) { … }
func emptyV1Beta1ResponseConverter(review *apiextensionsv1beta1.ConversionReview) (*apiextensionsv1beta1.ConversionReview, error) { … }
func failureV1ResponseConverter(message string) func(review *apiextensionsv1.ConversionReview) (*apiextensionsv1.ConversionReview, error) { … }
func failureV1Beta1ResponseConverter(message string) func(review *apiextensionsv1beta1.ConversionReview) (*apiextensionsv1beta1.ConversionReview, error) { … }
func nontrivialConverter(desiredAPIVersion string, obj runtime.RawExtension) (runtime.RawExtension, error) { … }
func metadataMutatingConverter(desiredAPIVersion string, obj runtime.RawExtension) (runtime.RawExtension, error) { … }
func uidMutatingConverter(desiredAPIVersion string, obj runtime.RawExtension) (runtime.RawExtension, error) { … }
func newConversionTestContext(t *testing.T, apiExtensionsClient clientset.Interface, dynamicClient dynamic.Interface, etcdObjectReader *storage.EtcdObjectReader, v1CRD *apiextensionsv1.CustomResourceDefinition) (func(), *conversionTestContext) { … }
type conversionTestContext …
func (c *conversionTestContext) versionedClient(ns string, version string) dynamic.ResourceInterface { … }
func (c *conversionTestContext) versionedClients(ns string) map[string]dynamic.ResourceInterface { … }
func (c *conversionTestContext) setConversionWebhook(t *testing.T, webhookClientConfig *apiextensionsv1.WebhookClientConfig, reviewVersions []string) { … }
func (c *conversionTestContext) removeConversionWebhook(t *testing.T) { … }
func (c *conversionTestContext) setAndWaitStorageVersion(t *testing.T, version string) { … }
func (c *conversionTestContext) setStorageVersion(t *testing.T, version string) { … }
func (c *conversionTestContext) waitForStorageVersion(t *testing.T, version string, versionedClient dynamic.ResourceInterface, obj *unstructured.Unstructured) *unstructured.Unstructured { … }
func (c *conversionTestContext) setServed(t *testing.T, version string, served bool) { … }
func (c *conversionTestContext) waitForServed(t *testing.T, version string, served bool, versionedClient dynamic.ResourceInterface, obj *unstructured.Unstructured) { … }
var multiVersionFixture …
func newConversionMultiVersionFixture(namespace, name, version string) *unstructured.Unstructured { … }
func verifyMultiVersionObject(t *testing.T, v string, obj *unstructured.Unstructured) { … }
func closeOnCall(h http.Handler) (chan struct{ … }
func jsonPtr(x interface{ … }