Skip to content

Commit ae05c6f

Browse files
committed
feat: support apisix global rule
Signed-off-by: ashing <[email protected]>
1 parent 3b50dd8 commit ae05c6f

File tree

5 files changed

+287
-18
lines changed

5 files changed

+287
-18
lines changed

go.mod

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,18 @@ require (
8484
github.com/felixge/httpsnoop v1.0.4 // indirect
8585
github.com/fsnotify/fsnotify v1.7.0 // indirect
8686
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
87+
github.com/gin-contrib/sse v0.1.0 // indirect
88+
github.com/gin-gonic/gin v1.8.1 // indirect
8789
github.com/go-errors/errors v1.4.2 // indirect
8890
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
8991
github.com/go-logr/stdr v1.2.2 // indirect
9092
github.com/go-openapi/jsonpointer v0.21.0 // indirect
9193
github.com/go-openapi/jsonreference v0.21.0 // indirect
9294
github.com/go-openapi/swag v0.23.0 // indirect
95+
github.com/go-playground/assert/v2 v2.0.1 // indirect
96+
github.com/go-playground/locales v0.14.0 // indirect
97+
github.com/go-playground/universal-translator v0.18.0 // indirect
98+
github.com/go-playground/validator/v10 v10.10.0 // indirect
9399
github.com/go-sql-driver/mysql v1.7.1 // indirect
94100
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
95101
github.com/gobwas/glob v0.2.3 // indirect
@@ -108,6 +114,7 @@ require (
108114
github.com/gorilla/websocket v1.5.1 // indirect
109115
github.com/gosuri/uitable v0.0.4 // indirect
110116
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
117+
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
111118
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
112119
github.com/gruntwork-io/go-commons v0.8.0 // indirect
113120
github.com/hashicorp/errwrap v1.1.0 // indirect
@@ -126,6 +133,7 @@ require (
126133
github.com/klauspost/compress v1.17.4 // indirect
127134
github.com/lann/builder v0.0.0-20180802200727-47ae307949d0 // indirect
128135
github.com/lann/ps v0.0.0-20150810152359-62de8c46ede0 // indirect
136+
github.com/leodido/go-urn v1.2.1 // indirect
129137
github.com/lib/pq v1.10.9 // indirect
130138
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
131139
github.com/mailru/easyjson v0.7.7 // indirect
@@ -134,6 +142,7 @@ require (
134142
github.com/mattn/go-runewidth v0.0.15 // indirect
135143
github.com/mattn/go-sqlite3 v1.14.19 // indirect
136144
github.com/mattn/go-zglob v0.0.2-0.20190814121620-e3c945676326 // indirect
145+
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
137146
github.com/miekg/dns v1.1.62 // indirect
138147
github.com/mitchellh/copystructure v1.2.0 // indirect
139148
github.com/mitchellh/go-homedir v1.1.0 // indirect
@@ -149,6 +158,7 @@ require (
149158
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
150159
github.com/opencontainers/go-digest v1.0.0 // indirect
151160
github.com/opencontainers/image-spec v1.1.0 // indirect
161+
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
152162
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
153163
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
154164
github.com/pquerna/otp v1.2.0 // indirect
@@ -163,9 +173,12 @@ require (
163173
github.com/sergi/go-diff v1.3.1 // indirect
164174
github.com/shopspring/decimal v1.3.1 // indirect
165175
github.com/sirupsen/logrus v1.9.3 // indirect
176+
github.com/soheilhy/cmux v0.1.5 // indirect
166177
github.com/spf13/cast v1.6.0 // indirect
167178
github.com/spf13/pflag v1.0.5 // indirect
168179
github.com/stoewer/go-strcase v1.2.0 // indirect
180+
github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 // indirect
181+
github.com/ugorji/go/codec v1.2.7 // indirect
169182
github.com/urfave/cli v1.22.14 // indirect
170183
github.com/valyala/bytebufferpool v1.0.0 // indirect
171184
github.com/valyala/fasthttp v1.34.0 // indirect
@@ -198,13 +211,15 @@ require (
198211
golang.org/x/time v0.5.0 // indirect
199212
golang.org/x/tools v0.24.0 // indirect
200213
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
214+
google.golang.org/genproto v0.0.0-20230822172742-b8732ec3820d // indirect
201215
google.golang.org/genproto/googleapis/api v0.0.0-20240604185151-ef581f913117 // indirect
202216
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 // indirect
203217
google.golang.org/grpc v1.66.2 // indirect
204218
google.golang.org/protobuf v1.34.2 // indirect
205219
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
206220
gopkg.in/fsnotify.v1 v1.4.7 // indirect
207221
gopkg.in/inf.v0 v0.9.1 // indirect
222+
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
208223
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
209224
gopkg.in/yaml.v2 v2.4.0 // indirect
210225
k8s.io/apiserver v0.31.1 // indirect

0 commit comments

Comments
 (0)