Merge pull request #10254 from hashicorp/plugin-sdk-2

Plugin sdk 2
This commit is contained in:
Megan Marsh 2020-11-16 11:29:20 -08:00 committed by GitHub
commit efe11da4a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
337 changed files with 259 additions and 259 deletions

View File

@ -12,7 +12,7 @@ import (
"github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs"
"github.com/hashicorp/packer/builder/alicloud/version" "github.com/hashicorp/packer/builder/alicloud/version"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/mitchellh/go-homedir" "github.com/mitchellh/go-homedir"
) )

View File

@ -14,7 +14,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The unique ID for this builder // The unique ID for this builder

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/packer/hcl2template" "github.com/hashicorp/packer/hcl2template"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The "AlicloudDiskDevice" object us used for the `ECSSystemDiskMapping` and // The "AlicloudDiskDevice" object us used for the `ECSSystemDiskMapping` and

View File

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/packer/common/uuid" "github.com/hashicorp/packer/common/uuid"
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type RunConfig struct { type RunConfig struct {

View File

@ -22,7 +22,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The unique ID for this builder // The unique ID for this builder

View File

@ -11,7 +11,7 @@ import (
awscommon "github.com/hashicorp/packer/builder/amazon/common" awscommon "github.com/hashicorp/packer/builder/amazon/common"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// StepCreateVolume creates a new volume from the snapshot of the root // StepCreateVolume creates a new volume from the snapshot of the root

View File

@ -14,7 +14,7 @@ import (
"github.com/hashicorp/packer/common/packerbuilderdata" "github.com/hashicorp/packer/common/packerbuilderdata"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type mountPathData struct { type mountPathData struct {

View File

@ -18,7 +18,7 @@ import (
awsbase "github.com/hashicorp/aws-sdk-go-base" awsbase "github.com/hashicorp/aws-sdk-go-base"
cleanhttp "github.com/hashicorp/go-cleanhttp" cleanhttp "github.com/hashicorp/go-cleanhttp"
"github.com/hashicorp/packer/builder/amazon/common/awserrors" "github.com/hashicorp/packer/builder/amazon/common/awserrors"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
vaultapi "github.com/hashicorp/vault/api" vaultapi "github.com/hashicorp/vault/api"
) )

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/packer/hcl2template" "github.com/hashicorp/packer/hcl2template"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// AMIConfig is for common configuration related to creating AMIs. // AMIConfig is for common configuration related to creating AMIs.

View File

@ -10,7 +10,7 @@ import (
"github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2" "github.com/aws/aws-sdk-go/service/ec2"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// These will be attached when launching your instance. Your // These will be attached when launching your instance. Your

View File

@ -14,7 +14,7 @@ import (
"github.com/hashicorp/packer/common/uuid" "github.com/hashicorp/packer/common/uuid"
"github.com/hashicorp/packer/hcl2template" "github.com/hashicorp/packer/hcl2template"
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
var reShutdownBehavior = regexp.MustCompile("^(stop|terminate)$") var reShutdownBehavior = regexp.MustCompile("^(stop|terminate)$")

View File

@ -12,7 +12,7 @@ import (
"github.com/hashicorp/packer/common/retry" "github.com/hashicorp/packer/common/retry"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type StepCreateTags struct { type StepCreateTags struct {

View File

@ -10,7 +10,7 @@ import (
"github.com/hashicorp/packer/common/packerbuilderdata" "github.com/hashicorp/packer/common/packerbuilderdata"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type StepModifyAMIAttributes struct { type StepModifyAMIAttributes struct {

View File

@ -16,7 +16,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type StepRunSourceInstance struct { type StepRunSourceInstance struct {

View File

@ -18,7 +18,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type EC2BlockDeviceMappingsBuilder interface { type EC2BlockDeviceMappingsBuilder interface {

View File

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/packer/common/packerbuilderdata" "github.com/hashicorp/packer/common/packerbuilderdata"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type TagMap map[string]string type TagMap map[string]string

View File

@ -23,7 +23,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The unique ID for this builder // The unique ID for this builder

View File

@ -5,7 +5,7 @@ package ebssurrogate
import ( import (
"github.com/aws/aws-sdk-go/service/ec2" "github.com/aws/aws-sdk-go/service/ec2"
awscommon "github.com/hashicorp/packer/builder/amazon/common" awscommon "github.com/hashicorp/packer/builder/amazon/common"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type BlockDevice struct { type BlockDevice struct {

View File

@ -21,7 +21,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
const BuilderId = "mitchellh.amazon.ebssurrogate" const BuilderId = "mitchellh.amazon.ebssurrogate"

View File

@ -5,7 +5,7 @@ package ebssurrogate
import ( import (
"errors" "errors"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type RootBlockDevice struct { type RootBlockDevice struct {

View File

@ -12,7 +12,7 @@ import (
awscommon "github.com/hashicorp/packer/builder/amazon/common" awscommon "github.com/hashicorp/packer/builder/amazon/common"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// StepSnapshotVolumes creates snapshots of the created volumes. // StepSnapshotVolumes creates snapshots of the created volumes.

View File

@ -6,7 +6,7 @@ import (
"github.com/aws/aws-sdk-go/service/ec2" "github.com/aws/aws-sdk-go/service/ec2"
awscommon "github.com/hashicorp/packer/builder/amazon/common" awscommon "github.com/hashicorp/packer/builder/amazon/common"
"github.com/hashicorp/packer/hcl2template" "github.com/hashicorp/packer/hcl2template"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type BlockDevice struct { type BlockDevice struct {

View File

@ -20,7 +20,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
const BuilderId = "mitchellh.amazon.ebsvolume" const BuilderId = "mitchellh.amazon.ebsvolume"

View File

@ -10,7 +10,7 @@ import (
awscommon "github.com/hashicorp/packer/builder/amazon/common" awscommon "github.com/hashicorp/packer/builder/amazon/common"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type stepTagEBSVolumes struct { type stepTagEBSVolumes struct {

View File

@ -22,7 +22,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The unique ID for this builder // The unique ID for this builder

View File

@ -7,7 +7,7 @@ import (
"github.com/aws/aws-sdk-go/service/ec2" "github.com/aws/aws-sdk-go/service/ec2"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type bundleCmdData struct { type bundleCmdData struct {

View File

@ -6,7 +6,7 @@ import (
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type uploadCmdData struct { type uploadCmdData struct {

View File

@ -33,7 +33,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
) )

View File

@ -23,7 +23,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute" "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute"
"github.com/Azure/go-autorest/autorest/azure" "github.com/Azure/go-autorest/autorest/azure"

View File

@ -15,7 +15,7 @@ import (
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
var _ multistep.Step = &StepMountDevice{} var _ multistep.Step = &StepMountDevice{}

View File

@ -28,7 +28,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"golang.org/x/crypto/ssh" "golang.org/x/crypto/ssh"
) )

View File

@ -14,7 +14,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// Config holds all the details needed to configure the builder. // Config holds all the details needed to configure the builder.

View File

@ -10,7 +10,7 @@ import (
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/xanzy/go-cloudstack/cloudstack" "github.com/xanzy/go-cloudstack/cloudstack"
) )

View File

@ -15,7 +15,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
) )

View File

@ -10,9 +10,9 @@ import (
"testing" "testing"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/packer-plugin-sdk/template"
"github.com/hashicorp/packer/provisioner/file" "github.com/hashicorp/packer/provisioner/file"
"github.com/hashicorp/packer/provisioner/shell" "github.com/hashicorp/packer/provisioner/shell"
"github.com/hashicorp/packer/template"
) )
// TestUploadDownload verifies that basic upload / download functionality works // TestUploadDownload verifies that basic upload / download functionality works

View File

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
) )

View File

@ -13,7 +13,7 @@ import (
"github.com/hashicorp/go-version" "github.com/hashicorp/go-version"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type DockerDriver struct { type DockerDriver struct {

View File

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
var ErrTargetRequired = fmt.Errorf("target required") var ErrTargetRequired = fmt.Errorf("target required")

View File

@ -16,7 +16,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
compute "google.golang.org/api/compute/v1" compute "google.golang.org/api/compute/v1"
) )

View File

@ -14,7 +14,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/hetznercloud/hcloud-go/hcloud" "github.com/hetznercloud/hcloud-go/hcloud"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
) )

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
openapi "github.com/hyperonecom/h1-client-go" openapi "github.com/hyperonecom/h1-client-go"
) )

View File

@ -18,7 +18,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/mitchellh/go-homedir" "github.com/mitchellh/go-homedir"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
) )

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
openapi "github.com/hyperonecom/h1-client-go" openapi "github.com/hyperonecom/h1-client-go"
) )

View File

@ -11,7 +11,7 @@ import (
powershell "github.com/hashicorp/packer/builder/hyperv/common/powershell" powershell "github.com/hashicorp/packer/builder/hyperv/common/powershell"
"github.com/hashicorp/packer/builder/hyperv/common/powershell/hyperv" "github.com/hashicorp/packer/builder/hyperv/common/powershell/hyperv"
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
const ( const (

View File

@ -7,7 +7,7 @@ import (
"fmt" "fmt"
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type OutputConfig struct { type OutputConfig struct {

View File

@ -6,7 +6,7 @@ import (
"testing" "testing"
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
func TestOutputConfigPrepare(t *testing.T) { func TestOutputConfigPrepare(t *testing.T) {

View File

@ -2,7 +2,7 @@ package common
import ( import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type SSHConfig struct { type SSHConfig struct {

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/packer/common/bootcommand" "github.com/hashicorp/packer/common/bootcommand"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type bootCommandTemplateData struct { type bootCommandTemplateData struct {

View File

@ -20,7 +20,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
const ( const (

View File

@ -20,7 +20,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
const ( const (

View File

@ -10,7 +10,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
func (b *Builder) ConfigSpec() hcldec.ObjectSpec { return b.config.FlatMapstructure().HCL2Spec() } func (b *Builder) ConfigSpec() hcldec.ObjectSpec { return b.config.FlatMapstructure().HCL2Spec() }

View File

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
vm "github.com/jdcloud-api/jdcloud-sdk-go/services/vm/client" vm "github.com/jdcloud-api/jdcloud-sdk-go/services/vm/client"
vpc "github.com/jdcloud-api/jdcloud-sdk-go/services/vpc/client" vpc "github.com/jdcloud-api/jdcloud-sdk-go/services/vpc/client"
) )

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"os" "os"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/jdcloud-api/jdcloud-sdk-go/core" "github.com/jdcloud-api/jdcloud-sdk-go/core"
vm "github.com/jdcloud-api/jdcloud-sdk-go/services/vm/client" vm "github.com/jdcloud-api/jdcloud-sdk-go/services/vm/client"
vpc "github.com/jdcloud-api/jdcloud-sdk-go/services/vpc/client" vpc "github.com/jdcloud-api/jdcloud-sdk-go/services/vpc/client"

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type JDCloudInstanceSpecConfig struct { type JDCloudInstanceSpecConfig struct {

View File

@ -15,7 +15,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type Config struct { type Config struct {

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The unique ID for this builder // The unique ID for this builder

View File

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
) )

View File

@ -7,7 +7,7 @@ import (
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The unique ID for this builder // The unique ID for this builder

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
) )

View File

@ -14,7 +14,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// Config is structure to use packer builder plugin for Naver Cloud Platform // Config is structure to use packer builder plugin for Naver Cloud Platform

View File

@ -9,7 +9,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type Config struct { type Config struct {

View File

@ -12,7 +12,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/mitchellh/mapstructure" "github.com/mitchellh/mapstructure"
) )

View File

@ -17,7 +17,7 @@ import (
"github.com/gophercloud/utils/openstack/clientconfig" "github.com/gophercloud/utils/openstack/clientconfig"
"github.com/hashicorp/go-cleanhttp" "github.com/hashicorp/go-cleanhttp"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// AccessConfig is for common configuration related to openstack access // AccessConfig is for common configuration related to openstack access

View File

@ -15,7 +15,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The unique ID for this builder // The unique ID for this builder

View File

@ -7,7 +7,7 @@ import (
"strings" "strings"
imageservice "github.com/gophercloud/gophercloud/openstack/imageservice/v2/images" imageservice "github.com/gophercloud/gophercloud/openstack/imageservice/v2/images"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// ImageConfig is for common configuration related to creating Images. // ImageConfig is for common configuration related to creating Images.

View File

@ -9,7 +9,7 @@ import (
"github.com/gophercloud/gophercloud/openstack/imageservice/v2/images" "github.com/gophercloud/gophercloud/openstack/imageservice/v2/images"
"github.com/hashicorp/packer/common/uuid" "github.com/hashicorp/packer/common/uuid"
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// RunConfig contains configuration for running an instance from a source image // RunConfig contains configuration for running an instance from a source image

View File

@ -13,7 +13,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type Config struct { type Config struct {

View File

@ -5,7 +5,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
const imageListDefault = "/oracle/public/OL_7.2_UEKR4_x86_64" const imageListDefault = "/oracle/public/OL_7.2_UEKR4_x86_64"

View File

@ -8,7 +8,7 @@ import (
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type stepUploadImage struct { type stepUploadImage struct {

View File

@ -17,7 +17,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
ocicommon "github.com/oracle/oci-go-sdk/common" ocicommon "github.com/oracle/oci-go-sdk/common"
ociauth "github.com/oracle/oci-go-sdk/common/auth" ociauth "github.com/oracle/oci-go-sdk/common/auth"
) )

View File

@ -18,7 +18,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The unique ID for this builder // The unique ID for this builder

View File

@ -16,7 +16,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
const BuilderId = "oapi.outscale.bsusurrogate" const BuilderId = "oapi.outscale.bsusurrogate"

View File

@ -3,7 +3,7 @@ package bsusurrogate
import ( import (
"errors" "errors"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type RootBlockDevice struct { type RootBlockDevice struct {

View File

@ -2,7 +2,7 @@ package bsuvolume
import ( import (
osccommon "github.com/hashicorp/packer/builder/osc/common" osccommon "github.com/hashicorp/packer/builder/osc/common"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type BlockDevice struct { type BlockDevice struct {

View File

@ -16,7 +16,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
const BuilderId = "oapi.outscale.bsuvolume" const BuilderId = "oapi.outscale.bsuvolume"

View File

@ -7,7 +7,7 @@ import (
"github.com/antihax/optional" "github.com/antihax/optional"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/outscale/osc-sdk-go/osc" "github.com/outscale/osc-sdk-go/osc"
) )

View File

@ -17,7 +17,7 @@ import (
"github.com/hashicorp/packer/helper/config" "github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// The unique ID for this builder // The unique ID for this builder

View File

@ -6,7 +6,7 @@ import (
sl "github.com/hashicorp/packer/common/shell-local" sl "github.com/hashicorp/packer/common/shell-local"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
func RunLocalCommands(commands []string, wrappedCommand CommandWrapper, ictx interpolate.Context, ui packer.Ui) error { func RunLocalCommands(commands []string, wrappedCommand CommandWrapper, ictx interpolate.Context, ui packer.Ui) error {

View File

@ -10,7 +10,7 @@ import (
osccommon "github.com/hashicorp/packer/builder/osc/common" osccommon "github.com/hashicorp/packer/builder/osc/common"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/outscale/osc-sdk-go/osc" "github.com/outscale/osc-sdk-go/osc"
) )

View File

@ -11,7 +11,7 @@ import (
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type mountPathData struct { type mountPathData struct {

View File

@ -7,7 +7,7 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/outscale/osc-sdk-go/osc" "github.com/outscale/osc-sdk-go/osc"
) )

View File

@ -5,7 +5,7 @@ import (
"log" "log"
"strings" "strings"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/outscale/osc-sdk-go/osc" "github.com/outscale/osc-sdk-go/osc"
) )

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// OMIConfig is for common configuration related to creating OMIs. // OMIConfig is for common configuration related to creating OMIs.

View File

@ -13,7 +13,7 @@ import (
"github.com/hashicorp/packer/common/uuid" "github.com/hashicorp/packer/common/uuid"
"github.com/hashicorp/packer/hcl2template" "github.com/hashicorp/packer/hcl2template"
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
var reShutdownBehavior = regexp.MustCompile("^(stop|terminate)$") var reShutdownBehavior = regexp.MustCompile("^(stop|terminate)$")

View File

@ -9,7 +9,7 @@ import (
retry "github.com/hashicorp/packer/common" retry "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/outscale/osc-sdk-go/osc" "github.com/outscale/osc-sdk-go/osc"
) )

View File

@ -16,7 +16,7 @@ import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
const ( const (

View File

@ -7,7 +7,7 @@ import (
"github.com/antihax/optional" "github.com/antihax/optional"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/outscale/osc-sdk-go/osc" "github.com/outscale/osc-sdk-go/osc"
) )

View File

@ -7,7 +7,7 @@ import (
"github.com/antihax/optional" "github.com/antihax/optional"
"github.com/hashicorp/packer/helper/multistep" "github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer" "github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
"github.com/outscale/osc-sdk-go/osc" "github.com/outscale/osc-sdk-go/osc"
) )

View File

@ -5,7 +5,7 @@ package common
import ( import (
"fmt" "fmt"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
type HWConfig struct { type HWConfig struct {

View File

@ -3,7 +3,7 @@ package common
import ( import (
"testing" "testing"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
func TestHWConfigPrepare(t *testing.T) { func TestHWConfigPrepare(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"path" "path"
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// OutputConfig contains the configuration for builder's output. // OutputConfig contains the configuration for builder's output.

View File

@ -8,7 +8,7 @@ import (
"testing" "testing"
"github.com/hashicorp/packer/common" "github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
func TestOutputConfigPrepare(t *testing.T) { func TestOutputConfigPrepare(t *testing.T) {

View File

@ -3,7 +3,7 @@
package common package common
import ( import (
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// PrlctlConfig contains the configuration for running "prlctl" commands // PrlctlConfig contains the configuration for running "prlctl" commands

View File

@ -4,7 +4,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
func TestPrlctlConfigPrepare_Prlctl(t *testing.T) { func TestPrlctlConfigPrepare_Prlctl(t *testing.T) {

View File

@ -3,7 +3,7 @@
package common package common
import ( import (
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// PrlctlPostConfig contains the configuration for running "prlctl" commands // PrlctlPostConfig contains the configuration for running "prlctl" commands

View File

@ -4,7 +4,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
func TestPrlctlPostConfigPrepare_PrlctlPost(t *testing.T) { func TestPrlctlPostConfigPrepare_PrlctlPost(t *testing.T) {

View File

@ -3,7 +3,7 @@
package common package common
import ( import (
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// PrlctlVersionConfig contains the configuration for `prlctl` version. // PrlctlVersionConfig contains the configuration for `prlctl` version.

View File

@ -3,7 +3,7 @@ package common
import ( import (
"testing" "testing"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
func TestPrlctlVersionConfigPrepare_BootWait(t *testing.T) { func TestPrlctlVersionConfigPrepare_BootWait(t *testing.T) {

View File

@ -2,7 +2,7 @@ package common
import ( import (
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
// SSHConfig contains the configuration for SSH communicator. // SSHConfig contains the configuration for SSH communicator.

View File

@ -6,7 +6,7 @@ import (
"testing" "testing"
"github.com/hashicorp/packer/helper/communicator" "github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/template/interpolate" "github.com/hashicorp/packer/packer-plugin-sdk/template/interpolate"
) )
func testSSHConfig() *SSHConfig { func testSSHConfig() *SSHConfig {

Some files were not shown because too many files have changed in this diff Show More