fixup! Add documentation to config struct

This commit is contained in:
Paul Meyer 2019-10-02 22:44:15 +00:00
parent e05d6a223e
commit 8c73450f3d
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ type Config struct {
// When set to `true`, starts with an empty, unpartitioned disk. Defaults to `false`. // When set to `true`, starts with an empty, unpartitioned disk. Defaults to `false`.
FromScratch bool `mapstructure:"from_scratch"` FromScratch bool `mapstructure:"from_scratch"`
// Either a managed disk resourced ID or a publisher:offer:sku:version specifier for plaform image sources. // Either a managed disk resource ID or a publisher:offer:sku:version specifier for plaform image sources.
Source string `mapstructure:"source" required:"true"` Source string `mapstructure:"source" required:"true"`
sourceType sourceType sourceType sourceType

View File

@ -1,6 +1,6 @@
<!-- Code generated from the comments of the Config struct in builder/azure/chroot/builder.go; DO NOT EDIT MANUALLY --> <!-- Code generated from the comments of the Config struct in builder/azure/chroot/builder.go; DO NOT EDIT MANUALLY -->
- `source` (string) - Either a managed disk resourced ID or a publisher:offer:sku:version specifier for plaform image sources. - `source` (string) - Either a managed disk resource ID or a publisher:offer:sku:version specifier for plaform image sources.
- `image_resource_id` (string) - The image to create using this build. - `image_resource_id` (string) - The image to create using this build.