- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestParseResourceArg (0.36 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/schema/group_version_test.go
} for i, test := range tests { out := ParseGroupResource(test.input) if out != test.out { t.Errorf("%d: unexpected output: %#v", i, out) } } } func TestParseResourceArg(t *testing.T) { tests := []struct { input string gvr *GroupVersionResource gr GroupResource }{ {input: "v1", gr: GroupResource{Resource: "v1"}}, {input: ".v1", gr: GroupResource{Group: "v1"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 15 01:46:00 UTC 2022 - 7.2K bytes - Viewed (0)