MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / GetLightClusterStatus

Method GetLightClusterStatus

pkg/api/client.go:348–350  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

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.
348func (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

Callers 1

autoRefreshDataMethod · 0.80

Calls 1

Tested by

no test coverage detected