packer-cn/helper/communicator
Adrien Delorme f555e7a9f2 allow a provisioner to timeout
* I had to contextualise Communicator.Start and RemoteCmd.StartWithUi
NOTE: Communicator.Start starts a RemoteCmd but RemoteCmd.StartWithUi will run the cmd and wait for a return, so I renamed StartWithUi to RunWithUi so that the intent is clearer.
Ideally in the future RunWithUi will be named back to StartWithUi and the exit status or wait funcs of the command will allow to wait for a return. If you do so please read carrefully https://golang.org/pkg/os/exec/#Cmd.Stdout to avoid a deadlock
* cmd.ExitStatus to cmd.ExitStatus() is now blocking to avoid race conditions
* also had to simplify StartWithUi
2019-04-08 20:09:21 +02:00
..
config.go Create new docker communicator for windows containers 2019-03-27 15:25:32 -07:00
config_test.go Add 'winrm_use_ntlm' configuration directive for NTLM authentication support 2017-06-07 12:08:12 +01:00
step_connect.go use port as ints 2019-03-19 15:01:12 +01:00
step_connect_ssh.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
step_connect_test.go Revert "Add `winrm_no_proxy` option." 2018-02-08 15:10:53 -08:00
step_connect_winrm.go allow a provisioner to timeout 2019-04-08 20:09:21 +02:00
testing.go Add tmp package that offers Dir & File funcs 2018-12-12 16:35:57 +01:00
winrm.go helper/communicator: WinRM stuff 2015-06-13 22:05:48 -07:00