packer-cn/helper
Adrien Delorme 819329228a Change back to make sure all durations are a time.Duration
It is simply the best/simplest solution and trying to prevent users from passing and integer here would be like opening a can of worms. Because:

* we cannot make mapstructure validate our duration string ( with an UnmarshalJSON func etc.)
* we cannot make mapstructure spit a string instead of a duration and packer will decode-encode-decode config.
* the hcl2 generated code asks for a string, so this will be enforced by default.
2019-10-31 16:12:07 +01:00
..
builder/testing change Builder to be passed a context for cancellation 2019-04-03 15:55:55 +02:00
common move http with proxy call into a helper function 2019-01-25 12:32:52 -08:00
communicator Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
config Change back to make sure all durations are a time.Duration 2019-10-31 16:12:07 +01:00
enumflag Fail on unknown values of -on-error 2016-09-17 14:42:21 +00:00
flag-kv helper/flag-kv: can parse JSON files 2015-05-26 09:58:04 -07:00
flag-slice Support -flag=var1,var2,var3 to fix #2332 2015-06-26 17:54:59 -07:00
multistep rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
ssh SSH tunneling support 2019-09-18 11:09:41 -07:00
useragent Include arch and os 2018-04-05 14:28:50 -04:00
wrappedreadline allow to build on solaris 2019-06-07 12:42:38 +02:00