feat(tvix/store/protos): add go_package option
Change-Id: I0898b8a0a78e704219da38e5acaabef1e640d4e4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7321 Reviewed-by: Adam Joseph <adam@westernsemico.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
e05e8bdd03
commit
2b9330911a
5 changed files with 10 additions and 0 deletions
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue