mirror of
https://github.com/crazy-max/diun.git
synced 2025-12-21 21:33:22 +01:00
update generated content
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user