packer-cn/builder/googlecompute
Adrien Delorme bf3d9841c6 Force durations to be passed a strings
Before this commit it was possible to set a duration using an integer or a float. Go's time.Duration is an int64 internally an mapstructure will take advantage of this and load the number as a int64 but `1` means one ns which is unexpected/confusing. To avoid confusion and enforce readability this forces users to pass a string with a unit for a duration; ex "56s".
2019-10-31 11:47:19 +01:00
..
test-fixtures builder/googlecompute: Tests added 2016-11-03 12:45:52 -04:00
account.go replace some bespoke google auth code with code from golang's oauth2 library 2019-07-03 14:27:33 -07:00
artifact.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
artifact_test.go run goimports 2018-01-22 17:21:10 -08:00
builder.go builder.google: 2019-10-15 12:56:41 +02:00
builder_test.go Use the same license as Packer core 2013-12-12 21:53:04 -08:00
config.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
config.hcl2spec.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
config_test.go address review feedback 2019-09-16 13:50:43 -07:00
driver.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
driver_gce.go builder: remove deprecated context usage 2019-09-30 11:33:53 -07:00
driver_mock.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
image.go Using CI for compilation errors because am on Windows 2017-09-18 18:13:21 +01:00
image_test.go gofmt project. 2016-09-29 14:13:06 -07:00
networking.go builder/googlecompute: Test networking interpolation 2017-11-06 21:22:53 -08:00
networking_test.go builder/googlecompute: Test networking interpolation 2017-11-06 21:22:53 -08:00
startup.go Change metadata url to FQDN 2019-02-01 15:36:40 +11:00
step_check_existing_image.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
step_check_existing_image_test.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
step_create_image.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
step_create_image_test.go builder.google: 2019-10-15 12:56:41 +02:00
step_create_instance.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
step_create_instance_test.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
step_create_ssh_key.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
step_create_ssh_key_test.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
step_create_windows_password.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
step_create_windows_password_test.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
step_instance_info.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
step_instance_info_test.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
step_teardown_instance.go Force durations to be passed a strings 2019-10-31 11:47:19 +01:00
step_teardown_instance_test.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
step_test.go move multistep imports to helper. 2018-01-24 17:09:15 -08:00
step_wait_startup_script.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
step_wait_startup_script_test.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00
template_funcs.go fix template imports 2019-10-14 13:22:06 -07:00
template_funcs_test.go add a couple of extra tests and reword documentation 2017-10-20 14:06:02 -07:00
winrm.go Remove config interface. Make CreateImage function to accept config as list of config fields 2019-05-05 17:17:08 +02:00