Files
Redflag/aggregator-agent/internal/system/windows_stub.go
Fimeg 2ade509b63 Update README with current features and screenshots
- Cross-platform support (Windows/Linux) with Windows Updates and Winget
- Added dependency confirmation workflow and refresh token authentication
- New screenshots: History, Live Operations, Windows Agent Details
- Local CLI features with terminal output and cache system
- Updated known limitations - Proxmox integration is broken
- Organized docs to docs/ folder and updated .gitignore
- Probably introduced a dozen bugs with Windows agents - stay tuned
2025-10-17 15:28:22 -04:00

39 lines
730 B
Go

//go:build !windows
// +build !windows
package system
// Stub functions for non-Windows platforms
// These return empty/default values on non-Windows systems
func getWindowsCPUInfo() (*CPUInfo, error) {
return &CPUInfo{}, nil
}
func getWindowsMemoryInfo() (*MemoryInfo, error) {
return &MemoryInfo{}, nil
}
func getWindowsDiskInfo() ([]DiskInfo, error) {
return []DiskInfo{}, nil
}
func getWindowsProcessCount() (int, error) {
return 0, nil
}
func getWindowsUptime() (string, error) {
return "Unknown", nil
}
func getWindowsIPAddress() (string, error) {
return "127.0.0.1", nil
}
func getWindowsHardwareInfo() map[string]string {
return make(map[string]string)
}
func getWindowsInfo() string {
return "Windows"
}