Skip to content

Commit 89dfb30

Browse files
committed
Remove pkg/internal/admission
It's not used anywhere any more.
1 parent ceeccc1 commit 89dfb30

File tree

11 files changed

+2
-501
lines changed

11 files changed

+2
-501
lines changed

hack/test-all.sh

Lines changed: 2 additions & 2 deletions
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

Lines changed: 0 additions & 48 deletions
This file was deleted.

pkg/internal/admission/doc.go

Lines changed: 0 additions & 18 deletions
This file was deleted.

pkg/internal/admission/example_admissionfunc_test.go

Lines changed: 0 additions & 42 deletions
This file was deleted.

pkg/internal/admission/example_decode_test.go

Lines changed: 0 additions & 47 deletions
This file was deleted.

pkg/internal/admission/example_handlefunc_test.go

Lines changed: 0 additions & 59 deletions
This file was deleted.

pkg/internal/admission/example_test.go

Lines changed: 0 additions & 43 deletions
This file was deleted.

pkg/internal/admission/handler.go

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)