Merge pull request #10253 from hashicorp/plugin-sdk-1

Plugin sdk 1
This commit is contained in:
Megan Marsh 2020-11-16 11:13:59 -08:00 committed by GitHub
commit 220bca460e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 7 additions and 7 deletions

View File

@ -28,11 +28,11 @@ import (
"github.com/vmware/govmomi/vim25/types"
"github.com/hashicorp/go-getter/v2"
"github.com/hashicorp/packer/communicator/ssh"
"github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/multistep"
helperssh "github.com/hashicorp/packer/helper/ssh"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/sdk-internals/communicator/ssh"
gossh "golang.org/x/crypto/ssh"
)

View File

@ -12,11 +12,11 @@ import (
"time"
"github.com/hashicorp/hcl/v2/hcldec"
packerssh "github.com/hashicorp/packer/communicator/ssh"
"github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/helper/multistep"
helperssh "github.com/hashicorp/packer/helper/ssh"
"github.com/hashicorp/packer/packer"
packerssh "github.com/hashicorp/packer/sdk-internals/communicator/ssh"
"github.com/hashicorp/packer/template/interpolate"
"github.com/masterzen/winrm"
"golang.org/x/crypto/ssh"

View File

@ -6,9 +6,9 @@ import (
"log"
"time"
"github.com/hashicorp/packer/communicator/none"
"github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/sdk-internals/communicator/none"
gossh "golang.org/x/crypto/ssh"
)

View File

@ -13,10 +13,10 @@ import (
"golang.org/x/crypto/ssh/terminal"
"github.com/hashicorp/packer/communicator/ssh"
"github.com/hashicorp/packer/helper/multistep"
helperssh "github.com/hashicorp/packer/helper/ssh"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/sdk-internals/communicator/ssh"
gossh "golang.org/x/crypto/ssh"
"golang.org/x/crypto/ssh/agent"
"golang.org/x/net/proxy"

View File

@ -13,9 +13,9 @@ import (
"strings"
"time"
"github.com/hashicorp/packer/communicator/winrm"
"github.com/hashicorp/packer/helper/multistep"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/sdk-internals/communicator/winrm"
winrmcmd "github.com/masterzen/winrm"
"golang.org/x/net/http/httpproxy"
)

View File

@ -6,7 +6,7 @@ import (
"strconv"
"strings"
"github.com/hashicorp/packer/communicator/ssh"
"github.com/hashicorp/packer/sdk-internals/communicator/ssh"
)
// ParseTunnelArgument parses an SSH tunneling argument compatible with the openssh client form.

View File

@ -3,7 +3,7 @@ package ssh
import (
"testing"
"github.com/hashicorp/packer/communicator/ssh"
"github.com/hashicorp/packer/sdk-internals/communicator/ssh"
)
const (