Use packer-sdc in packer + remove mapstructure-to-hcl2 & struct-markdown (#10913)
* start using `go:generate packer-sdc struct-markdown` * Update Makefile remove @go install ./cmd/struct-markdown * run go generate for struct-markdown * use //go:generate packer-sdc mapstructure-to-hcl2 * run go generate for mapstructure-to-hcl2 * remove struct-markdown and mapstructure-to-hcl2 * vendor vendors
This commit is contained in:
parent
da312e2785
commit
87ba7258b3
3
Makefile
3
Makefile
|
@ -58,8 +58,7 @@ install-gen-deps: ## Install dependencies for code generation
|
||||||
# install` seems to install the last tagged version and we want to install
|
# install` seems to install the last tagged version and we want to install
|
||||||
# master.
|
# master.
|
||||||
@(cd $(TEMPDIR) && GO111MODULE=on go get github.com/alvaroloes/enumer@master)
|
@(cd $(TEMPDIR) && GO111MODULE=on go get github.com/alvaroloes/enumer@master)
|
||||||
@go install ./cmd/struct-markdown
|
@go install github.com/hashicorp/packer-plugin-sdk/cmd/packer-sdc@latest
|
||||||
@go install ./cmd/mapstructure-to-hcl2
|
|
||||||
|
|
||||||
install-lint-deps: ## Install linter dependencies
|
install-lint-deps: ## Install linter dependencies
|
||||||
# Pinning golangci-lint at v1.23.8 as --new-from-rev seems to work properly; the latest 1.24.0 has caused issues with memory consumption
|
# Pinning golangci-lint at v1.23.8 as --new-from-rev seems to work properly; the latest 1.24.0 has caused issues with memory consumption
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package ecs
|
package ecs
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,AlicloudDiskDevice
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,AlicloudDiskDevice
|
||||||
|
|
||||||
// The alicloud contains a packersdk.Builder implementation that
|
// The alicloud contains a packersdk.Builder implementation that
|
||||||
// builds ecs images for alicloud.
|
// builds ecs images for alicloud.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,AlicloudDiskDevice"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package ecs
|
package ecs
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package ecs
|
package ecs
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package ecs
|
package ecs
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,SharedImageGallery,SharedImageGalleryDestination,PlanInformation
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,SharedImageGallery,SharedImageGalleryDestination,PlanInformation
|
||||||
|
|
||||||
package arm
|
package arm
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,SharedImageGallery,SharedImageGalleryDestination,PlanInformation"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package arm
|
package arm
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
// Package chroot is able to create an Azure managed image without requiring the
|
// Package chroot is able to create an Azure managed image without requiring the
|
||||||
// launch of a new virtual machine for every build. It does this by attaching and
|
// launch of a new virtual machine for every build. It does this by attaching and
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package chroot
|
package chroot
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type SharedImageGalleryDestination,TargetRegion
|
//go:generate packer-sdc mapstructure-to-hcl2 -type SharedImageGalleryDestination,TargetRegion
|
||||||
|
|
||||||
package chroot
|
package chroot
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type SharedImageGalleryDestination,TargetRegion"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package chroot
|
package chroot
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package client
|
package client
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,SharedImageGallery,SharedImageGalleryDestination,DtlArtifact,ArtifactParameter
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,SharedImageGallery,SharedImageGalleryDestination,DtlArtifact,ArtifactParameter
|
||||||
|
|
||||||
package dtl
|
package dtl
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,SharedImageGallery,SharedImageGalleryDestination,DtlArtifact,ArtifactParameter"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package dtl
|
package dtl
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package cloudstack
|
package cloudstack
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package cloudstack
|
package cloudstack
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package digitalocean
|
package digitalocean
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package digitalocean
|
package digitalocean
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package file
|
package file
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package file
|
package file
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,CustomerEncryptionKey
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,CustomerEncryptionKey
|
||||||
|
|
||||||
package googlecompute
|
package googlecompute
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,CustomerEncryptionKey"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package googlecompute
|
package googlecompute
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type IAPConfig
|
//go:generate packer-sdc mapstructure-to-hcl2 -type IAPConfig
|
||||||
|
|
||||||
package googlecompute
|
package googlecompute
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type IAPConfig"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package googlecompute
|
package googlecompute
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,imageFilter
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,imageFilter
|
||||||
|
|
||||||
package hcloud
|
package hcloud
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,imageFilter"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package hcloud
|
package hcloud
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package hyperone
|
package hyperone
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package hyperone
|
package hyperone
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type OutputConfig
|
//go:generate packer-sdc mapstructure-to-hcl2 -type OutputConfig
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type OutputConfig"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package iso
|
package iso
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package iso
|
package iso
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package vmcx
|
package vmcx
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package vmcx
|
package vmcx
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package jdcloud
|
package jdcloud
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package jdcloud
|
package jdcloud
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package linode
|
package linode
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package linode
|
package linode
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package lxc
|
package lxc
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package lxc
|
package lxc
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package lxd
|
package lxd
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package lxd
|
package lxd
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package ncloud
|
package ncloud
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package ncloud
|
package ncloud
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package null
|
package null
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package null
|
package null
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package oneandone
|
package oneandone
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package oneandone
|
package oneandone
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package openstack
|
package openstack
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,ImageFilter,ImageFilterOptions
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,ImageFilter,ImageFilterOptions
|
||||||
|
|
||||||
// The openstack package contains a packersdk.Builder implementation that
|
// The openstack package contains a packersdk.Builder implementation that
|
||||||
// builds Images for openstack.
|
// builds Images for openstack.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,ImageFilter,ImageFilterOptions"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package openstack
|
package openstack
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package openstack
|
package openstack
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package openstack
|
package openstack
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package classic
|
package classic
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package classic
|
package classic
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,CreateVNICDetails,ListImagesRequest,FlexShapeConfig
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,CreateVNICDetails,ListImagesRequest,FlexShapeConfig
|
||||||
|
|
||||||
package oci
|
package oci
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,CreateVNICDetails,ListImagesRequest,FlexShapeConfig"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package oci
|
package oci
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
// Package bsu contains a packersdk.Builder implementation that
|
// Package bsu contains a packersdk.Builder implementation that
|
||||||
// builds OMIs for Outscale OAPI.
|
// builds OMIs for Outscale OAPI.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package bsu
|
package bsu
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,RootBlockDevice
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,RootBlockDevice
|
||||||
|
|
||||||
// Package bsusurrogate contains a packersdk.Builder implementation that
|
// Package bsusurrogate contains a packersdk.Builder implementation that
|
||||||
// builds a new EBS-backed OMI using an ephemeral instance.
|
// builds a new EBS-backed OMI using an ephemeral instance.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,RootBlockDevice"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package bsusurrogate
|
package bsusurrogate
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,BlockDevice
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,BlockDevice
|
||||||
|
|
||||||
// The ebsvolume package contains a packersdk.Builder implementation that
|
// The ebsvolume package contains a packersdk.Builder implementation that
|
||||||
// builds EBS volumes for Outscale using an ephemeral instance,
|
// builds EBS volumes for Outscale using an ephemeral instance,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,BlockDevice"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package bsuvolume
|
package bsuvolume
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
// Package chroot is able to create an Outscale OMI without requiring
|
// Package chroot is able to create an Outscale OMI without requiring
|
||||||
// the launch of a new instance for every build. It does this by attaching
|
// the launch of a new instance for every build. It does this by attaching
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package chroot
|
package chroot
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type SecurityGroupFilterOptions,OmiFilterOptions,SubnetFilterOptions,NetFilterOptions,BlockDevice
|
//go:generate packer-sdc mapstructure-to-hcl2 -type SecurityGroupFilterOptions,OmiFilterOptions,SubnetFilterOptions,NetFilterOptions,BlockDevice
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type SecurityGroupFilterOptions,OmiFilterOptions,SubnetFilterOptions,NetFilterOptions,BlockDevice"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package common
|
package common
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package iso
|
package iso
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package iso
|
package iso
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package pvm
|
package pvm
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package pvm
|
package pvm
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package profitbricks
|
package profitbricks
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package profitbricks
|
package profitbricks
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package proxmoxclone
|
package proxmoxclone
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package proxmoxclone
|
package proxmoxclone
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,nicConfig,diskConfig,vgaConfig,additionalISOsConfig
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,nicConfig,diskConfig,vgaConfig,additionalISOsConfig
|
||||||
|
|
||||||
package proxmox
|
package proxmox
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,nicConfig,diskConfig,vgaConfig,additionalISOsConfig"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package proxmox
|
package proxmox
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,nicConfig,diskConfig,vgaConfig,additionalISOsConfig
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,nicConfig,diskConfig,vgaConfig,additionalISOsConfig
|
||||||
|
|
||||||
package proxmoxiso
|
package proxmoxiso
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,nicConfig,diskConfig,vgaConfig,additionalISOsConfig"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package proxmoxiso
|
package proxmoxiso
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
package qemu
|
package qemu
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config,QemuImgArgs
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config,QemuImgArgs
|
||||||
|
|
||||||
package qemu
|
package qemu
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config,QemuImgArgs"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package qemu
|
package qemu
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package scaleway
|
package scaleway
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package scaleway
|
package scaleway
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package cvm
|
package cvm
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package cvm
|
package cvm
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type Config"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package cvm
|
package cvm
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package cvm
|
package cvm
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
//go:generate mapstructure-to-hcl2 -type tencentCloudDataDisk
|
//go:generate packer-sdc mapstructure-to-hcl2 -type tencentCloudDataDisk
|
||||||
|
|
||||||
package cvm
|
package cvm
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// Code generated by "mapstructure-to-hcl2 -type tencentCloudDataDisk"; DO NOT EDIT.
|
// Code generated by "packer-sdc mapstructure-to-hcl2"; DO NOT EDIT.
|
||||||
|
|
||||||
package cvm
|
package cvm
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate struct-markdown
|
//go:generate packer-sdc struct-markdown
|
||||||
|
|
||||||
package triton
|
package triton
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
//go:generate mapstructure-to-hcl2 -type Config
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
||||||
|
|
||||||
package triton
|
package triton
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue