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

Method GetNodeVNCStatus

internal/vnc/service.go:196–198  ·  view source on GitHub ↗

GetNodeVNCStatus checks if VNC shell is available for a node.

(nodeName string)

Source from the content-addressed store, hash-verified

194
195// GetNodeVNCStatus checks if VNC shell is available for a node.
196func (s *Service) GetNodeVNCStatus(nodeName string) (bool, string) {
197 return s.GetNodeVNCStatusWithClient(s.client, nodeName)
198}
199
200// GetNodeVNCStatusWithClient checks if VNC shell is available for a node using a specific client.
201func (s *Service) GetNodeVNCStatusWithClient(client *api.Client, nodeName string) (bool, string) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected