Files
Derek McGowan a72247425b api: add shim mount capabilities
A shim that performs some mount types or transformations itself, so that
containerd's mount manager does not perform them on its behalf, had no
way to say so other than a comma separated string in the generic
annotations map of its RuntimeInfo.

Add a containerd.types.MountCapabilities extension a shim can attach to
its BootstrapResult, naming the mount types and transforms it handles.
Detail lives in an extension rather than fields of BootstrapResult so
that containerd can ignore an extension whose type it does not
recognize, letting a shim advertise unconditionally.

Presence of the extension is enough: it is not gated behind a
Capability enum value, since with no other consumer of that field an
enum value here would only ever duplicate what the extension's
presence already says, while still permitting states with no single
correct interpretation, such as the enum value being set with no
extension attached, or the reverse.

This is additive: only a new field is added to BootstrapResult, and
buf breaking is clean.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2026-08-26 10:47:43 -07:00
..
2026-02-18 10:58:03 +01:00
2026-05-19 17:29:18 -07:00
2026-01-08 16:47:41 -08:00
2018-02-19 10:32:26 +09:00
2026-01-30 18:43:12 -08:00
2026-01-08 16:47:41 -08:00
2026-01-08 16:47:41 -08:00
2026-01-08 16:47:41 -08:00
2026-08-26 10:47:43 -07:00
2026-08-26 10:47:43 -07:00
2026-01-08 16:47:41 -08:00