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

Method StartVMVNCServer

internal/vnc/server.go:57–59  ·  view source on GitHub ↗

StartVMVNCServer starts the embedded server for a VM VNC connection.

(client *api.Client, vm *api.VM)

Source from the content-addressed store, hash-verified

55
56// StartVMVNCServer starts the embedded server for a VM VNC connection.
57func (s *Server) StartVMVNCServer(client *api.Client, vm *api.VM) (string, error) {
58 return s.StartVMVNCServerWithSession(client, vm, nil)
59}
60
61// StartVMVNCServerWithSession starts the embedded server for a VM VNC connection with session notifications.
62func (s *Server) StartVMVNCServerWithSession(client *api.Client, vm *api.VM, session SessionNotifier) (string, error) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected