Skip to content

Commit baa31ed

Browse files
authored
Merge pull request #8 from metalice/adding-cache
Adding cache
2 parents 46eb2c5 + 1d47177 commit baa31ed

File tree

4 files changed

+216
-65
lines changed

4 files changed

+216
-65
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ WORKDIR /app
55
ENV GIN_MODE=release
66
RUN go build -o kubevirt-apiserver-proxy .
77

8-
ENTRYPOINT [ "/app/kubevirt-apiserver-proxy"]
8+
ENTRYPOINT ["/app/kubevirt-apiserver-proxy"]

go.mod

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,44 @@ module github.com/kubevirt-ui/kubevirt-apiserver-proxy
33
go 1.20
44

55
require (
6-
github.com/gin-gonic/gin v1.9.0
6+
github.com/chenyahui/gin-cache v1.8.1
7+
github.com/gin-gonic/gin v1.9.1
78
github.com/gorilla/websocket v1.5.0
9+
github.com/tidwall/gjson v1.14.4
10+
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df
811
)
912

1013
require (
11-
github.com/bytedance/sonic v1.8.0 // indirect
12-
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
14+
github.com/bytedance/sonic v1.10.0-rc3 // indirect
15+
github.com/cespare/xxhash/v2 v2.1.2 // indirect
16+
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
17+
github.com/chenzhuoyu/iasm v0.9.0 // indirect
18+
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
19+
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
1320
github.com/gin-contrib/sse v0.1.0 // indirect
1421
github.com/go-playground/locales v0.14.1 // indirect
1522
github.com/go-playground/universal-translator v0.18.1 // indirect
16-
github.com/go-playground/validator/v10 v10.11.2 // indirect
17-
github.com/goccy/go-json v0.10.0 // indirect
23+
github.com/go-playground/validator/v10 v10.14.1 // indirect
24+
github.com/go-redis/redis/v8 v8.11.5 // indirect
25+
github.com/goccy/go-json v0.10.2 // indirect
26+
github.com/jellydator/ttlcache/v2 v2.11.1 // indirect
1827
github.com/json-iterator/go v1.1.12 // indirect
19-
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
20-
github.com/leodido/go-urn v1.2.1 // indirect
21-
github.com/mattn/go-isatty v0.0.17 // indirect
22-
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
28+
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
29+
github.com/leodido/go-urn v1.2.4 // indirect
30+
github.com/mattn/go-isatty v0.0.19 // indirect
31+
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
2332
github.com/modern-go/reflect2 v1.0.2 // indirect
24-
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
25-
github.com/tidwall/gjson v1.14.4 // indirect
33+
github.com/pelletier/go-toml/v2 v2.0.9 // indirect
2634
github.com/tidwall/match v1.1.1 // indirect
2735
github.com/tidwall/pretty v1.2.1 // indirect
28-
github.com/tidwall/sjson v1.2.5 // indirect
2936
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
30-
github.com/ugorji/go/codec v1.2.9 // indirect
31-
golang.org/x/arch v0.0.0-20210923205945-b76863e36670 // indirect
32-
golang.org/x/crypto v0.5.0 // indirect
33-
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df // indirect
34-
golang.org/x/net v0.7.0 // indirect
35-
golang.org/x/sys v0.5.0 // indirect
36-
golang.org/x/text v0.7.0 // indirect
37-
google.golang.org/protobuf v1.28.1 // indirect
37+
github.com/ugorji/go/codec v1.2.11 // indirect
38+
golang.org/x/arch v0.4.0 // indirect
39+
golang.org/x/crypto v0.11.0 // indirect
40+
golang.org/x/net v0.12.0 // indirect
41+
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
42+
golang.org/x/sys v0.10.0 // indirect
43+
golang.org/x/text v0.11.0 // indirect
44+
google.golang.org/protobuf v1.31.0 // indirect
3845
gopkg.in/yaml.v3 v3.0.1 // indirect
3946
)

0 commit comments

Comments
 (0)