2021-04-16 05:52:03 -04:00
|
|
|
//go:generate packer-sdc mapstructure-to-hcl2 -type Config
|
2019-10-14 10:43:59 -04:00
|
|
|
|
2016-04-14 20:29:27 -04:00
|
|
|
package triton
|
|
|
|
|
|
|
|
import (
|
2020-12-17 16:29:25 -05:00
|
|
|
"github.com/hashicorp/packer-plugin-sdk/common"
|
|
|
|
"github.com/hashicorp/packer-plugin-sdk/communicator"
|
|
|
|
"github.com/hashicorp/packer-plugin-sdk/template/interpolate"
|
2016-04-14 20:29:27 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
common.PackerConfig `mapstructure:",squash"`
|
|
|
|
AccessConfig `mapstructure:",squash"`
|
|
|
|
SourceMachineConfig `mapstructure:",squash"`
|
|
|
|
TargetImageConfig `mapstructure:",squash"`
|
|
|
|
|
|
|
|
Comm communicator.Config `mapstructure:",squash"`
|
|
|
|
|
|
|
|
ctx interpolate.Context
|
|
|
|
}
|