Files
spinifex/spinifex
joshsiv-mulga 6c84145405 refactor(daemon): extract StartStoppedInstance to service (1b-pre phase 2c)
Daemon's handleEC2StartStoppedInstance collapses to a Pattern A handleNATSRequest
wrapper over InstanceServiceImpl.StartStoppedInstance. Promotes ResourceCapacityProvider
to InstanceTypeAllocator with Allocate/Deallocate/CanAllocate/InstanceTypes, and adds
a GPUClaimer interface returning (pciAddress, xvgaEnabled, err) so the instance package
stays free of the gpu package. Daemon ResourceManager gains exported wrappers around
its internal allocator methods; a daemonGPUClaimer adapter wires gpu.Manager + the
GPU model overrides through SetGPUClaimer.

No behaviour change. New service-level tests cover the moved logic; existing
daemon integration tests continue to validate the end-to-end path through the
wrapper.
2026-05-11 11:52:11 +10:00
..
2026-05-06 09:52:23 +10:00
2026-05-06 09:52:23 +10:00
2026-04-01 12:20:56 +11:00
2026-05-06 09:52:23 +10:00
2026-04-28 14:10:46 +10:00
2026-05-08 12:39:55 +10:00
2026-04-14 09:24:14 +10:00
2026-04-02 10:25:01 +11:00
2026-05-06 09:52:23 +10:00