Commit 07a60d7
committed
Add an initial varlink IPC interface
I'm thinking about bootc-dev/bootc#522
again, and varlink is definitely an option there.
In order for us to gain experience with it, I think it makes
sense to start here. In some experimentation, it seems zlink
is indeed better maintained than varlink-rs and more complete.
(there's some unreleased async support in varlink-rs, and
the activation/service stuff was not complete).
In this initial pass, we first cover the `images` API (which is
really just a thin wrapper for enumerating images in the container
runtime store). The more interesting one is `io.bootc.vk.ephemeral`
which supports spawning.
Note: The workspace lint for unused_must_use is relaxed from forbid to deny
so that zlink's proc-macro-generated #[allow(unused)] does not conflict.
the practical enforcement is identical.
Also added docs/src/varlink.md with usage examples for all interfaces.
Assisted-by: OpenCode (claude-opus-4-6)
Signed-off-by: Colin Walters <walters@verbum.org>1 parent b15e7fa commit 07a60d7
File tree
24 files changed
+1634
-89
lines changed- crates
- integration-tests
- src
- bin
- tests
- kit
- src
- docs/src
- man
24 files changed
+1634
-89
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
0 commit comments