Skip to content

Commit 8900ff6

Browse files
committed
BUILD/MEDIUM: change module path to haproxy-unified-gateway
1 parent dfcc7ad commit 8900ff6

File tree

131 files changed

+404
-406
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+404
-406
lines changed

cmd/controller/main.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ import (
2121
"sync"
2222
"syscall"
2323

24-
"github.com/haproxytech/kubernetes-controller/cmd/start"
25-
hugconfig "github.com/haproxytech/kubernetes-controller/hug/configuration"
26-
haproxymgr "github.com/haproxytech/kubernetes-controller/hug/haproxy"
27-
"github.com/haproxytech/kubernetes-controller/hug/haproxy/api"
28-
haproxyparams "github.com/haproxytech/kubernetes-controller/hug/haproxy/params"
29-
"github.com/haproxytech/kubernetes-controller/hug/haproxy/process"
30-
"github.com/haproxytech/kubernetes-controller/hug/version"
31-
controller "github.com/haproxytech/kubernetes-controller/k8s/gate"
32-
"github.com/haproxytech/kubernetes-controller/k8s/gate/logging"
24+
"github.com/haproxytech/haproxy-unified-gateway/cmd/start"
25+
hugconfig "github.com/haproxytech/haproxy-unified-gateway/hug/configuration"
26+
haproxymgr "github.com/haproxytech/haproxy-unified-gateway/hug/haproxy"
27+
"github.com/haproxytech/haproxy-unified-gateway/hug/haproxy/api"
28+
haproxyparams "github.com/haproxytech/haproxy-unified-gateway/hug/haproxy/params"
29+
"github.com/haproxytech/haproxy-unified-gateway/hug/haproxy/process"
30+
"github.com/haproxytech/haproxy-unified-gateway/hug/version"
31+
controller "github.com/haproxytech/haproxy-unified-gateway/k8s/gate"
32+
"github.com/haproxytech/haproxy-unified-gateway/k8s/gate/logging"
3333

3434
"github.com/joho/godotenv"
3535
)

