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

Method ConnectToNodeEmbedded

internal/vnc/service.go:259–261  ·  view source on GitHub ↗

ConnectToNodeEmbedded opens an embedded VNC shell connection to a node using the built-in noVNC client This method supports multiple concurrent sessions - each node gets its own session.

(nodeName string)

Source from the content-addressed store, hash-verified

257// ConnectToNodeEmbedded opens an embedded VNC shell connection to a node using the built-in noVNC client
258// This method supports multiple concurrent sessions - each node gets its own session.
259func (s *Service) ConnectToNodeEmbedded(nodeName string) (string, error) {
260 return s.ConnectToNodeEmbeddedWithClient(s.client, nodeName)
261}
262
263// ConnectToNodeEmbeddedWithClient opens an embedded VNC shell connection to a node using the built-in noVNC client and specific client.
264func (s *Service) ConnectToNodeEmbeddedWithClient(client *api.Client, nodeName string) (string, error) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected