Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Move health into dns/health
Browse files Browse the repository at this point in the history
The contents of the dns package will all be moved to the new dns controller component as top level packages:

```
.
├── controller
└── pkg
    ├── health
    └── provider
        ├── aws
        ├── fake
        └── google
```
  • Loading branch information
mikenairn committed Feb 1, 2024
1 parent 40bbb63 commit 60f13a1
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/policy_controller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ import (
"github.com/Kuadrant/multicluster-gateway-controller/pkg/controllers/dnsrecord"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/controllers/managedzone"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/controllers/tlspolicy"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/dns/health"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/dns/provider"
_ "github.com/Kuadrant/multicluster-gateway-controller/pkg/dns/provider/aws"
_ "github.com/Kuadrant/multicluster-gateway-controller/pkg/dns/provider/google"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/health"
)

var (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

"github.com/Kuadrant/multicluster-gateway-controller/pkg/_internal/slice"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/apis/v1alpha1"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/health"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/dns/health"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/dnshealthcheckprobe/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/Kuadrant/multicluster-gateway-controller/pkg/apis/v1alpha1"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/health"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/dns/health"
)

type StatusUpdateProbeNotifier struct {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/policy_integration/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ import (
. "github.com/Kuadrant/multicluster-gateway-controller/pkg/controllers/dnspolicy"
. "github.com/Kuadrant/multicluster-gateway-controller/pkg/controllers/managedzone"
. "github.com/Kuadrant/multicluster-gateway-controller/pkg/controllers/tlspolicy"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/dns/health"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/dns/provider"
providerFake "github.com/Kuadrant/multicluster-gateway-controller/pkg/dns/provider/fake"
"github.com/Kuadrant/multicluster-gateway-controller/pkg/health"
//+kubebuilder:scaffold:imports
)

Expand Down

0 comments on commit 60f13a1

Please sign in to comment.