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
1919import (
2020 "k8s.io/apimachinery/pkg/runtime"
2121 "k8s.io/apimachinery/pkg/runtime/schema"
22- "sigs.k8s.io/controller-runtime/pkg/webhook"
2322)
2423
25- var _ runtime.Object = (* FakeValidator )(nil )
26- var _ schema.ObjectKind = (* FakeValidator )(nil )
27- var _ webhook.Validator = (* FakeValidator )(nil )
28-
2924// FakeValidator provides fake validating webhook functionality for testing
3025// It implements the admission.Validator interface and
3126// rejects all requests with the same configured error
@@ -70,10 +65,6 @@ func (v *FakeValidator) SetGroupVersionKind(gvk schema.GroupVersionKind) {
7065 v .GVKToReturn = gvk
7166}
7267
73- var _ runtime.Object = (* FakeValidatorWarn )(nil )
74- var _ schema.ObjectKind = (* FakeValidatorWarn )(nil )
75- var _ webhook.ValidatorWarn = (* FakeValidatorWarn )(nil )
76-
7768// FakeValidatorWarn provides fake validating webhook functionality for testing
7869// It implements the admission.ValidatorWarn interface and
7970// rejects all requests with the same configured error
You can’t perform that action at this time.
0 commit comments