diff options
author | Florian Klink <flokli@flokli.de> | 2024-01-15T17·15+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-01-15T18·49+0000 |
commit | 170e0cdfadd96176595c47b573d0a1f27a7c734b (patch) | |
tree | 1a2a591b1f162062096aecc3f124f25f433e34c4 /tvix/build/src/buildservice/mod.rs | |
parent | 5aa9b29d8cdf870ee6f3ad01a874604ff9f93e45 (diff) |
feat(tvix/build): add from_addr method r/7386
This allows constructing a BuildService from a URI, similar to how it's done in tvix-[ca]store. Change-Id: Ib962b329535c6c7e378ab7ac7f4dd254366497b3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10630 Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz> Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/build/src/buildservice/mod.rs')
-rw-r--r-- | tvix/build/src/buildservice/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tvix/build/src/buildservice/mod.rs b/tvix/build/src/buildservice/mod.rs index cbee221a5e23..a61d782919b9 100644 --- a/tvix/build/src/buildservice/mod.rs +++ b/tvix/build/src/buildservice/mod.rs @@ -3,9 +3,11 @@ use tonic::async_trait; use crate::proto::{Build, BuildRequest}; mod dummy; +mod from_addr; mod grpc; pub use dummy::DummyBuildService; +pub use from_addr::from_addr; #[async_trait] pub trait BuildService: Send + Sync { |