Skip to content

Commit 6bd6a73

Browse files
ivanmatmatiMo3m3n
authored andcommitted
REORG/MINOR: move service and route packages out of controller
1 parent 3183c69 commit 6bd6a73

File tree

8 files changed

+6
-6
lines changed

8 files changed

+6
-6
lines changed

pkg/controller/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ import (
2121

2222
"github.com/haproxytech/client-native/v2/models"
2323
config "github.com/haproxytech/kubernetes-ingress/pkg/configuration"
24-
"github.com/haproxytech/kubernetes-ingress/pkg/controller/route"
2524
"github.com/haproxytech/kubernetes-ingress/pkg/haproxy/api"
2625
"github.com/haproxytech/kubernetes-ingress/pkg/haproxy/process"
2726
"github.com/haproxytech/kubernetes-ingress/pkg/ingress"
2827
"github.com/haproxytech/kubernetes-ingress/pkg/k8s"
28+
"github.com/haproxytech/kubernetes-ingress/pkg/route"
2929
"github.com/haproxytech/kubernetes-ingress/pkg/store"
3030
"github.com/haproxytech/kubernetes-ingress/pkg/utils"
3131
)

pkg/controller/global.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ import (
2222
"github.com/haproxytech/kubernetes-ingress/pkg/configuration"
2323
"github.com/haproxytech/kubernetes-ingress/pkg/controller/annotations"
2424
"github.com/haproxytech/kubernetes-ingress/pkg/controller/annotations/common"
25-
"github.com/haproxytech/kubernetes-ingress/pkg/controller/service"
2625
"github.com/haproxytech/kubernetes-ingress/pkg/haproxy/certs"
2726
"github.com/haproxytech/kubernetes-ingress/pkg/ingress"
27+
"github.com/haproxytech/kubernetes-ingress/pkg/service"
2828
"github.com/haproxytech/kubernetes-ingress/pkg/store"
2929
)
3030

pkg/handler/pprof.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ import (
1818
"github.com/haproxytech/client-native/v2/models"
1919

2020
config "github.com/haproxytech/kubernetes-ingress/pkg/configuration"
21-
"github.com/haproxytech/kubernetes-ingress/pkg/controller/route"
2221
"github.com/haproxytech/kubernetes-ingress/pkg/haproxy/api"
22+
"github.com/haproxytech/kubernetes-ingress/pkg/route"
2323
"github.com/haproxytech/kubernetes-ingress/pkg/store"
2424
)
2525

pkg/handler/tcp-services.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77

88
"github.com/haproxytech/client-native/v2/models"
99
config "github.com/haproxytech/kubernetes-ingress/pkg/configuration"
10-
"github.com/haproxytech/kubernetes-ingress/pkg/controller/service"
1110
"github.com/haproxytech/kubernetes-ingress/pkg/haproxy/api"
11+
"github.com/haproxytech/kubernetes-ingress/pkg/service"
1212
"github.com/haproxytech/kubernetes-ingress/pkg/store"
1313
"github.com/haproxytech/kubernetes-ingress/pkg/utils"
1414
)

pkg/ingress/ingress.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ import (
2020

2121
"github.com/haproxytech/kubernetes-ingress/pkg/configuration"
2222
"github.com/haproxytech/kubernetes-ingress/pkg/controller/annotations"
23-
"github.com/haproxytech/kubernetes-ingress/pkg/controller/route"
24-
"github.com/haproxytech/kubernetes-ingress/pkg/controller/service"
2523
"github.com/haproxytech/kubernetes-ingress/pkg/haproxy/api"
2624
"github.com/haproxytech/kubernetes-ingress/pkg/haproxy/certs"
2725
"github.com/haproxytech/kubernetes-ingress/pkg/haproxy/rules"
26+
"github.com/haproxytech/kubernetes-ingress/pkg/route"
27+
"github.com/haproxytech/kubernetes-ingress/pkg/service"
2828
"github.com/haproxytech/kubernetes-ingress/pkg/store"
2929
)
3030

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)