github.com/rothwerx/packer@v0.9.0/builder/parallels/common/prlctl_config.go (about) 1 package common 2 3 import ( 4 "github.com/mitchellh/packer/template/interpolate" 5 ) 6 7 type PrlctlConfig struct { 8 Prlctl [][]string `mapstructure:"prlctl"` 9 } 10 11 func (c *PrlctlConfig) Prepare(ctx *interpolate.Context) []error { 12 if c.Prlctl == nil { 13 c.Prlctl = make([][]string, 0) 14 } 15 16 return nil 17 }