Skip to content

Commit 06137e5

Browse files
authored
Removing the pkg/ directory from the project. (kubernetes-sigs#89)
We have moved all the packages code to internal/ directory and this is some leftovers. Signed-off-by: Yoni Bettan <[email protected]>
1 parent 0a0a451 commit 06137e5

File tree

9 files changed

+6
-74
lines changed

9 files changed

+6
-74
lines changed

Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ COPY main.go main.go
1616
COPY api api
1717
COPY controllers controllers
1818
COPY internal internal
19-
COPY pkg pkg
2019

2120
# Copy Makefile
2221
COPY Makefile Makefile

controllers/suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
. "github.com/onsi/ginkgo/v2"
2323
. "github.com/onsi/gomega"
24-
"github.com/qbarrand/oot-operator/pkg/test"
24+
"github.com/qbarrand/oot-operator/internal/test"
2525
"k8s.io/apimachinery/pkg/runtime"
2626
//+kubebuilder:scaffold:imports
2727
)

internal/build/job/suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
. "github.com/onsi/ginkgo/v2"
77
. "github.com/onsi/gomega"
8-
"github.com/qbarrand/oot-operator/pkg/test"
8+
"github.com/qbarrand/oot-operator/internal/test"
99
"k8s.io/apimachinery/pkg/runtime"
1010
)
1111

internal/build/suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
. "github.com/onsi/ginkgo/v2"
77
. "github.com/onsi/gomega"
8-
"github.com/qbarrand/oot-operator/pkg/test"
8+
"github.com/qbarrand/oot-operator/internal/test"
99
"k8s.io/apimachinery/pkg/runtime"
1010
)
1111

internal/daemonset/suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
. "github.com/onsi/ginkgo/v2"
2323
. "github.com/onsi/gomega"
24-
"github.com/qbarrand/oot-operator/pkg/test"
24+
"github.com/qbarrand/oot-operator/internal/test"
2525
"k8s.io/apimachinery/pkg/runtime"
2626
//+kubebuilder:scaffold:imports
2727
)

internal/filter/suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
. "github.com/onsi/ginkgo/v2"
77
. "github.com/onsi/gomega"
8-
"github.com/qbarrand/oot-operator/pkg/test"
8+
"github.com/qbarrand/oot-operator/internal/test"
99
"k8s.io/apimachinery/pkg/runtime"
1010
)
1111

internal/module/suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
. "github.com/onsi/ginkgo/v2"
77
. "github.com/onsi/gomega"
8-
"github.com/qbarrand/oot-operator/pkg/test"
8+
"github.com/qbarrand/oot-operator/internal/test"
99
"k8s.io/apimachinery/pkg/runtime"
1010
)
1111

File renamed without changes.

pkg/test/client.go

-67
This file was deleted.

0 commit comments

Comments
 (0)