fixup! Add documentation to config struct
This commit is contained in:
parent
e05d6a223e
commit
8c73450f3d
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue