Switch to proto instead of json

Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
Maksym Pavlenko
2026-03-19 09:52:33 -07:00
committed by Mike Brown
parent 73edc80451
commit 9dc864fd0f
4 changed files with 27 additions and 20 deletions

View File

@@ -26,11 +26,6 @@
// 3. shim initializes and writes BootstrapResult as JSON to stdout
// 4. containerd connects to the address provided in BootstrapResult
//
// Note: JSON serialization is used to keep shim binaries small since the
// encoding/json package is already part of the Go runtime. The proto
// definition serves as the schema for detecting breaking changes and
// maintaining forward/backward compatibility.
//
// This design enables:
// - Forward/backward compatibility via version field
// - Typed extensibility via google.protobuf.Any and Extension