Commit Graph

13 Commits

Author SHA1 Message Date
Adrien Delorme 82c4b76639 [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method 2019-04-03 15:55:55 +02:00
Adrien Delorme 829851fc8a change hooks to be passed a context for cancellation
we have to as it is what calls our provisioners
2019-04-03 15:55:54 +02:00
Matthew Hooker d920b3fbf4 run gofmt 2016-11-01 14:08:04 -07:00
Mitchell Hashimoto 386d72c31a packer: no more asserts lib 2013-10-16 21:09:27 -10:00
Mitchell Hashimoto e210151408 packer: implement Cancel on DispatchHook 2013-08-30 17:26:51 -07:00
Mitchell Hashimoto 80e8e09ec7 packer: Add Cancel() method to hook 2013-08-30 17:03:55 -07:00
Mitchell Hashimoto e5a7fc6b0a packer: Provisioner/Hook can have errors returned 2013-06-26 17:50:25 -07:00
Mitchell Hashimoto 15f215d04f go fmt 2013-05-20 16:50:35 -07:00
Mitchell Hashimoto 7475ee8377 packer: Add Communicator to Hook arguments 2013-05-12 17:30:30 -07:00
Mitchell Hashimoto 7fdb53f5d1 packer: Test to make sure DispatchHook implements Hook 2013-05-12 17:15:03 -07:00
Mitchell Hashimoto 441edd25d2 packer: Changes to build parameters and DispatchHook 2013-05-11 10:27:07 -07:00
Mitchell Hashimoto 30ab944437 packer/rpc: Support Hooks 2013-05-11 09:51:49 -07:00
Mitchell Hashimoto 8ed313e7b5 packer: Add concept of hooks to Environment 2013-05-10 23:15:13 -07:00