Skip to content

Commit

Permalink
changed dir name
Browse files Browse the repository at this point in the history
  • Loading branch information
mfaizanse committed Nov 17, 2023
1 parent 76e00bb commit afcbaaf
Show file tree
Hide file tree
Showing 52 changed files with 84 additions and 87 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"log"
"os"

eventingcontroller "github.com/kyma-project/eventing-manager/internal/controller/batch/eventing"
eventingcontroller "github.com/kyma-project/eventing-manager/internal/controller/operator.kyma-project.io/eventing"

istiopeerauthentication "github.com/kyma-project/eventing-manager/pkg/istio/peerauthentication"

Expand Down Expand Up @@ -58,7 +58,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/metrics/server"
"sigs.k8s.io/controller-runtime/pkg/webhook"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
//+kubebuilder:scaffold:imports
)

Expand Down
77 changes: 37 additions & 40 deletions docs/user/02-configuration.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hack/e2e/cleanup/cleanup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
k8serrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/hack/e2e/common/testenvironment"
"github.com/kyma-project/eventing-manager/pkg/eventing"

Expand Down
2 changes: 1 addition & 1 deletion hack/e2e/common/fixtures/fixtures.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/kyma-project/eventing-manager/hack/e2e/common/eventing"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
2 changes: 1 addition & 1 deletion hack/e2e/common/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
ecv1alpha1 "github.com/kyma-project/kyma/components/eventing-controller/api/v1alpha1"
ecv1alpha2 "github.com/kyma-project/kyma/components/eventing-controller/api/v1alpha2"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"

"k8s.io/client-go/kubernetes"
"k8s.io/client-go/kubernetes/scheme"
Expand Down
2 changes: 1 addition & 1 deletion hack/e2e/common/testenvironment/test_environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
cloudevents "github.com/cloudevents/sdk-go/v2"
"github.com/cloudevents/sdk-go/v2/binding"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"

ecv1alpha2 "github.com/kyma-project/kyma/components/eventing-controller/api/v1alpha2"
"go.uber.org/zap"
Expand Down
2 changes: 1 addition & 1 deletion hack/e2e/env/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"

"github.com/kelseyhightower/envconfig"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
)

