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

Method StartNodeVNCServer

internal/vnc/server.go:102–104  ·  view source on GitHub ↗

StartNodeVNCServer starts the embedded server for a node VNC shell connection.

(client *api.Client, nodeName string)

Source from the content-addressed store, hash-verified

100
101// StartNodeVNCServer starts the embedded server for a node VNC shell connection.
102func (s *Server) StartNodeVNCServer(client *api.Client, nodeName string) (string, error) {
103 return s.StartNodeVNCServerWithSession(client, nodeName, nil)
104}
105
106// StartNodeVNCServerWithSession starts the embedded server for a node VNC shell connection with session notifications.
107func (s *Server) StartNodeVNCServerWithSession(client *api.Client, nodeName string, session SessionNotifier) (string, error) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected