CreateVMProxyConfig creates a proxy configuration for a VM VNC connection.
(client *api.Client, vm *api.VM)
| 401 | |
| 402 | // CreateVMProxyConfig creates a proxy configuration for a VM VNC connection. |
| 403 | func CreateVMProxyConfig(client *api.Client, vm *api.VM) (*ProxyConfig, error) { |
| 404 | return CreateVMProxyConfigWithLogger(client, vm, nil) |
| 405 | } |
| 406 | |
| 407 | // CreateVMProxyConfigWithLogger creates a proxy configuration for a VM VNC connection with shared logger. |
| 408 | func CreateVMProxyConfigWithLogger(client *api.Client, vm *api.VM, sharedLogger *logger.Logger) (*ProxyConfig, error) { |
nothing calls this directly
no test coverage detected