Adrien Delorme
4ccf158fbf
Update image_config.go
2020-03-17 15:26:18 +01:00
Adrien Delorme
b5e8750f5f
Change key/value to name/value to remain consistent with Terraform
2020-03-17 11:23:11 +01:00
Adrien Delorme
c845436e32
KeyValues.CopyOn: make sure a receiving nil map is set too
2020-03-16 15:46:08 +01:00
Adrien Delorme
e1c84806cc
rewrap
2020-03-16 14:55:03 +01:00
Adrien Delorme
dab689ce2e
WIP
2020-03-16 12:19:34 +01:00
Adrien Delorme
6e6490d688
WIP
2020-03-13 18:04:48 +01:00
Wilken Rivera
66ad6f3483
builders: Fix gosimple S1007 linting issue ( #8871 )
...
Results before change
```
⇶ golangci-lint run ./... --disable-all --enable=gosimple | grep 1007
builder/alicloud/ecs/image_config.go:208:9: S1007: should use raw string
post-processor/vsphere-template/step_mark_as_template.go:130:8: S1007: shape twice (gosimple)
builder/azure/arm/config.go:58:27: S1007: should use raw string (`...`)
builder/azure/arm/config.go:59:27: S1007: should use raw string (`...`)
builder/qemu/driver.go:192:15: S1007: should use raw string (`...`)
```
Results after change
```
⇶ golangci-lint run ./... --disable-all --enable=gosimple | grep 1007
```
2020-03-11 10:29:22 +01:00
Adrien Delorme
3fe9d52e3f
Merge remote-tracking branch 'origin/master' into scrape_doc_to_builder_struct_config
2019-09-20 11:15:44 +02:00
Megan Marsh
ecaec1ac58
swap out alicloud encryption *bools for trileans
2019-08-22 13:52:29 -07:00
Megan Marsh
3c3f7f26ce
implement custom data type "trilean" (tri-state-boolean) to track booleans which have a "null" or "unset" state. Previously we used *bool for these template options, but it turns out that those won't work because "unset" will evaluate to "false" if a user is using template variables to set the option that maps to a *bool.
2019-08-22 13:18:15 -07:00
Adrien Delorme
7a60990825
alicloud: use partials
2019-06-14 15:56:05 +02:00
Adrien Delorme
4399684372
make fmt autogenerated docs
2019-06-06 16:29:25 +02:00
Adrien Delorme
e6cbb013ba
add // go:generate struct-markdown to all previously edited files
2019-06-05 16:42:18 +02:00
Adrien Delorme
f1917edd34
generate the comments for config struct of builders scraping doc website
2019-06-05 16:42:17 +02:00
wb-ywq399345
0da7b918ce
support encryption with default service key
2019-04-26 15:12:07 +08:00
chhaj5236
6b081cc41c
update alicloud builder to use official SDK ( #7477 )
2019-04-26 10:37:49 +08:00
bozhi.ch
3c2c13a021
support creating image without data disks
2018-11-19 15:25:12 +08:00
bozhi.ch
c3a60ad0ce
add options for system disk properties
2018-10-30 21:09:59 +08:00
bozhi.ch
b8a3e3b8f4
support adding tags to image
2018-09-16 18:16:13 +08:00
Josh Soref
939e7d5587
spelling: delete
2018-03-13 07:36:38 +00:00
Matthew Hooker
ebe995c0ff
run goimports
2018-01-22 17:21:10 -08:00
zhuzhih2017
2de00f2ff8
add check rule for image_name
2017-06-02 16:47:50 +08:00
Matthew Hooker
fdfd01eaea
formatting
2017-06-01 17:14:51 -07:00
Matthew Hooker
8bc038d8b8
remove alicloud_ prefix
2017-06-01 15:47:47 -07:00