Skip to content

Latest commit

 

History

History
29 lines (26 loc) · 2.03 KB

File metadata and controls

29 lines (26 loc) · 2.03 KB

Architecture

┌─────────────────────────────────────────────────────────────┐
│                    PRESENTATION LAYER                       │
│  Views (SwiftUI)  ←  AppState (@Observable)                │
├─────────────────────────────────────────────────────────────┤
│                    SERVICE LAYER                            │
│  AppState (polling, state aggregation)                      │
│  ContainerService | ComposeEngine | HotReloadService        │
├─────────────────────────────────────────────────────────────┤
│                    BACKEND LAYER                            │
│  XPCClient (primary) | ProcessRunner (fallback)             │
│  LaunchdManager (daemon lifecycle)                          │
├─────────────────────────────────────────────────────────────┤
│                    PLATFORM LAYER                           │
│  container-apiserver (XPC) | container CLI | virtiofs/VZ     │
└─────────────────────────────────────────────────────────────┘

Modules

Module Purpose
AppleDockerApp SwiftUI GUI + dual-binary dispatch
AppleDockerCLI ArgumentParser root + docker/compose shim
ContainerBackend Lightweight XPC client for container-apiserver
ComposeEngine YAML parser, resolver, orchestrator, DNS sync, health checks
HotReloadService FSEvents → synthetic inotify bridge for virtiofs mounts