Skip to content

Commit df98a8e

Browse files
committed
Add GRPC dependencies
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
1 parent 1b2773a commit df98a8e

File tree

11 files changed

+2724
-1
lines changed

11 files changed

+2724
-1
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ require (
7272
golang.org/x/sync v0.17.0
7373
golang.org/x/sys v0.37.0
7474
golang.org/x/term v0.36.0
75+
google.golang.org/grpc v1.72.2
7576
google.golang.org/protobuf v1.36.9
7677
gopkg.in/inf.v0 v0.9.1
7778
gopkg.in/yaml.v3 v3.0.1
@@ -188,7 +189,6 @@ require (
188189
golang.org/x/tools v0.37.0 // indirect
189190
google.golang.org/genproto/googleapis/api v0.0.0-20250414145226-207652e42e2e // indirect
190191
google.golang.org/genproto/googleapis/rpc v0.0.0-20250414145226-207652e42e2e // indirect
191-
google.golang.org/grpc v1.72.2 // indirect
192192
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
193193
tags.cncf.io/container-device-interface/specs-go v1.0.0 // indirect
194194
)

pkg/api/server/server.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ import (
2828
"github.com/gorilla/mux"
2929
"github.com/gorilla/schema"
3030
"github.com/sirupsen/logrus"
31+
_ "google.golang.org/grpc"
32+
_ "google.golang.org/grpc/reflection"
3133
)
3234

3335
type APIServer struct {

vendor/google.golang.org/grpc/reflection/README.md

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/google.golang.org/grpc/reflection/adapt.go

Lines changed: 57 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)