Skip to content

Commit

Permalink
change package of common-controller crd
Browse files Browse the repository at this point in the history
  • Loading branch information
tharindu1st committed Oct 10, 2023
1 parent 4381929 commit 31b07e0
Show file tree
Hide file tree
Showing 28 changed files with 454 additions and 454 deletions.
892 changes: 446 additions & 446 deletions common-controller/coverage.out

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion common-controller/internal/cache/datastore.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"sync"

logger "github.com/sirupsen/logrus"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/api/v1alpha1"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/apis/dp/v1alpha1"
"k8s.io/apimachinery/pkg/types"
"sigs.k8s.io/controller-runtime/pkg/client"
)
Expand Down
2 changes: 1 addition & 1 deletion common-controller/internal/operator/PROJECT
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ resources:
domain: wso2.com
group: dp
kind: RateLimitPolicy
path: github.com/wso2/apk/common-controller/api/v1alpha1
path: github.com/wso2/apk/common-controller/api/dp/v1alpha1
version: v1alpha1
version: "3"
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (
cache "github.com/wso2/apk/common-controller/internal/cache"
"github.com/wso2/apk/common-controller/internal/config"
loggers "github.com/wso2/apk/common-controller/internal/loggers"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/api/v1alpha1"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/apis/dp/v1alpha1"
constants "github.com/wso2/apk/common-controller/internal/operator/constant"
xds "github.com/wso2/apk/common-controller/internal/xds"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
logf "sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"

dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/api/v1alpha1"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/apis/dp/v1alpha1"
//+kubebuilder:scaffold:imports
)

Expand Down
2 changes: 1 addition & 1 deletion common-controller/internal/operator/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"github.com/wso2/apk/adapter/pkg/logging"
cache "github.com/wso2/apk/common-controller/internal/cache"
"github.com/wso2/apk/common-controller/internal/loggers"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/api/v1alpha1"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/apis/dp/v1alpha1"
dpcontrollers "github.com/wso2/apk/common-controller/internal/operator/controller"
"k8s.io/apimachinery/pkg/runtime"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
Expand Down
2 changes: 1 addition & 1 deletion common-controller/internal/xds/ratelimiter_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
logger "github.com/sirupsen/logrus"
"github.com/wso2/apk/adapter/pkg/logging"
"github.com/wso2/apk/common-controller/internal/loggers"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/api/v1alpha1"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/apis/dp/v1alpha1"
constants "github.com/wso2/apk/common-controller/internal/operator/constant"
)

Expand Down
2 changes: 1 addition & 1 deletion common-controller/internal/xds/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

corev3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
envoy_cachev3 "github.com/envoyproxy/go-control-plane/pkg/cache/v3"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/api/v1alpha1"
dpv1alpha1 "github.com/wso2/apk/common-controller/internal/operator/apis/dp/v1alpha1"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion common-controller/revive.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ warningCode = 0
[rule.context-as-argument]
[rule.context-keys-type]
[rule.dot-imports]
exclude = ["internal/operator/api/v1alpha1/webhook_suite_test.go", "internal/operator/controller/suite_test.go"]
exclude = ["internal/operator/apis/dp/v1alpha1/webhook_suite_test.go", "internal/operator/controller/suite_test.go"]
[rule.error-return]
[rule.error-strings]
[rule.error-naming]
Expand Down

0 comments on commit 31b07e0

Please sign in to comment.