File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
pkg/webhook/admission/admissiontest Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,8 @@ package admissiontest
19
19
import (
20
20
"k8s.io/apimachinery/pkg/runtime"
21
21
"k8s.io/apimachinery/pkg/runtime/schema"
22
- "sigs.k8s.io/controller-runtime/pkg/webhook"
23
22
)
24
23
25
- var _ runtime.Object = (* FakeValidator )(nil )
26
- var _ schema.ObjectKind = (* FakeValidator )(nil )
27
- var _ webhook.Validator = (* FakeValidator )(nil )
28
-
29
24
// FakeValidator provides fake validating webhook functionality for testing
30
25
// It implements the admission.Validator interface and
31
26
// rejects all requests with the same configured error
@@ -70,10 +65,6 @@ func (v *FakeValidator) SetGroupVersionKind(gvk schema.GroupVersionKind) {
70
65
v .GVKToReturn = gvk
71
66
}
72
67
73
- var _ runtime.Object = (* FakeValidatorWarn )(nil )
74
- var _ schema.ObjectKind = (* FakeValidatorWarn )(nil )
75
- var _ webhook.ValidatorWarn = (* FakeValidatorWarn )(nil )
76
-
77
68
// FakeValidatorWarn provides fake validating webhook functionality for testing
78
69
// It implements the admission.ValidatorWarn interface and
79
70
// rejects all requests with the same configured error
You can’t perform that action at this time.
0 commit comments