Skip to content

Commit

Permalink
moved k8sclient to cyclops-ctrl pkg package
Browse files Browse the repository at this point in the history
  • Loading branch information
nitintecg committed Sep 2, 2024
1 parent 15d187a commit 760138e
Show file tree
Hide file tree
Showing 13 changed files with 2,001 additions and 32 deletions.
2 changes: 1 addition & 1 deletion cyclops-ctrl/cmd/main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/webhook"

"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/auth"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/pkg/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/handler"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/modulecontroller"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/prometheus"
Expand Down
2 changes: 1 addition & 1 deletion cyclops-ctrl/internal/controller/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gin-gonic/gin"
"k8s.io/apimachinery/pkg/api/errors"

"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/pkg/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/mapper"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/models/dto"
)
Expand Down
2 changes: 1 addition & 1 deletion cyclops-ctrl/internal/controller/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/gin-gonic/gin"

"github.com/cyclops-ui/cyclops/cyclops-ctrl/api/v1alpha1"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/pkg/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/mapper"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/models/dto"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/prometheus"
Expand Down
2 changes: 1 addition & 1 deletion cyclops-ctrl/internal/controller/templates.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/gin-gonic/gin"
json "github.com/json-iterator/go"

"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/pkg/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/mapper"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/models/dto"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/telemetry"
Expand Down
2 changes: 1 addition & 1 deletion cyclops-ctrl/internal/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/gin-gonic/gin"

"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/pkg/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/controller"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/prometheus"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/telemetry"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/log"

cyclopsv1alpha1 "github.com/cyclops-ui/cyclops/cyclops-ctrl/api/v1alpha1"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/pkg/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/models"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/telemetry"
templaterepo "github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/template"
Expand Down
2 changes: 1 addition & 1 deletion cyclops-ctrl/internal/template/render/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"helm.sh/helm/v3/pkg/engine"

cyclopsv1alpha1 "github.com/cyclops-ui/cyclops/cyclops-ctrl/api/v1alpha1"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/pkg/cluster/k8sclient"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/models"
"github.com/cyclops-ui/cyclops/cyclops-ctrl/internal/models/helm"
)
Expand Down
Loading

0 comments on commit 760138e

Please sign in to comment.