rcourtman
|
4122fc6c9b
|
refactor: Extract guest metadata functions to separate file
Move 17 guest-metadata-related functions from monitor.go to new
guest_metadata.go file. This includes:
- Guest agent API call retry logic
- Guest metadata caching (fetch, reserve, schedule, clear)
- Network interface processing and cloning
- OS info extraction
- Type conversion utilities (stringValue, anyToInt64)
Reduces monitor.go by 541 lines (8932 → 8391).
|
2025-12-01 10:53:41 +00:00 |
|