diff --git a/go.mod b/go.mod index 28feb0c74..71cb5206c 100644 --- a/go.mod +++ b/go.mod @@ -43,7 +43,7 @@ require ( golang.org/x/mod v0.9.0 golang.org/x/sys v0.6.0 google.golang.org/grpc v1.53.0 - google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0 + google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0 google.golang.org/protobuf v1.30.0 gopkg.in/yaml.v2 v2.4.0 k8s.io/api v0.25.4 diff --git a/go.sum b/go.sum index ad4165237..7966f5235 100644 --- a/go.sum +++ b/go.sum @@ -456,8 +456,8 @@ google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8 google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.53.0 h1:LAv2ds7cmFV/XTS3XG1NneeENYrXGmorPxsBbptIjNc= google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0 h1:TLkBREm4nIsEcexnCjgQd5GQWaHcqMzwQV0TX9pq8S0= -google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0/go.mod h1:DNq5QpG7LJqD2AamLZ7zvKE0DEpVl2BSEVjFycAAjRY= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0 h1:rNBFJjBCOgVr9pWD7rs/knKL4FRTKgpZmsRfV214zcA= +google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0/go.mod h1:Dk1tviKTvMCz5tvh7t+fh94dhmQVHuCt2OzJB3CTW9Y= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= diff --git a/pb/image_grpc.pb.go b/pb/image_grpc.pb.go index 4533ea45d..ce017d23f 100644 --- a/pb/image_grpc.pb.go +++ b/pb/image_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc v3.17.3 // source: image.proto @@ -18,6 +18,13 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + ImageService_ImageList_FullMethodName = "/pb.ImageService/ImageList" + ImageService_ImageInspect_FullMethodName = "/pb.ImageService/ImageInspect" + ImageService_ImageRemove_FullMethodName = "/pb.ImageService/ImageRemove" + ImageService_ImagePrune_FullMethodName = "/pb.ImageService/ImagePrune" +) + // ImageServiceClient is the client API for ImageService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -38,7 +45,7 @@ func NewImageServiceClient(cc grpc.ClientConnInterface) ImageServiceClient { func (c *imageServiceClient) ImageList(ctx context.Context, in *ImageListRequest, opts ...grpc.CallOption) (*ImageListResponse, error) { out := new(ImageListResponse) - err := c.cc.Invoke(ctx, "/pb.ImageService/ImageList", in, out, opts...) + err := c.cc.Invoke(ctx, ImageService_ImageList_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -47,7 +54,7 @@ func (c *imageServiceClient) ImageList(ctx context.Context, in *ImageListRequest func (c *imageServiceClient) ImageInspect(ctx context.Context, in *ImageInspectRequest, opts ...grpc.CallOption) (*ImageInspectResponse, error) { out := new(ImageInspectResponse) - err := c.cc.Invoke(ctx, "/pb.ImageService/ImageInspect", in, out, opts...) + err := c.cc.Invoke(ctx, ImageService_ImageInspect_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -56,7 +63,7 @@ func (c *imageServiceClient) ImageInspect(ctx context.Context, in *ImageInspectR func (c *imageServiceClient) ImageRemove(ctx context.Context, in *ImageRemoveRequest, opts ...grpc.CallOption) (*ImageRemoveResponse, error) { out := new(ImageRemoveResponse) - err := c.cc.Invoke(ctx, "/pb.ImageService/ImageRemove", in, out, opts...) + err := c.cc.Invoke(ctx, ImageService_ImageRemove_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -65,7 +72,7 @@ func (c *imageServiceClient) ImageRemove(ctx context.Context, in *ImageRemoveReq func (c *imageServiceClient) ImagePrune(ctx context.Context, in *ImagePruneRequest, opts ...grpc.CallOption) (*ImagePruneResponse, error) { out := new(ImagePruneResponse) - err := c.cc.Invoke(ctx, "/pb.ImageService/ImagePrune", in, out, opts...) + err := c.cc.Invoke(ctx, ImageService_ImagePrune_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -122,7 +129,7 @@ func _ImageService_ImageList_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pb.ImageService/ImageList", + FullMethod: ImageService_ImageList_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ImageServiceServer).ImageList(ctx, req.(*ImageListRequest)) @@ -140,7 +147,7 @@ func _ImageService_ImageInspect_Handler(srv interface{}, ctx context.Context, de } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pb.ImageService/ImageInspect", + FullMethod: ImageService_ImageInspect_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ImageServiceServer).ImageInspect(ctx, req.(*ImageInspectRequest)) @@ -158,7 +165,7 @@ func _ImageService_ImageRemove_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pb.ImageService/ImageRemove", + FullMethod: ImageService_ImageRemove_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ImageServiceServer).ImageRemove(ctx, req.(*ImageRemoveRequest)) @@ -176,7 +183,7 @@ func _ImageService_ImagePrune_Handler(srv interface{}, ctx context.Context, dec } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pb.ImageService/ImagePrune", + FullMethod: ImageService_ImagePrune_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ImageServiceServer).ImagePrune(ctx, req.(*ImagePruneRequest)) diff --git a/pb/notif_grpc.pb.go b/pb/notif_grpc.pb.go index 878f06b75..beb141d9c 100644 --- a/pb/notif_grpc.pb.go +++ b/pb/notif_grpc.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: -// - protoc-gen-go-grpc v1.2.0 +// - protoc-gen-go-grpc v1.3.0 // - protoc v3.17.3 // source: notif.proto @@ -18,6 +18,10 @@ import ( // Requires gRPC-Go v1.32.0 or later. const _ = grpc.SupportPackageIsVersion7 +const ( + NotifService_NotifTest_FullMethodName = "/pb.NotifService/NotifTest" +) + // NotifServiceClient is the client API for NotifService service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. @@ -35,7 +39,7 @@ func NewNotifServiceClient(cc grpc.ClientConnInterface) NotifServiceClient { func (c *notifServiceClient) NotifTest(ctx context.Context, in *NotifTestRequest, opts ...grpc.CallOption) (*NotifTestResponse, error) { out := new(NotifTestResponse) - err := c.cc.Invoke(ctx, "/pb.NotifService/NotifTest", in, out, opts...) + err := c.cc.Invoke(ctx, NotifService_NotifTest_FullMethodName, in, out, opts...) if err != nil { return nil, err } @@ -80,7 +84,7 @@ func _NotifService_NotifTest_Handler(srv interface{}, ctx context.Context, dec f } info := &grpc.UnaryServerInfo{ Server: srv, - FullMethod: "/pb.NotifService/NotifTest", + FullMethod: NotifService_NotifTest_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(NotifServiceServer).NotifTest(ctx, req.(*NotifTestRequest))