Typed structs mirroring bsdkrun's JSON output, plus mapping helpers that
turn a decoded --json row (string keys) into the corresponding struct.
Summary
Functions
Map an images --json row to an ImageInfo.
Map a network ls --json row to a NetworkInfo.
Map a ps --json row to a SandboxInfo.
Map a volume ls --json row to a VolumeInfo.
Functions
@spec image_info(map()) :: Bsdkrun.Types.ImageInfo.t()
Map an images --json row to an ImageInfo.
@spec network_info(map()) :: Bsdkrun.Types.NetworkInfo.t()
Map a network ls --json row to a NetworkInfo.
@spec sandbox_info(map()) :: Bsdkrun.Types.SandboxInfo.t()
Map a ps --json row to a SandboxInfo.
@spec volume_info(map()) :: Bsdkrun.Types.VolumeInfo.t()
Map a volume ls --json row to a VolumeInfo.