about summary refs log tree commit diff
path: root/tvix/store/protos
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2022-11-19T21·20+0000
committerflokli <flokli@flokli.de>2022-12-26T11·38+0000
commit2b9330911ac1ba9bd0751235e91a11f56ce3267d (patch)
tree36c0748a0544073cc3ec3524d8b0476197e73d7c /tvix/store/protos
parente05e8bdd036ea0bd185a2234921f2fcfc146cd55 (diff)
feat(tvix/store/protos): add go_package option r/5495
Change-Id: I0898b8a0a78e704219da38e5acaabef1e640d4e4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7321
Reviewed-by: Adam Joseph <adam@westernsemico.com>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/store/protos')
-rw-r--r--tvix/store/protos/castore.proto2
-rw-r--r--tvix/store/protos/pathinfo.proto2
-rw-r--r--tvix/store/protos/rpc_blobstore.proto2
-rw-r--r--tvix/store/protos/rpc_directory.proto2
-rw-r--r--tvix/store/protos/rpc_pathinfo.proto2
5 files changed, 10 insertions, 0 deletions
diff --git a/tvix/store/protos/castore.proto b/tvix/store/protos/castore.proto
index 3d380c63da98..747aab08bdf4 100644
--- a/tvix/store/protos/castore.proto
+++ b/tvix/store/protos/castore.proto
@@ -5,6 +5,8 @@ syntax = "proto3";
 
 package tvix.store.v1;
 
+option go_package = "code.tvl.fyi/tvix/store/protos;storev1";
+
 // A Directory can contain Directory, File or Symlink nodes.
 // Each of these nodes have a name attribute, which is the basename in that directory
 // and node type specific attributes.
diff --git a/tvix/store/protos/pathinfo.proto b/tvix/store/protos/pathinfo.proto
index 0fbf0ed6b9fd..279bb14848fd 100644
--- a/tvix/store/protos/pathinfo.proto
+++ b/tvix/store/protos/pathinfo.proto
@@ -6,6 +6,8 @@ package tvix.store.v1;
 
 import "tvix/store/protos/castore.proto";
 
+option go_package = "code.tvl.fyi/tvix/store/protos;storev1";
+
 // PathInfo shows information about a Nix Store Path.
 // That's a single element inside /nix/store.
 message PathInfo {
diff --git a/tvix/store/protos/rpc_blobstore.proto b/tvix/store/protos/rpc_blobstore.proto
index 49a6b974f061..1d4349bc6bb6 100644
--- a/tvix/store/protos/rpc_blobstore.proto
+++ b/tvix/store/protos/rpc_blobstore.proto
@@ -4,6 +4,8 @@ syntax = "proto3";
 
 package tvix.store.v1;
 
+option go_package = "code.tvl.fyi/tvix/store/protos;storev1";
+
 service BlobService {
     rpc Get(GetBlobRequest) returns (GetBlobResponse);
     rpc Put(PutBlobRequest) returns (PutBlobResponse);
diff --git a/tvix/store/protos/rpc_directory.proto b/tvix/store/protos/rpc_directory.proto
index 29e175a106b2..0aeed5c3c0e1 100644
--- a/tvix/store/protos/rpc_directory.proto
+++ b/tvix/store/protos/rpc_directory.proto
@@ -6,6 +6,8 @@ package tvix.store.v1;
 
 import "tvix/store/protos/castore.proto";
 
+option go_package = "code.tvl.fyi/tvix/store/protos;storev1";
+
 service DirectoryService {
   // Get retrieves a stream of Directory messages, by using the lookup
   // parameters in GetDirectoryRequest.
diff --git a/tvix/store/protos/rpc_pathinfo.proto b/tvix/store/protos/rpc_pathinfo.proto
index 160e594268c0..f9710f572228 100644
--- a/tvix/store/protos/rpc_pathinfo.proto
+++ b/tvix/store/protos/rpc_pathinfo.proto
@@ -6,6 +6,8 @@ package tvix.store.v1;
 
 import "tvix/store/protos/pathinfo.proto";
 
+option go_package = "code.tvl.fyi/tvix/store/protos;storev1";
+
 service PathInfoService {
     // Get retrieves a PathInfo object, by using the lookup parameters in
     // GetPathInfoRequest.