cmd/doc-options/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ func main() { //revive:disable:cognitive-complexity,unhandled-error,function-len
151151
buff.WriteRune('\n')
152152
buff.WriteString("Example:\n```go\n")
153153
buff.WriteString("import (\n")
154-
buff.WriteString(" github.com/haproxytech/kubernetes-controller/k8s/gate\n")
155-
buff.WriteString(" github.com/haproxytech/kubernetes-controller/k8s/gate/options\n")
154+
buff.WriteString(" github.com/haproxytech/haproxy-unified-gateway/k8s/gate\n")
155+
buff.WriteString(" github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options\n")
156156
buff.WriteString(")\n\n")
157157
buff.WriteString("// multiple options can be combined\n")
158158
buff.WriteString("controller, err := controller.New(opt.Option1(arg1), opt.Flag())\n```\n\n")
@@ -181,8 +181,8 @@ func main() { //revive:disable:cognitive-complexity,unhandled-error,function-len
181181
buff.WriteRune('\n')
182182
buff.WriteString("Example:\n```go\n")
183183
buff.WriteString("import (\n")
184-
buff.WriteString(" github.com/haproxytech/kubernetes-controller/k8s/gate\n")
185-
buff.WriteString(" github.com/haproxytech/kubernetes-controller/k8s/gate/options\n")
184+
buff.WriteString(" github.com/haproxytech/haproxy-unified-gateway/k8s/gate\n")
185+
buff.WriteString(" github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options\n")
186186
buff.WriteString(")\n\n")
187187
buff.WriteString("controller, err := controller.New(opt." + item.Name + "(")
188188
for index, arg := range item.Args {

cmd/start/start.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
package start
1515

1616
import (
17-
hugconfig "github.com/haproxytech/kubernetes-controller/hug/configuration"
18-
"github.com/haproxytech/kubernetes-controller/hug/startup"
19-
gateconfig "github.com/haproxytech/kubernetes-controller/k8s/gate/config"
20-
"github.com/haproxytech/kubernetes-controller/k8s/gate/haproxy/diffs"
21-
"github.com/haproxytech/kubernetes-controller/k8s/gate/haproxy/storage"
22-
"github.com/haproxytech/kubernetes-controller/k8s/gate/logging"
23-
opt "github.com/haproxytech/kubernetes-controller/k8s/gate/options"
17+
hugconfig "github.com/haproxytech/haproxy-unified-gateway/hug/configuration"
18+
"github.com/haproxytech/haproxy-unified-gateway/hug/startup"
19+
gateconfig "github.com/haproxytech/haproxy-unified-gateway/k8s/gate/config"
20+
"github.com/haproxytech/haproxy-unified-gateway/k8s/gate/haproxy/diffs"
21+
"github.com/haproxytech/haproxy-unified-gateway/k8s/gate/haproxy/storage"
22+
"github.com/haproxytech/haproxy-unified-gateway/k8s/gate/logging"
23+
opt "github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options"
2424

2525
"k8s.io/apimachinery/pkg/types"
2626
)

documentation/controller-options.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Multiple options can be combined
88
Example:
99
```go
1010
import (
11-
github.com/haproxytech/kubernetes-controller/k8s/gate
12-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
11+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
12+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
1313
)
1414

1515
// multiple options can be combined
@@ -52,8 +52,8 @@ Available options:
5252
Example:
5353
```go
5454
import (
55-
github.com/haproxytech/kubernetes-controller/k8s/gate
56-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
55+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
56+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
5757
)
5858

5959
controller, err := controller.New(opt.BackendNameTemplate(template))
@@ -65,8 +65,8 @@ controller, err := controller.New(opt.BackendNameTemplate(template))
6565
Example:
6666
```go
6767
import (
68-
github.com/haproxytech/kubernetes-controller/k8s/gate
69-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
68+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
69+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
7070
)
7171

7272
controller, err := controller.New(opt.CacheReSyncPeriod(syncPeriod))
@@ -78,8 +78,8 @@ controller, err := controller.New(opt.CacheReSyncPeriod(syncPeriod))
7878
Example:
7979
```go
8080
import (
81-
github.com/haproxytech/kubernetes-controller/k8s/gate
82-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
81+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
82+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
8383
)
8484

8585
controller, err := controller.New(opt.ControllerConfCRD(controllerConf))
@@ -91,8 +91,8 @@ controller, err := controller.New(opt.ControllerConfCRD(controllerConf))
9191
Example:
9292
```go
9393
import (
94-
github.com/haproxytech/kubernetes-controller/k8s/gate
95-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
94+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
95+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
9696
)
9797

9898
controller, err := controller.New(opt.ControllerName(controllerName))
@@ -104,8 +104,8 @@ controller, err := controller.New(opt.ControllerName(controllerName))
104104
Example:
105105
```go
106106
import (
107-
github.com/haproxytech/kubernetes-controller/k8s/gate
108-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
107+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
108+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
109109
)
110110

111111
controller, err := controller.New(opt.DefaultsSectionName(name))
@@ -117,8 +117,8 @@ controller, err := controller.New(opt.DefaultsSectionName(name))
117117
Example:
118118
```go
119119
import (
120-
github.com/haproxytech/kubernetes-controller/k8s/gate
121-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
120+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
121+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
122122
)
123123

124124
controller, err := controller.New(opt.DisableIPv4())
@@ -130,8 +130,8 @@ controller, err := controller.New(opt.DisableIPv4())
130130
Example:
131131
```go
132132
import (
133-
github.com/haproxytech/kubernetes-controller/k8s/gate
134-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
133+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
134+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
135135
)
136136

137137
controller, err := controller.New(opt.DisableIPv6())
@@ -143,8 +143,8 @@ controller, err := controller.New(opt.DisableIPv6())
143143
Example:
144144
```go
145145
import (
146-
github.com/haproxytech/kubernetes-controller/k8s/gate
147-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
146+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
147+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
148148
)
149149

150150
controller, err := controller.New(opt.FrontendNameTemplate(template))
@@ -156,8 +156,8 @@ controller, err := controller.New(opt.FrontendNameTemplate(template))
156156
Example:
157157
```go
158158
import (
159-
github.com/haproxytech/kubernetes-controller/k8s/gate
160-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
159+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
160+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
161161
)
162162

163163
controller, err := controller.New(opt.HaproxyConfChannel(treeCh))
@@ -169,8 +169,8 @@ controller, err := controller.New(opt.HaproxyConfChannel(treeCh))
169169
Example:
170170
```go
171171
import (
172-
github.com/haproxytech/kubernetes-controller/k8s/gate
173-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
172+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
173+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
174174
)
175175

176176
controller, err := controller.New(opt.HaproxyDirs(dirs))
@@ -182,8 +182,8 @@ controller, err := controller.New(opt.HaproxyDirs(dirs))
182182
Example:
183183
```go
184184
import (
185-
github.com/haproxytech/kubernetes-controller/k8s/gate
186-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
185+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
186+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
187187
)
188188

189189
controller, err := controller.New(opt.IPV4BindAddr(addr))
@@ -195,8 +195,8 @@ controller, err := controller.New(opt.IPV4BindAddr(addr))
195195
Example:
196196
```go
197197
import (
198-
github.com/haproxytech/kubernetes-controller/k8s/gate
199-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
198+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
199+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
200200
)
201201

202202
controller, err := controller.New(opt.IPV6BindAddr(addr))
@@ -208,8 +208,8 @@ controller, err := controller.New(opt.IPV6BindAddr(addr))
208208
Example:
209209
```go
210210
import (
211-
github.com/haproxytech/kubernetes-controller/k8s/gate
212-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
211+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
212+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
213213
)
214214

215215
controller, err := controller.New(opt.InitialStructured(structuredCfg))
@@ -221,8 +221,8 @@ controller, err := controller.New(opt.InitialStructured(structuredCfg))
221221
Example:
222222
```go
223223
import (
224-
github.com/haproxytech/kubernetes-controller/k8s/gate
225-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
224+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
225+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
226226
)
227227

228228
controller, err := controller.New(opt.KubeConfig(kubeconfig))
@@ -234,8 +234,8 @@ controller, err := controller.New(opt.KubeConfig(kubeconfig))
234234
Example:
235235
```go
236236
import (
237-
github.com/haproxytech/kubernetes-controller/k8s/gate
238-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
237+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
238+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
239239
)
240240

241241
controller, err := controller.New(opt.LeaderElectionConfig(leaderElectionEnabled))
@@ -247,8 +247,8 @@ controller, err := controller.New(opt.LeaderElectionConfig(leaderElectionEnabled
247247
Example:
248248
```go
249249
import (
250-
github.com/haproxytech/kubernetes-controller/k8s/gate
251-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
250+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
251+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
252252
)
253253

254254
controller, err := controller.New(opt.LinkID(template))
@@ -260,8 +260,8 @@ controller, err := controller.New(opt.LinkID(template))
260260
Example:
261261
```go
262262
import (
263-
github.com/haproxytech/kubernetes-controller/k8s/gate
264-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
263+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
264+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
265265
)
266266

267267
controller, err := controller.New(opt.Logging(handlerType, defaultLevel, logSettings))
@@ -274,8 +274,8 @@ ControllerPodConfig sets the ControllerPodConfig of the controller.
274274
Example:
275275
```go
276276
import (
277-
github.com/haproxytech/kubernetes-controller/k8s/gate
278-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
277+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
278+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
279279
)
280280

281281
controller, err := controller.New(opt.MetricsConfig(metricsConfig))
@@ -287,8 +287,8 @@ controller, err := controller.New(opt.MetricsConfig(metricsConfig))
287287
Example:
288288
```go
289289
import (
290-
github.com/haproxytech/kubernetes-controller/k8s/gate
291-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
290+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
291+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
292292
)
293293

294294
controller, err := controller.New(opt.Namespaces(namespaces))
@@ -303,8 +303,8 @@ to the library at start up.
303303
Example:
304304
```go
305305
import (
306-
github.com/haproxytech/kubernetes-controller/k8s/gate
307-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
306+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
307+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
308308
)
309309

310310
controller, err := controller.New(opt.RuntimeUpdate(timeout))
@@ -316,8 +316,8 @@ controller, err := controller.New(opt.RuntimeUpdate(timeout))
316316
Example:
317317
```go
318318
import (
319-
github.com/haproxytech/kubernetes-controller/k8s/gate
320-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
319+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
320+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
321321
)
322322

323323
controller, err := controller.New(opt.ServerNameTemplate(template))
@@ -329,8 +329,8 @@ controller, err := controller.New(opt.ServerNameTemplate(template))
329329
Example:
330330
```go
331331
import (
332-
github.com/haproxytech/kubernetes-controller/k8s/gate
333-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
332+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
333+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
334334
)
335335

336336
controller, err := controller.New(opt.StartupSyncPeriod(syncPeriod))
@@ -342,8 +342,8 @@ controller, err := controller.New(opt.StartupSyncPeriod(syncPeriod))
342342
Example:
343343
```go
344344
import (
345-
github.com/haproxytech/kubernetes-controller/k8s/gate
346-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
345+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
346+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
347347
)
348348

349349
controller, err := controller.New(opt.StoreCertificateOnDisk(structureType))
@@ -355,8 +355,8 @@ controller, err := controller.New(opt.StoreCertificateOnDisk(structureType))
355355
Example:
356356
```go
357357
import (
358-
github.com/haproxytech/kubernetes-controller/k8s/gate
359-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
358+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
359+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
360360
)
361361

362362
controller, err := controller.New(opt.StoreMapsOnDisk(structureType))
@@ -368,8 +368,8 @@ controller, err := controller.New(opt.StoreMapsOnDisk(structureType))
368368
Example:
369369
```go
370370
import (
371-
github.com/haproxytech/kubernetes-controller/k8s/gate
372-
github.com/haproxytech/kubernetes-controller/k8s/gate/options
371+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate
372+
github.com/haproxytech/haproxy-unified-gateway/k8s/gate/options
373373
)
374374

375375
controller, err := controller.New(opt.SyncPeriod(syncPeriod))

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
module github.com/haproxytech/kubernetes-controller
2-
3-
// module github.com/haproxytech/haproxy-unified-gateway
1+
module github.com/haproxytech/haproxy-unified-gateway
42

53
go 1.25.0
64

hug/configuration/configuration.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ import (
2222
"strings"
2323
"time"
2424

25-
v3 "github.com/haproxytech/kubernetes-controller/api/gate/v3"
26-
defaults "github.com/haproxytech/kubernetes-controller/fs/usr/local/hug"
27-
"github.com/haproxytech/kubernetes-controller/hug/version"
28-
"github.com/haproxytech/kubernetes-controller/k8s/gate/config"
29-
"github.com/haproxytech/kubernetes-controller/k8s/gate/haproxy"
30-
"github.com/haproxytech/kubernetes-controller/k8s/gate/logging"
25+
v3 "github.com/haproxytech/haproxy-unified-gateway/api/gate/v3"
26+
defaults "github.com/haproxytech/haproxy-unified-gateway/fs/usr/local/hug"
27+
"github.com/haproxytech/haproxy-unified-gateway/hug/version"
28+
"github.com/haproxytech/haproxy-unified-gateway/k8s/gate/config"
29+
"github.com/haproxytech/haproxy-unified-gateway/k8s/gate/haproxy"
30+
"github.com/haproxytech/haproxy-unified-gateway/k8s/gate/logging"
3131
"github.com/peterbourgon/ff/v4"
3232
"github.com/peterbourgon/ff/v4/ffhelp"
3333
)

hug/configuration/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
package configuration
1515

1616
import (
17-
"github.com/haproxytech/kubernetes-controller/k8s/gate/haproxy"
17+
"github.com/haproxytech/haproxy-unified-gateway/k8s/gate/haproxy"
1818
)
1919

2020
func externalDefaults() External {

hug/haproxy/api/acls.go

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

1919
parser "github.com/haproxytech/client-native/v6/config-parser"
2020
"github.com/haproxytech/client-native/v6/models"
21-
"github.com/haproxytech/kubernetes-controller/k8s/gate/logging"
21+
"github.com/haproxytech/haproxy-unified-gateway/k8s/gate/logging"
2222
)
2323

2424
func (c *clientNative) ACLsDeleteAll(parentType parser.Section, name string) error {

0 commit comments

Comments
 (0)