Documentation ¶ Index ¶ func EnsureGroupVersionKind(t *testing.T, scheme *runtime.Scheme, obj client.Object) client.Object Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func EnsureGroupVersionKind ¶ func EnsureGroupVersionKind(t *testing.T, scheme *runtime.Scheme, obj client.Object) client.Object EnsureGroupVersionKind ensures that the object has a valid GroupVersionKind set. It does modify the object and also returns the modified object for convenience. Types ¶ This section is empty. Source Files ¶ View all Source files testutils.go Click to show internal directories. Click to hide internal directories.