GetLightClusterStatus retrieves fresh cluster status without VM enrichment. This is faster than GetFreshClusterStatus and suitable for periodic auto-refresh where guest agent data (IPs, filesystems) doesn't need to be refreshed every cycle.
()
| 346 | // This is faster than GetFreshClusterStatus and suitable for periodic auto-refresh |
| 347 | // where guest agent data (IPs, filesystems) doesn't need to be refreshed every cycle. |
| 348 | func (c *Client) GetLightClusterStatus() (*Cluster, error) { |
| 349 | return c.getFreshClusterStatusInternal(false) |
| 350 | } |
| 351 | |
| 352 | // GetFastFreshClusterStatus retrieves fresh cluster status (cache-busting) and returns |
| 353 | // basic data immediately. VM enrichment runs in the background and the provided callback |
no test coverage detected