Skip to content

Commit f0ee4e5

Browse files
authored
Remove internal api module (#12)
1 parent 7255ec0 commit f0ee4e5

File tree

5 files changed

+2
-124
lines changed

5 files changed

+2
-124
lines changed

go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ require (
88
github.com/onsi/ginkgo v1.16.5
99
github.com/onsi/ginkgo/v2 v2.22.0
1010
github.com/onsi/gomega v1.36.1
11-
github.com/openmcp-project/controller-utils/api v0.0.0-00010101000000-000000000000
1211
github.com/spf13/pflag v1.0.6
1312
github.com/stretchr/testify v1.10.0
1413
go.uber.org/zap v1.27.0
@@ -78,5 +77,3 @@ require (
7877
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
7978
sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect
8079
)
81-
82-
replace github.com/openmcp-project/controller-utils/api => ./pkg/api

pkg/api/go.mod

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

pkg/api/go.sum

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

pkg/clientconfig/clientconfig.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
ctrl "sigs.k8s.io/controller-runtime"
1818
"sigs.k8s.io/controller-runtime/pkg/client"
1919

20-
"github.com/openmcp-project/controller-utils/api"
20+
"github.com/openmcp-project/controller-utils/pkg/api"
2121
)
2222

2323
const (

pkg/clientconfig/clientconfig_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"k8s.io/utils/ptr"
1111
"sigs.k8s.io/controller-runtime/pkg/client"
1212

13-
"github.com/openmcp-project/controller-utils/api"
13+
"github.com/openmcp-project/controller-utils/pkg/api"
1414
)
1515

1616
type test_input struct {

0 commit comments

Comments
 (0)