Tests that check metav1

This commit is contained in:
Clayton Coleman
2017-01-21 18:28:51 -05:00
parent f623a8c908
commit c12344b3b8
4 changed files with 4 additions and 3 deletions

View File

@@ -81,6 +81,7 @@ var typesAllowedTags = map[reflect.Type]bool{
reflect.TypeOf(metav1.LabelSelector{}): true,
reflect.TypeOf(metav1.GetOptions{}): true,
reflect.TypeOf(metav1.ExportOptions{}): true,
reflect.TypeOf(metav1.ListOptions{}): true,
}
func ensureNoTags(t *testing.T, gvk schema.GroupVersionKind, tp reflect.Type, parents []reflect.Type) {