refactor: optimize system updates and create systems package

- Created SystemManager to handle system lifecycle and events
- Created tests for system management operations
- Added test helpers for creating and managing test systems
- Introduced optional port configuration in system config
This commit is contained in:
henrygd
2025-03-03 23:50:19 -05:00
parent d81db6e319
commit f8a1d9fc5d
6 changed files with 1052 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
package system
// TODO: this is confusing, make common package with common/types common/helpers etc
import (
"beszel/internal/entities/container"
"time"