Skip to content

Commit 65a93df

Browse files
committed
Remove pkg/internal/admission
It's not used anywhere any more.
1 parent e08eee7 commit 65a93df

11 files changed

+2
-501
lines changed

hack/test-all.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ header_text "running coverage"
2828

2929
# Verify no coverage regressions have been introduced. Remove the exception list from here
3030
# once the coverage has been brought back up
31-
if [[ ! $(go test ./pkg/... -coverprofile cover.out -parallel 4 | grep -v "coverage: 100.0% of statements" | grep "controller-runtime/pkg " | grep -v "controller-runtime/pkg \|controller-runtime/pkg/recorder \|pkg/admission/certprovisioner \|pkg/internal/admission \|pkg/cache\|pkg/client \|pkg/event \|pkg/client/config \|pkg/controller/controllertest \|pkg/reconcile/reconciletest \|pkg/test ") ]]; then
31+
if [[ ! $(go test ./pkg/... -coverprofile cover.out -parallel 4 | grep -v "coverage: 100.0% of statements" | grep "controller-runtime/pkg " | grep -v "controller-runtime/pkg \|controller-runtime/pkg/recorder \|pkg/cache\|pkg/client \|pkg/event \|pkg/client/config \|pkg/controller/controllertest \|pkg/reconcile/reconciletest \|pkg/test ") ]]; then
3232
echo "ok"
3333
else
34-
go test ./pkg/... -coverprofile cover.out -parallel 4 | grep -v "coverage: 100.0% of statements" | grep "controller-runtime/pkg " | grep -v "controller-runtime/pkg \|controller-runtime/pkg/recorder \|pkg/admission/certprovisioner \|pkg/internal/admission \|pkg/cache\|pkg/client \|pkg/event \|pkg/client/config \|pkg/controller/controllertest \|pkg/reconcile/reconciletest \|pkg/test "
34+
go test ./pkg/... -coverprofile cover.out -parallel 4 | grep -v "coverage: 100.0% of statements" | grep "controller-runtime/pkg " | grep -v "controller-runtime/pkg \|controller-runtime/pkg/recorder \|pkg/cache\|pkg/client \|pkg/event \|pkg/client/config \|pkg/controller/controllertest \|pkg/reconcile/reconciletest \|pkg/test "
3535
echo "missing test coverage"
3636
exit 1
3737
fi

pkg/internal/admission/decode.go

-48
This file was deleted.

pkg/internal/admission/doc.go

-18
This file was deleted.

pkg/internal/admission/example_admissionfunc_test.go

-42
This file was deleted.

pkg/internal/admission/example_decode_test.go

-47
This file was deleted.

pkg/internal/admission/example_handlefunc_test.go

-59
This file was deleted.

pkg/internal/admission/example_test.go

-43
This file was deleted.

pkg/internal/admission/handler.go

-72
This file was deleted.

0 commit comments

Comments
 (0)