// E2EConfig represents the environment config for the end-to-end tests for eventing-manager.
Expand Down
2 changes: 1 addition & 1 deletion hack/e2e/setup/setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (

"github.com/pkg/errors"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/eventing"

"github.com/stretchr/testify/require"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/reconcile"
"sigs.k8s.io/controller-runtime/pkg/source"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/options"
"github.com/kyma-project/eventing-manager/pkg/env"
"github.com/kyma-project/eventing-manager/pkg/eventing"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/kyma-project/eventing-manager/pkg/watcher"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
submanagermocks "github.com/kyma-project/eventing-manager/pkg/subscriptionmanager/manager/mocks"
watchmock "github.com/kyma-project/eventing-manager/pkg/watcher/mocks"
testutils "github.com/kyma-project/eventing-manager/test/utils"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/env"
"github.com/kyma-project/eventing-manager/pkg/eventing"
subscriptionmanager "github.com/kyma-project/eventing-manager/pkg/subscriptionmanager/manager"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/kyma-project/eventing-manager/pkg/eventing"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/k8s"
k8smocks "github.com/kyma-project/eventing-manager/pkg/k8s/mocks"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"testing"

eventing2 "github.com/kyma-project/eventing-manager/internal/controller/batch/eventing"
eventing2 "github.com/kyma-project/eventing-manager/internal/controller/operator.kyma-project.io/eventing"

"github.com/onsi/gomega"
gomegatypes "github.com/onsi/gomega/types"
Expand All @@ -21,7 +21,7 @@ import (
natsv1alpha1 "github.com/kyma-project/nats-manager/api/v1alpha1"
natstestutils "github.com/kyma-project/nats-manager/testutils"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/eventing"
"github.com/kyma-project/eventing-manager/pkg/k8s"
"github.com/kyma-project/eventing-manager/test/matchers"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"os"
"testing"

eventingcontroller "github.com/kyma-project/eventing-manager/internal/controller/batch/eventing"
eventingcontroller "github.com/kyma-project/eventing-manager/internal/controller/operator.kyma-project.io/eventing"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/eventing"
"github.com/kyma-project/eventing-manager/test/matchers"
"github.com/kyma-project/eventing-manager/test/utils"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

natstestutils "github.com/kyma-project/nats-manager/testutils"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/test/matchers"
testutils "github.com/kyma-project/eventing-manager/test/utils"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (
"os"
"testing"

eventingcontroller "github.com/kyma-project/eventing-manager/internal/controller/batch/eventing"
eventingcontroller "github.com/kyma-project/eventing-manager/internal/controller/operator.kyma-project.io/eventing"

"github.com/kyma-project/eventing-manager/pkg/k8s"
"github.com/kyma-project/eventing-manager/test/matchers"
"github.com/kyma-project/eventing-manager/test/utils"
natstestutils "github.com/kyma-project/nats-manager/testutils"
"github.com/onsi/gomega"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/eventing"
testutils "github.com/kyma-project/eventing-manager/test/utils/integration"
"github.com/stretchr/testify/require"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/test"
eventingMatchers "github.com/kyma-project/eventing-manager/test/matchers"
"github.com/kyma-project/eventing-manager/test/utils/integration"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"os"
"testing"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/test/matchers"
"github.com/kyma-project/eventing-manager/test/utils"
testutils "github.com/kyma-project/eventing-manager/test/utils/integration"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/kyma-project/eventing-manager/pkg/subscriptionmanager/manager"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/options"
"github.com/kyma-project/eventing-manager/pkg/env"
"github.com/kyma-project/eventing-manager/pkg/k8s"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import (
"testing"
"time"

"github.com/kyma-project/eventing-manager/internal/controller/batch/eventing/mocks"
"github.com/kyma-project/eventing-manager/internal/controller/operator.kyma-project.io/eventing/mocks"

submanagermocks "github.com/kyma-project/eventing-manager/pkg/subscriptionmanager/manager/mocks"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/options"
"github.com/kyma-project/eventing-manager/pkg/env"
managermocks "github.com/kyma-project/eventing-manager/pkg/eventing/mocks"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"errors"
"time"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"go.uber.org/zap"
v1 "k8s.io/api/apps/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"testing"

ctrlmocks "github.com/kyma-project/eventing-manager/internal/controller/batch/eventing/mocks"
ctrlmocks "github.com/kyma-project/eventing-manager/internal/controller/operator.kyma-project.io/eventing/mocks"

apiclientsetfake "k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/fake"

Expand All @@ -20,7 +20,7 @@ import (

"k8s.io/apimachinery/pkg/runtime"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
managermocks "github.com/kyma-project/eventing-manager/pkg/eventing/mocks"
natsv1alpha1 "github.com/kyma-project/nats-manager/api/v1alpha1"
"github.com/stretchr/testify/require"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"fmt"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/env"
"github.com/mitchellh/hashstructure/v2"
ctrl "sigs.k8s.io/controller-runtime"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/stretchr/testify/assert"

eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/test/utils"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/env/nats_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"time"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"

"github.com/kelseyhightower/envconfig"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/eventing/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/intstr"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/env"
"github.com/kyma-project/eventing-manager/pkg/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/eventing/deployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/require"
v1 "k8s.io/api/core/v1"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/env"
"github.com/kyma-project/eventing-manager/test"
testutils "github.com/kyma-project/eventing-manager/test/utils"
Expand Down
2 changes: 1 addition & 1 deletion pkg/eventing/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/env"
"github.com/kyma-project/eventing-manager/pkg/k8s"
"github.com/kyma-project/eventing-manager/pkg/logger"
Expand Down
2 changes: 1 addition & 1 deletion pkg/eventing/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"github.com/stretchr/testify/require"
appsv1 "k8s.io/api/apps/v1"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/env"
k8smocks "github.com/kyma-project/eventing-manager/pkg/k8s/mocks"
testutils "github.com/kyma-project/eventing-manager/test/utils"
Expand Down
2 changes: 1 addition & 1 deletion pkg/eventing/mocks/manager.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/eventing/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package eventing
import (
"fmt"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
ecv1alpha1 "github.com/kyma-project/kyma/components/eventing-controller/api/v1alpha1"
autoscalingv2 "k8s.io/api/autoscaling/v2"
corev1 "k8s.io/api/core/v1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/eventing/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package eventing
import (
"testing"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/stretchr/testify/require"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/subscriptionmanager/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/kyma-project/eventing-manager/pkg/backend/metrics"
"github.com/kyma-project/eventing-manager/pkg/subscriptionmanager/manager"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/pkg/env"
eclogger "github.com/kyma-project/eventing-manager/pkg/logger"
"github.com/kyma-project/eventing-manager/pkg/subscriptionmanager/eventmesh"
Expand Down
2 changes: 1 addition & 1 deletion pkg/subscriptionmanager/mocks/manager_factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/matchers/matchers.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package matchers

import (
"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/internal/controller/batch/eventing"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/internal/controller/operator.kyma-project.io/eventing"
"github.com/onsi/gomega"
"github.com/onsi/gomega/gstruct"
gomegatypes "github.com/onsi/gomega/types"
Expand Down
4 changes: 2 additions & 2 deletions test/utils/integration/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

eventing2 "github.com/kyma-project/eventing-manager/internal/controller/batch/eventing"
eventing2 "github.com/kyma-project/eventing-manager/internal/controller/operator.kyma-project.io/eventing"
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"

"github.com/kyma-project/eventing-manager/pkg/subscriptionmanager"
Expand Down Expand Up @@ -53,7 +53,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/types"

"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
"github.com/kyma-project/eventing-manager/options"
"github.com/kyma-project/eventing-manager/pkg/env"
"github.com/kyma-project/eventing-manager/pkg/eventing"
Expand Down
2 changes: 1 addition & 1 deletion test/utils/options.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package utils

import (
"github.com/kyma-project/eventing-manager/api/batch/v1alpha1"
"github.com/kyma-project/eventing-manager/api/operator.kyma-project.io/v1alpha1"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/resource"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
Loading

0 comments on commit afcbaaf

Please sign in to comment.