Skip to content

Commit f52c87b

Browse files
committed
adjust remaining refs towards new repo
1 parent 4c494bc commit f52c87b

File tree

17 files changed

+30
-30
lines changed

17 files changed

+30
-30
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ go 1.19
55
require (
66
github.com/Masterminds/sprig/v3 v3.2.3
77
github.com/pkg/errors v0.9.1
8+
github.com/sap/go-generics v0.1.0
89
github.com/spf13/pflag v1.0.5
9-
github.tools.sap/cs-devops/go-generics v0.0.2
1010
k8s.io/api v0.26.2
1111
k8s.io/apiextensions-apiserver v0.26.2
1212
k8s.io/apimachinery v0.26.2
@@ -20,7 +20,6 @@ require (
2020
)
2121

2222
require (
23-
golang.org/x/net v0.7.0 // indirect
2423
github.com/Masterminds/goutils v1.1.1 // indirect
2524
github.com/Masterminds/semver/v3 v3.2.0 // indirect
2625
github.com/beorn7/perks v1.0.1 // indirect
@@ -64,6 +63,7 @@ require (
6463
github.com/xlab/treeprint v1.1.0 // indirect
6564
go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 // indirect
6665
golang.org/x/crypto v0.5.0 // indirect
66+
golang.org/x/net v0.7.0 // indirect
6767
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
6868
golang.org/x/sys v0.5.0 // indirect
6969
golang.org/x/term v0.5.0 // indirect

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1
260260
github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo=
261261
github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4=
262262
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
263+
github.com/sap/go-generics v0.1.0 h1:KULBMVpCZsNkx9+gEAHRAauvMX2ZeIIJ4k2wrQnA1BI=
264+
github.com/sap/go-generics v0.1.0/go.mod h1:8L5jyDKi/FHKG/R+qwyy9h1TymA7XO5YSu+J/27gTCg=
263265
github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
264266
github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ=
265267
github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
@@ -292,8 +294,6 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de
292294
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
293295
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
294296
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
295-
github.tools.sap/cs-devops/go-generics v0.0.2 h1:TuWjPmmVEiFS322FfxH1pDPhQXwXZ0fSt1IUKdtHmas=
296-
github.tools.sap/cs-devops/go-generics v0.0.2/go.mod h1:Mm/S+J1+u7VNTixBp/WZpqD+7GFOsLdyAdfTiXYbAzw=
297297
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
298298
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
299299
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=

internal/helm/capabilities.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ limitations under the License.
1717
package helm
1818

1919
import (
20-
"github.tools.sap/cs-devops/go-generics/slices"
20+
"github.com/sap/go-generics/slices"
21+
2122
"k8s.io/client-go/discovery"
2223
)
2324

internal/helm/hooks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"strings"
2323

2424
"github.com/pkg/errors"
25+
2526
"sigs.k8s.io/controller-runtime/pkg/client"
2627
)
2728

pkg/component/component.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ package component
1919
import (
2020
"reflect"
2121

22-
"github.com/sap/component-operator-runtime/pkg/types"
2322
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2423
"k8s.io/apimachinery/pkg/runtime/schema"
24+
25+
"github.com/sap/component-operator-runtime/pkg/types"
2526
)
2627

2728
// Instantiate given Component type T; panics unless T is a pointer type.

pkg/component/reconcile.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727
"time"
2828

2929
"github.com/pkg/errors"
30+
"github.com/sap/go-generics/slices"
3031

3132
corev1 "k8s.io/api/core/v1"
3233
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
@@ -51,8 +52,6 @@ import (
5152
"sigs.k8s.io/controller-runtime/pkg/log"
5253
"sigs.k8s.io/controller-runtime/pkg/predicate"
5354

54-
"github.tools.sap/cs-devops/go-generics/slices"
55-
5655
"github.com/sap/component-operator-runtime/internal/backoff"
5756
"github.com/sap/component-operator-runtime/pkg/manifests"
5857
"github.com/sap/component-operator-runtime/pkg/types"

pkg/component/types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ limitations under the License.
1717
package component
1818

1919
import (
20-
"github.com/sap/component-operator-runtime/pkg/types"
2120
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2221
"sigs.k8s.io/controller-runtime/pkg/client"
22+
23+
"github.com/sap/component-operator-runtime/pkg/types"
2324
)
2425

2526
// Component is the central interface that component operators have to implement.

pkg/component/util.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,16 @@ import (
2020
"crypto/sha256"
2121
"encoding/hex"
2222

23-
"github.com/sap/component-operator-runtime/pkg/types"
24-
"github.tools.sap/cs-devops/go-generics/slices"
23+
"github.com/sap/go-generics/slices"
24+
2525
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
2626
"k8s.io/apimachinery/pkg/api/meta"
2727
"k8s.io/apimachinery/pkg/labels"
2828
"k8s.io/apimachinery/pkg/runtime/schema"
2929
apiregistrationv1 "k8s.io/kube-aggregator/pkg/apis/apiregistration/v1"
3030
"sigs.k8s.io/controller-runtime/pkg/client"
31+
32+
"github.com/sap/component-operator-runtime/pkg/types"
3133
)
3234

3335
func sha256hash(data []byte) string {

pkg/manifests/generator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ package manifests
1818

1919
import (
2020
"github.com/pkg/errors"
21+
2122
"sigs.k8s.io/controller-runtime/pkg/client"
2223

2324
"github.com/sap/component-operator-runtime/pkg/types"

pkg/manifests/helm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ import (
2929
"text/template"
3030

3131
"github.com/Masterminds/sprig/v3"
32+
"github.com/sap/go-generics/slices"
33+
3234
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
3335
utilyaml "k8s.io/apimachinery/pkg/util/yaml"
3436
"k8s.io/client-go/discovery"
3537
"sigs.k8s.io/controller-runtime/pkg/client"
3638
kyaml "sigs.k8s.io/yaml"
3739

38-
"github.tools.sap/cs-devops/go-generics/slices"
39-
4040
"github.com/sap/component-operator-runtime/internal/helm"
4141
"github.com/sap/component-operator-runtime/internal/templatex"
4242
"github.com/sap/component-operator-runtime/pkg/types"

0 commit comments

Comments
 (0)