File tree Expand file tree Collapse file tree 2 files changed +3
-22
lines changed Expand file tree Collapse file tree 2 files changed +3
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,17 +14,16 @@ See the License for the specific language governing permissions and
14
14
limitations under the License.
15
15
*/
16
16
17
- package admissiontest
17
+ package admission
18
18
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
24
var _ runtime.Object = (* FakeValidator )(nil )
26
25
var _ schema.ObjectKind = (* FakeValidator )(nil )
27
- var _ webhook. Validator = (* FakeValidator )(nil )
26
+ var _ Validator = (* FakeValidator )(nil )
28
27
29
28
// FakeValidator provides fake validating webhook functionality for testing
30
29
// It implements the admission.Validator interface and
@@ -72,7 +71,7 @@ func (v *FakeValidator) SetGroupVersionKind(gvk schema.GroupVersionKind) {
72
71
73
72
var _ runtime.Object = (* FakeValidatorWarn )(nil )
74
73
var _ schema.ObjectKind = (* FakeValidatorWarn )(nil )
75
- var _ webhook. ValidatorWarn = (* FakeValidatorWarn )(nil )
74
+ var _ ValidatorWarn = (* FakeValidatorWarn )(nil )
76
75
77
76
// FakeValidatorWarn provides fake validating webhook functionality for testing
78
77
// It implements the admission.ValidatorWarn interface and
You can’t perform that action at this time.
0 commit comments