File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ var _ = Describe("Scheme", func() {
42
42
Expect (s .AllKnownTypes ()[gv .WithKind ("PodList" )]).To (Equal (reflect .TypeOf (corev1.PodList {})))
43
43
44
44
// Base types
45
+ Expect (s .AllKnownTypes ()).To (HaveKey (gv .WithKind ("CreateOptions" )))
45
46
Expect (s .AllKnownTypes ()).To (HaveKey (gv .WithKind ("UpdateOptions" )))
46
47
Expect (s .AllKnownTypes ()).To (HaveKey (gv .WithKind ("PatchOptions" )))
47
48
Expect (s .AllKnownTypes ()).To (HaveKey (gv .WithKind ("DeleteOptions" )))
@@ -84,6 +85,7 @@ var _ = Describe("Scheme", func() {
84
85
Expect (s .AllKnownTypes ()[gv2 .WithKind ("Deployment" )]).To (Equal (reflect .TypeOf (appsv1.Deployment {})))
85
86
86
87
// Base types
88
+ Expect (s .AllKnownTypes ()).To (HaveKey (gv1 .WithKind ("CreateOptions" )))
87
89
Expect (s .AllKnownTypes ()).To (HaveKey (gv1 .WithKind ("UpdateOptions" )))
88
90
Expect (s .AllKnownTypes ()).To (HaveKey (gv1 .WithKind ("PatchOptions" )))
89
91
Expect (s .AllKnownTypes ()).To (HaveKey (gv1 .WithKind ("DeleteOptions" )))
@@ -95,6 +97,7 @@ var _ = Describe("Scheme", func() {
95
97
internalGv1 := schema.GroupVersion {Group : "core" , Version : "__internal" }
96
98
Expect (s .AllKnownTypes ()).To (HaveKey (internalGv1 .WithKind ("WatchEvent" )))
97
99
100
+ Expect (s .AllKnownTypes ()).To (HaveKey (gv2 .WithKind ("CreateOptions" )))
98
101
Expect (s .AllKnownTypes ()).To (HaveKey (gv2 .WithKind ("UpdateOptions" )))
99
102
Expect (s .AllKnownTypes ()).To (HaveKey (gv2 .WithKind ("PatchOptions" )))
100
103
Expect (s .AllKnownTypes ()).To (HaveKey (gv2 .WithKind ("DeleteOptions" )))
You can’t perform that action at this time.
0 commit comments