Skip to content

Commit f07e23d

Browse files
authored
Merge pull request #1233 from jcmoraisjr/jm-rm-legacy
remove legacy controller and work queue
2 parents a9fdbb4 + a10412e commit f07e23d

34 files changed

+29
-5930
lines changed

.golangci.yml

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ linters:
1212
- std-error-handling
1313
paths:
1414
- pkg/acme/x
15-
- pkg/common
16-
- pkg/controller/legacy
1715
- third_party$
1816
- builtin$
1917
- examples$

go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ require (
1313
github.com/kylelemons/godebug v1.1.0
1414
github.com/mitchellh/mapstructure v1.5.0
1515
github.com/prometheus/client_golang v1.21.1
16-
github.com/spf13/pflag v1.0.6
1716
github.com/stretchr/testify v1.10.0
1817
go.uber.org/zap v1.27.0
1918
golang.org/x/crypto v0.36.0
2019
golang.org/x/sync v0.12.0
21-
gopkg.in/go-playground/pool.v3 v3.1.1
2220
gopkg.in/yaml.v2 v2.4.0
2321
k8s.io/api v0.32.3
2422
k8s.io/apimachinery v0.32.3
@@ -72,6 +70,7 @@ require (
7270
github.com/shopspring/decimal v1.4.0 // indirect
7371
github.com/spf13/cast v1.7.1 // indirect
7472
github.com/spf13/cobra v1.9.1 // indirect
73+
github.com/spf13/pflag v1.0.6 // indirect
7574
github.com/x448/float16 v0.8.4 // indirect
7675
go.opentelemetry.io/otel v1.34.0 // indirect
7776
go.opentelemetry.io/otel/trace v1.34.0 // indirect
@@ -85,7 +84,6 @@ require (
8584
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
8685
google.golang.org/protobuf v1.36.5 // indirect
8786
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
88-
gopkg.in/go-playground/assert.v1 v1.2.1 // indirect
8987
gopkg.in/inf.v0 v0.9.1 // indirect
9088
gopkg.in/yaml.v3 v3.0.1 // indirect
9189
k8s.io/apiextensions-apiserver v0.32.3 // indirect

go.sum

-4
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,6 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntN
192192
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
193193
gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4=
194194
gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
195-
gopkg.in/go-playground/assert.v1 v1.2.1 h1:xoYuJVE7KT85PYWrN730RguIQO0ePzVRfFMXadIrXTM=
196-
gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE=
197-
gopkg.in/go-playground/pool.v3 v3.1.1 h1:4Qcj91IsYTpIeRhe/eo6Fz+w6uKWPEghx8vHFTYMfhw=
198-
gopkg.in/go-playground/pool.v3 v3.1.1/go.mod h1:pUAGBximS/hccTTSzEop6wvvQhVa3QPDFFW+8REdutg=
199195
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
200196
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
201197
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=

pkg/acme/signer.go

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ type Signer interface {
4343
Notify(item interface{}) error
4444
}
4545

46+
type Queue interface {
47+
Add(item any)
48+
Remove(item any)
49+
}
50+
4651
// Cache ...
4752
type Cache interface {
4853
ClientResolver

pkg/common/file/file.go

-19
This file was deleted.

pkg/common/ingress/controller/backend_ssl.go

-135
This file was deleted.

0 commit comments

Comments
 (0)