chore(3p/sources): Bump channels & overlays
* //users/wpcarro/emacs: use top level (ELPA) version of eglot, as it
was removed from MELPA:
dc2ead17a8
* //3p/nixpkgs:tdlib: 1.8.11 -> 1.8.12
* //tvix/store: regenerate protos after buf update
Change-Id: I782a8d91fda5ed461788055a3721104e8c032207
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8327
Autosubmit: sterni <sternenseemann@systemli.org>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Reviewed-by: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
49cb2a2b1f
commit
3a74268b6e
11 changed files with 66 additions and 37 deletions
|
|
@ -1,6 +1,9 @@
|
|||
// SPDX-License-Identifier: MIT
|
||||
// Copyright © 2022 The Tvix Authors
|
||||
|
||||
// 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 (unknown)
|
||||
// source: tvix/store/protos/rpc_pathinfo.proto
|
||||
|
||||
|
|
@ -18,6 +21,12 @@ import (
|
|||
// Requires gRPC-Go v1.32.0 or later.
|
||||
const _ = grpc.SupportPackageIsVersion7
|
||||
|
||||
const (
|
||||
PathInfoService_Get_FullMethodName = "/tvix.store.v1.PathInfoService/Get"
|
||||
PathInfoService_Put_FullMethodName = "/tvix.store.v1.PathInfoService/Put"
|
||||
PathInfoService_CalculateNAR_FullMethodName = "/tvix.store.v1.PathInfoService/CalculateNAR"
|
||||
)
|
||||
|
||||
// PathInfoServiceClient is the client API for PathInfoService 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.
|
||||
|
|
@ -67,7 +76,7 @@ func NewPathInfoServiceClient(cc grpc.ClientConnInterface) PathInfoServiceClient
|
|||
|
||||
func (c *pathInfoServiceClient) Get(ctx context.Context, in *GetPathInfoRequest, opts ...grpc.CallOption) (*PathInfo, error) {
|
||||
out := new(PathInfo)
|
||||
err := c.cc.Invoke(ctx, "/tvix.store.v1.PathInfoService/Get", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, PathInfoService_Get_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
@ -76,7 +85,7 @@ func (c *pathInfoServiceClient) Get(ctx context.Context, in *GetPathInfoRequest,
|
|||
|
||||
func (c *pathInfoServiceClient) Put(ctx context.Context, in *PathInfo, opts ...grpc.CallOption) (*PathInfo, error) {
|
||||
out := new(PathInfo)
|
||||
err := c.cc.Invoke(ctx, "/tvix.store.v1.PathInfoService/Put", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, PathInfoService_Put_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
@ -85,7 +94,7 @@ func (c *pathInfoServiceClient) Put(ctx context.Context, in *PathInfo, opts ...g
|
|||
|
||||
func (c *pathInfoServiceClient) CalculateNAR(ctx context.Context, in *Node, opts ...grpc.CallOption) (*CalculateNARResponse, error) {
|
||||
out := new(CalculateNARResponse)
|
||||
err := c.cc.Invoke(ctx, "/tvix.store.v1.PathInfoService/CalculateNAR", in, out, opts...)
|
||||
err := c.cc.Invoke(ctx, PathInfoService_CalculateNAR_FullMethodName, in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
@ -168,7 +177,7 @@ func _PathInfoService_Get_Handler(srv interface{}, ctx context.Context, dec func
|
|||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/tvix.store.v1.PathInfoService/Get",
|
||||
FullMethod: PathInfoService_Get_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PathInfoServiceServer).Get(ctx, req.(*GetPathInfoRequest))
|
||||
|
|
@ -186,7 +195,7 @@ func _PathInfoService_Put_Handler(srv interface{}, ctx context.Context, dec func
|
|||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/tvix.store.v1.PathInfoService/Put",
|
||||
FullMethod: PathInfoService_Put_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PathInfoServiceServer).Put(ctx, req.(*PathInfo))
|
||||
|
|
@ -204,7 +213,7 @@ func _PathInfoService_CalculateNAR_Handler(srv interface{}, ctx context.Context,
|
|||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/tvix.store.v1.PathInfoService/CalculateNAR",
|
||||
FullMethod: PathInfoService_CalculateNAR_FullMethodName,
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(PathInfoServiceServer).CalculateNAR(ctx, req.(*Node))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue