packer-cn/builder/googlecompute/tunnel_driver_windows.go

22 lines
406 B
Go
Raw Normal View History

// +build windows
package googlecompute
import (
2020-04-22 17:09:19 -04:00
"context"
"fmt"
)
func NewTunnelDriver() TunnelDriver {
return &TunnelDriverWindows{}
}
2020-04-22 17:05:38 -04:00
type TunnelDriverWindows struct {
}
func (t *TunnelDriverWindows) StartTunnel(cancelCtx context.Context, tempScriptFileName string) error {
return fmt.Errorf("Windows support for IAP tunnel not yet supported.")
}
func (t *TunnelDriverWindows) StopTunnel() {}