feat(3p/nix): Start implementing RPC store client
Add a stub class for wrapping a gRPC client to the new, proto-backed nix store protocol, along with several methods implemented but several left throwing a not implemented exception. Paired-With: Vincent Ambo <mail@tazj.in> Paired-With: Perry Lorier <isomer@tvl.fyi> Change-Id: Id943d4f6d75084b8498786d580e6c9f7c92c104d Reviewed-on: https://cl.tvl.fyi/c/depot/+/1436 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
This commit is contained in:
parent
dcaba9de64
commit
b10970a66f
5 changed files with 450 additions and 16 deletions
1
third_party/nix/src/proto/worker.proto
vendored
1
third_party/nix/src/proto/worker.proto
vendored
|
|
@ -251,6 +251,7 @@ message CollectGarbageResponse {
|
|||
}
|
||||
|
||||
message PathInfo {
|
||||
bool is_valid = 9;
|
||||
StorePath deriver = 1;
|
||||
bytes nar_hash = 2;
|
||||
repeated string references = 3;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue