tvl-depot/tvix/build-go
Florian Klink f6c94430c8 feat(tvix/build/protos): add some missing fields
- directory in which the castore input nodes are mounted
 - working directory for the build command
 - scratch paths
 - network access y/n
 - whether a (static) /bin/sh should be provided

Populate these fields appropriately, and extend the tests in tvix-glue
with a FOD example.

Change-Id: I4f9de1483d6696d74694a09784910c407acb0be0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10412
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2023-12-26 10:20:41 +00:00
..
build.pb.go feat(tvix/build/protos): add some missing fields 2023-12-26 10:20:41 +00:00
default.nix feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
go.mod feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
go.sum feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
LICENSE feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
README.md feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
rpc_build.pb.go feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00
rpc_build_grpc.pb.go feat(tvix/build-go): init 2023-12-11 21:43:38 +00:00

build-go

This directory contains generated golang bindings, both for the tvix-build data models, as well as the gRPC bindings.

They are generated with mg run //tvix/build-go:regenerate. These files end with .pb.go, and are ensured to be up to date by a CI check.

Additionally, code useful when interacting with these data structures (ending just with .go) is provided.