File tree Expand file tree Collapse file tree 16 files changed +39
-27
lines changed Expand file tree Collapse file tree 16 files changed +39
-27
lines changed Original file line number Diff line number Diff line change 1
1
package v1alpha1
2
2
3
- import "github.com/redhat-appstudio /operator-toolkit/conditions"
3
+ import "github.com/konflux-ci /operator-toolkit/conditions"
4
4
5
5
const (
6
6
// SucceededConditionType is the type used when setting a status condition
Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ limitations under the License.
17
17
package v1alpha1
18
18
19
19
import (
20
- "github.com/redhat-appstudio/operator-toolkit/conditions"
21
20
"time"
22
21
22
+ "github.com/konflux-ci/operator-toolkit/conditions"
23
+
23
24
"github.com/redhat-appstudio/internal-services/metrics"
24
25
"k8s.io/apimachinery/pkg/api/meta"
25
26
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Original file line number Diff line number Diff line change 8
8
9
9
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
10
10
11
- "github.com/redhat-appstudio /operator-toolkit/conditions"
11
+ "github.com/konflux-ci /operator-toolkit/conditions"
12
12
)
13
13
14
14
var _ = Describe ("Internal Request type" , func () {
Original file line number Diff line number Diff line change @@ -17,8 +17,8 @@ limitations under the License.
17
17
package controllers
18
18
19
19
import (
20
+ "github.com/konflux-ci/operator-toolkit/controller"
20
21
"github.com/redhat-appstudio/internal-services/controllers/internalrequest"
21
- "github.com/redhat-appstudio/operator-toolkit/controller"
22
22
)
23
23
24
24
var EnabledControllers = []controller.Controller {
Original file line number Diff line number Diff line change @@ -19,16 +19,17 @@ package internalrequest
19
19
import (
20
20
"context"
21
21
"fmt"
22
+ "os"
23
+
22
24
"github.com/go-logr/logr"
25
+ "github.com/konflux-ci/operator-toolkit/controller"
23
26
"github.com/redhat-appstudio/internal-services/api/v1alpha1"
24
27
"github.com/redhat-appstudio/internal-services/loader"
25
28
"github.com/redhat-appstudio/internal-services/tekton"
26
- "github.com/redhat-appstudio/operator-toolkit/controller"
27
29
"github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
28
30
"k8s.io/apimachinery/pkg/api/errors"
29
31
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
30
32
"knative.dev/pkg/apis"
31
- "os"
32
33
"sigs.k8s.io/controller-runtime/pkg/client"
33
34
)
34
35
Original file line number Diff line number Diff line change @@ -18,8 +18,9 @@ package internalrequest
18
18
19
19
import (
20
20
"fmt"
21
+
22
+ toolkit "github.com/konflux-ci/operator-toolkit/loader"
21
23
"github.com/redhat-appstudio/internal-services/loader"
22
- toolkit "github.com/redhat-appstudio/operator-toolkit/loader"
23
24
24
25
"reflect"
25
26
Original file line number Diff line number Diff line change @@ -18,13 +18,14 @@ package internalrequest
18
18
19
19
import (
20
20
"context"
21
+
21
22
"github.com/go-logr/logr"
23
+ "github.com/konflux-ci/operator-toolkit/controller"
24
+ "github.com/konflux-ci/operator-toolkit/predicates"
22
25
libhandler "github.com/operator-framework/operator-lib/handler"
23
26
"github.com/redhat-appstudio/internal-services/api/v1alpha1"
24
27
"github.com/redhat-appstudio/internal-services/loader"
25
28
"github.com/redhat-appstudio/internal-services/tekton"
26
- "github.com/redhat-appstudio/operator-toolkit/controller"
27
- "github.com/redhat-appstudio/operator-toolkit/predicates"
28
29
tektonv1beta1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
29
30
"k8s.io/apimachinery/pkg/api/errors"
30
31
"k8s.io/apimachinery/pkg/runtime"
Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ package internalrequest
18
18
19
19
import (
20
20
"context"
21
- appstudiov1alpha1 "github.com/redhat-appstudio/internal-services/api/v1alpha1"
22
- "github.com/redhat-appstudio/operator-toolkit/test"
23
- tektonv1beta1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
24
21
"go/build"
25
22
"path/filepath"
26
- ctrl "sigs.k8s.io/controller-runtime"
27
23
"testing"
28
24
25
+ "github.com/konflux-ci/operator-toolkit/test"
26
+ appstudiov1alpha1 "github.com/redhat-appstudio/internal-services/api/v1alpha1"
27
+ tektonv1beta1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
28
+ ctrl "sigs.k8s.io/controller-runtime"
29
+
29
30
. "github.com/onsi/ginkgo/v2"
30
31
. "github.com/onsi/gomega"
31
32
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ go 1.18
4
4
5
5
require (
6
6
github.com/go-logr/logr v1.2.3
7
+ github.com/konflux-ci/operator-toolkit v0.0.0-20240402130556-ef6dcbeca69d
7
8
github.com/onsi/ginkgo/v2 v2.6.0
8
9
github.com/onsi/gomega v1.24.1
9
10
github.com/operator-framework/operator-lib v0.11.0
10
11
github.com/prometheus/client_golang v1.14.0
11
- github.com/redhat-appstudio/operator-toolkit v0.0.0-20230705141436-de654b7a7aed
12
12
github.com/tektoncd/pipeline v0.42.0
13
13
go.uber.org/zap v1.24.0
14
14
k8s.io/api v0.26.1
Original file line number Diff line number Diff line change @@ -223,6 +223,8 @@ github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8
223
223
github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dvMUtDTo2cv8 =
224
224
github.com/kisielk/errcheck v1.5.0 /go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8 =
225
225
github.com/kisielk/gotool v1.0.0 /go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck =
226
+ github.com/konflux-ci/operator-toolkit v0.0.0-20240402130556-ef6dcbeca69d h1:z7j3mglNoXvIrw5Vz/Ul+izoITRaqYURPIWrFoEyHgI =
227
+ github.com/konflux-ci/operator-toolkit v0.0.0-20240402130556-ef6dcbeca69d /go.mod h1:AcChx7FjpYSIkDvQgaUKyauuF0PXm3ivB5MqZSC9Eis =
226
228
github.com/konsorten/go-windows-terminal-sequences v1.0.1 /go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ =
227
229
github.com/konsorten/go-windows-terminal-sequences v1.0.3 /go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ =
228
230
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515 /go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc =
@@ -298,8 +300,6 @@ github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0ua
298
300
github.com/prometheus/statsd_exporter v0.22.7 /go.mod h1:N/TevpjkIh9ccs6nuzY3jQn9dFqnUakOjnEuMPJJJnI =
299
301
github.com/prometheus/statsd_exporter v0.22.8 h1:Qo2D9ZzaQG+id9i5NYNGmbf1aa/KxKbB9aKfMS+Yib0 =
300
302
github.com/prometheus/statsd_exporter v0.22.8 /go.mod h1:/DzwbTEaFTE0Ojz5PqcSk6+PFHOPWGxdXVr6yC8eFOM =
301
- github.com/redhat-appstudio/operator-toolkit v0.0.0-20230705141436-de654b7a7aed h1:4RQmIIyZPm7dZuwtPUvbTLQCNIkUR13zLIVlUE9nunA =
302
- github.com/redhat-appstudio/operator-toolkit v0.0.0-20230705141436-de654b7a7aed /go.mod h1:6lVK58G/zkoxMoHAmYxzF6La8rMmCeZwOQk6i0dpYZo =
303
303
github.com/rogpeppe/fastuuid v1.2.0 /go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ =
304
304
github.com/rogpeppe/go-internal v1.3.0 /go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4 =
305
305
github.com/rogpeppe/go-internal v1.8.0 h1:FCbCCtXNOY3UtUuHUYaghJg4y7Fd14rXifAYUAtL9R8 =
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package loader
2
2
3
3
import (
4
4
"context"
5
+
6
+ toolkit "github.com/konflux-ci/operator-toolkit/loader"
5
7
"github.com/redhat-appstudio/internal-services/api/v1alpha1"
6
8
"github.com/redhat-appstudio/internal-services/tekton"
7
- toolkit "github.com/redhat-appstudio/operator-toolkit/loader"
8
9
"github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
9
10
"sigs.k8s.io/controller-runtime/pkg/client"
10
11
)
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ package loader
2
2
3
3
import (
4
4
"context"
5
+
6
+ toolkit "github.com/konflux-ci/operator-toolkit/loader"
5
7
"github.com/redhat-appstudio/internal-services/api/v1alpha1"
6
- toolkit "github.com/redhat-appstudio/operator-toolkit/loader"
7
8
"github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
8
9
"sigs.k8s.io/controller-runtime/pkg/client"
9
10
)
Original file line number Diff line number Diff line change 1
1
package loader
2
2
3
3
import (
4
+ toolkit "github.com/konflux-ci/operator-toolkit/loader"
4
5
. "github.com/onsi/ginkgo/v2"
5
6
. "github.com/onsi/gomega"
6
7
"github.com/redhat-appstudio/internal-services/api/v1alpha1"
7
- toolkit "github.com/redhat-appstudio/operator-toolkit/loader"
8
8
tektonv1beta1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
9
9
)
10
10
Original file line number Diff line number Diff line change @@ -18,14 +18,15 @@ package loader
18
18
19
19
import (
20
20
"context"
21
- appstudiov1alpha1 "github.com/redhat-appstudio/internal-services/api/v1alpha1"
22
- "github.com/redhat-appstudio/operator-toolkit/test"
23
- tektonv1beta1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
24
21
"go/build"
25
22
"path/filepath"
26
- ctrl "sigs.k8s.io/controller-runtime"
27
23
"testing"
28
24
25
+ "github.com/konflux-ci/operator-toolkit/test"
26
+ appstudiov1alpha1 "github.com/redhat-appstudio/internal-services/api/v1alpha1"
27
+ tektonv1beta1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
28
+ ctrl "sigs.k8s.io/controller-runtime"
29
+
29
30
. "github.com/onsi/ginkgo/v2"
30
31
. "github.com/onsi/gomega"
31
32
Original file line number Diff line number Diff line change @@ -18,16 +18,19 @@ package main
18
18
19
19
import (
20
20
"flag"
21
+ "os"
22
+
21
23
"github.com/redhat-appstudio/internal-services/metadata"
22
24
"github.com/redhat-appstudio/internal-services/tekton"
23
- "github.com/redhat-appstudio/operator-toolkit/controller"
24
- tektonv1beta1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1 "
25
+
26
+ "github.com/konflux-ci/operator-toolkit/controller "
25
27
"go.uber.org/zap/zapcore"
28
+
29
+ tektonv1beta1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1"
26
30
"k8s.io/apimachinery/pkg/labels"
27
31
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
28
32
"k8s.io/client-go/rest"
29
33
"k8s.io/client-go/tools/clientcmd"
30
- "os"
31
34
"sigs.k8s.io/controller-runtime/pkg/cache"
32
35
"sigs.k8s.io/controller-runtime/pkg/cluster"
33
36
"sigs.k8s.io/controller-runtime/pkg/manager"
Original file line number Diff line number Diff line change @@ -18,11 +18,12 @@ package tekton
18
18
19
19
import (
20
20
"context"
21
- "github.com/redhat-appstudio/operator-toolkit/test"
22
21
"go/build"
23
22
"path/filepath"
24
23
"testing"
25
24
25
+ "github.com/konflux-ci/operator-toolkit/test"
26
+
26
27
. "github.com/onsi/ginkgo/v2"
27
28
. "github.com/onsi/gomega"
28
29
You can’t perform that action at this time.
0 commit comments