File tree 9 files changed +11
-10
lines changed
9 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,10 @@ COPY go.sum go.sum
12
12
RUN go mod download
13
13
14
14
# Copy the go source
15
- COPY cmd/ cmd/
16
15
COPY api/ api/
16
+ COPY cmd/ cmd/
17
17
COPY internal/ internal/
18
+ COPY pkg/ pkg/
18
19
19
20
# Build
20
21
# the GOARCH has not a default value to allow the binary be built according to the host where the command
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ import (
35
35
"sigs.k8s.io/controller-runtime/pkg/webhook"
36
36
37
37
workloadv1beta2 "github.com/project-codeflare/appwrapper/api/v1beta2"
38
- "github.com/project-codeflare/appwrapper/internal /config"
39
- "github.com/project-codeflare/appwrapper/internal /controller"
38
+ "github.com/project-codeflare/appwrapper/pkg /config"
39
+ "github.com/project-codeflare/appwrapper/pkg /controller"
40
40
//+kubebuilder:scaffold:imports
41
41
)
42
42
Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ import (
36
36
kueue "sigs.k8s.io/kueue/apis/kueue/v1beta1"
37
37
38
38
workloadv1beta2 "github.com/project-codeflare/appwrapper/api/v1beta2"
39
- "github.com/project-codeflare/appwrapper/internal /config"
40
- "github.com/project-codeflare/appwrapper/internal /controller"
39
+ "github.com/project-codeflare/appwrapper/pkg /config"
40
+ "github.com/project-codeflare/appwrapper/pkg /controller"
41
41
//+kubebuilder:scaffold:imports
42
42
)
43
43
Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ import (
41
41
utilmaps "sigs.k8s.io/kueue/pkg/util/maps"
42
42
43
43
workloadv1beta2 "github.com/project-codeflare/appwrapper/api/v1beta2"
44
- "github.com/project-codeflare/appwrapper/internal/config"
45
44
"github.com/project-codeflare/appwrapper/internal/utils"
45
+ "github.com/project-codeflare/appwrapper/pkg/config"
46
46
)
47
47
48
48
const (
Original file line number Diff line number Diff line change @@ -29,9 +29,9 @@ import (
29
29
utilslices "sigs.k8s.io/kueue/pkg/util/slices"
30
30
31
31
workloadv1beta2 "github.com/project-codeflare/appwrapper/api/v1beta2"
32
- "github.com/project-codeflare/appwrapper/internal/config"
33
32
"github.com/project-codeflare/appwrapper/internal/controller/workload"
34
33
"github.com/project-codeflare/appwrapper/internal/utils"
34
+ "github.com/project-codeflare/appwrapper/pkg/config"
35
35
)
36
36
37
37
var _ = Describe ("AppWrapper Controller" , func () {
Original file line number Diff line number Diff line change @@ -39,9 +39,9 @@ import (
39
39
"sigs.k8s.io/kueue/pkg/controller/jobframework"
40
40
41
41
workloadv1beta2 "github.com/project-codeflare/appwrapper/api/v1beta2"
42
- "github.com/project-codeflare/appwrapper/internal/config"
43
42
wlc "github.com/project-codeflare/appwrapper/internal/controller/workload"
44
43
"github.com/project-codeflare/appwrapper/internal/utils"
44
+ "github.com/project-codeflare/appwrapper/pkg/config"
45
45
)
46
46
47
47
type AppWrapperWebhook struct {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ import (
46
46
"sigs.k8s.io/controller-runtime/pkg/webhook"
47
47
48
48
workloadv1beta2 "github.com/project-codeflare/appwrapper/api/v1beta2"
49
- "github.com/project-codeflare/appwrapper/internal /config"
49
+ "github.com/project-codeflare/appwrapper/pkg /config"
50
50
kueue "sigs.k8s.io/kueue/apis/kueue/v1beta1"
51
51
)
52
52
File renamed without changes.
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ import (
23
23
24
24
ctrl "sigs.k8s.io/controller-runtime"
25
25
26
- "github.com/project-codeflare/appwrapper/internal/config"
27
26
"github.com/project-codeflare/appwrapper/internal/controller/appwrapper"
28
27
"github.com/project-codeflare/appwrapper/internal/controller/workload"
29
28
"github.com/project-codeflare/appwrapper/internal/webhook"
29
+ "github.com/project-codeflare/appwrapper/pkg/config"
30
30
31
31
"sigs.k8s.io/kueue/pkg/controller/jobframework"
32
32
)
You can’t perform that action at this time.
0 commit comments