move communicators into sdk-internals directory

This commit is contained in:
Megan Marsh 2020-11-11 10:07:49 -08:00
parent 46cf8a1602
commit df9febef1b
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 (