GetStatus safely retrieves the profile's connection status.
()
| 57 | |
| 58 | // GetStatus safely retrieves the profile's connection status. |
| 59 | func (pc *ProfileClient) GetStatus() (ProfileConnectionStatus, error) { |
| 60 | pc.mu.RLock() |
| 61 | defer pc.mu.RUnlock() |
| 62 | return pc.Status, pc.LastErr |
| 63 | } |
| 64 | |
| 65 | // GroupClientManager manages multiple Proxmox API clients for group cluster mode. |
| 66 | // It provides concurrent access to multiple profiles and groups their data. |
no outgoing calls