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

Function CreateNodeProxyConfig

internal/vnc/proxy.go:481–483  ·  view source on GitHub ↗

CreateNodeProxyConfig creates a proxy configuration for a node VNC shell connection.

(client *api.Client, nodeName string)

Source from the content-addressed store, hash-verified

479
480// CreateNodeProxyConfig creates a proxy configuration for a node VNC shell connection.
481func CreateNodeProxyConfig(client *api.Client, nodeName string) (*ProxyConfig, error) {
482 return CreateNodeProxyConfigWithLogger(client, nodeName, nil)
483}
484
485// CreateNodeProxyConfigWithLogger creates a proxy configuration for a node VNC shell connection with shared logger.
486func CreateNodeProxyConfigWithLogger(client *api.Client, nodeName string, sharedLogger *logger.Logger) (*ProxyConfig, error) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected