mirror of
https://github.com/containerd/containerd.git
synced 2026-08-05 15:40:38 +00:00
Switch to proto instead of json
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
This commit is contained in:
committed by
Mike Brown
parent
73edc80451
commit
9dc864fd0f
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user