chore: add vpn-daemon run subcommand for windows (#15526)

`coder vpn-daemon run` will instantiate a RPC connection with the
specified pipe handles and communicate with the (yet to be implemented)
parent process.

The tests don't ensure that the tunnel is actually usable yet as the
tunnel functionality isn't implemented, but it does make sure that the
tunnel tries to read from the RPC pipe.

Closes #14735
This commit is contained in:
Dean Sheather
2024-11-18 21:10:01 +10:00
committed by GitHub
parent 8ca8e016fa
commit d63bd213f7
6 changed files with 283 additions and 0 deletions

View File

@ -125,6 +125,7 @@ func (r *RootCmd) CoreSubcommands() []*serpent.Command {
r.expCmd(),
r.gitssh(),
r.support(),
r.vpnDaemon(),
r.vscodeSSH(),
r.workspaceAgent(),
}