Skip to content

Commit 85b8903

Browse files
committed
README: add Go SDK and sandlock-oci to architecture diagram
Signed-off-by: Cong Wang <cwang@multikernel.io>
1 parent 5b2f040 commit 85b8903

1 file changed

Lines changed: 21 additions & 13 deletions

File tree

README.md

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,31 @@ protects your working directory automatically.
3333

3434
Sandlock is implemented in **Rust** for performance and safety:
3535

36-
- **sandlock-core** — Rust library: Landlock, seccomp, supervisor, COW, pipeline
37-
- **sandlock-cli** — Rust CLI binary (`sandlock run ...`)
38-
- **sandlock-ffi** — C ABI shared library (`libsandlock_ffi.so`)
39-
- **Python SDK** — ctypes bindings to the FFI library
36+
- **sandlock-core**: Rust library (Landlock, seccomp, supervisor, COW, pipeline)
37+
- **sandlock-cli**: Rust CLI binary (`sandlock run ...`)
38+
- **sandlock-oci**: OCI runtime shim for containerd, CRI-O, and Kubernetes (namespace-less)
39+
- **sandlock-ffi**: C ABI shared library (`libsandlock_ffi.so`)
40+
- **Python SDK**: ctypes bindings to the FFI library
41+
- **Go SDK**: cgo bindings to the FFI library
4042

4143
```
42-
┌─────────────┐
43-
│ Python SDK │ ctypes FFI
44-
│ (sandlock) │──────────────┐
45-
└─────────────┘ │
46-
44+
┌─────────────┐ ┌─────────────┐
45+
│ Python SDK │ │ Go SDK │
46+
│ (ctypes) │ │ (cgo) │
47+
└──────┬──────┘ └──────┬──────┘
48+
│ FFI │ FFI
49+
└─────────┬──────────┘
50+
4751
┌──────────────┐ ┌──────────────────────────────┐
4852
│ sandlock CLI │───>│ libsandlock_ffi.so │
49-
└──────────────┘ └──────────────┬───────────────┘
50-
51-
┌──────────────▼───────────────┐
52-
│ sandlock-core │
53+
└──────────────┘ └───────────────┬──────────────┘
54+
55+
┌──────────────┐ │
56+
│ sandlock-oci │────────────┐ │
57+
│ (OCI runtime)│ │ │
58+
└──────────────┘ ▼ ▼
59+
┌──────────────────────────────┐
60+
│ sandlock-core │
5361
│ Landlock · seccomp · COW · │
5462
│ pipeline · policy_fn · vDSO │
5563
└──────────────────────────────┘

0 commit comments

Comments
 (0)