Move communicator/ to internal/communicator/

This is part of a general effort to move all of Terraform's non-library
package surface under internal in order to reinforce that these are for
internal use within Terraform only.

If you were previously importing packages under this prefix into an
external codebase, you could pin to an earlier release tag as an interim
solution until you've make a plan to achieve the same functionality some
other way.
pull/28724/head
Martin Atkins 5 years ago
parent 4c254cc2be
commit ec85fb1960

@ -7,8 +7,8 @@ import (
"io/ioutil"
"os"
"github.com/hashicorp/terraform/communicator"
"github.com/hashicorp/terraform/configs/configschema"
"github.com/hashicorp/terraform/internal/communicator"
"github.com/hashicorp/terraform/provisioners"
"github.com/mitchellh/go-homedir"
"github.com/zclconf/go-cty/cty"

@ -11,9 +11,9 @@ import (
"os"
"strings"
"github.com/hashicorp/terraform/communicator"
"github.com/hashicorp/terraform/communicator/remote"
"github.com/hashicorp/terraform/configs/configschema"
"github.com/hashicorp/terraform/internal/communicator"
"github.com/hashicorp/terraform/internal/communicator/remote"
"github.com/hashicorp/terraform/provisioners"
"github.com/mitchellh/go-linereader"
"github.com/zclconf/go-cty/cty"

@ -11,8 +11,8 @@ import (
"strings"
"github.com/hashicorp/terraform/communicator"
"github.com/hashicorp/terraform/communicator/remote"
"github.com/hashicorp/terraform/internal/communicator"
"github.com/hashicorp/terraform/internal/communicator/remote"
"github.com/hashicorp/terraform/provisioners"
"github.com/mitchellh/cli"
"github.com/zclconf/go-cty/cty"

@ -8,10 +8,10 @@ import (
"sync/atomic"
"time"
"github.com/hashicorp/terraform/communicator/remote"
"github.com/hashicorp/terraform/communicator/shared"
"github.com/hashicorp/terraform/communicator/ssh"
"github.com/hashicorp/terraform/communicator/winrm"
"github.com/hashicorp/terraform/internal/communicator/remote"
"github.com/hashicorp/terraform/internal/communicator/shared"
"github.com/hashicorp/terraform/internal/communicator/ssh"
"github.com/hashicorp/terraform/internal/communicator/winrm"
"github.com/hashicorp/terraform/provisioners"
"github.com/zclconf/go-cty/cty"
)

@ -7,7 +7,7 @@ import (
"strings"
"time"
"github.com/hashicorp/terraform/communicator/remote"
"github.com/hashicorp/terraform/internal/communicator/remote"
"github.com/hashicorp/terraform/provisioners"
)

@ -19,7 +19,7 @@ import (
"time"
"github.com/hashicorp/errwrap"
"github.com/hashicorp/terraform/communicator/remote"
"github.com/hashicorp/terraform/internal/communicator/remote"
"github.com/hashicorp/terraform/provisioners"
"github.com/zclconf/go-cty/cty"
"golang.org/x/crypto/ssh"

@ -19,7 +19,7 @@ import (
"testing"
"time"
"github.com/hashicorp/terraform/communicator/remote"
"github.com/hashicorp/terraform/internal/communicator/remote"
"github.com/zclconf/go-cty/cty"
"golang.org/x/crypto/ssh"
)

@ -13,7 +13,7 @@ import (
"strings"
"time"
"github.com/hashicorp/terraform/communicator/shared"
"github.com/hashicorp/terraform/internal/communicator/shared"
sshagent "github.com/xanzy/ssh-agent"
"github.com/zclconf/go-cty/cty"
"github.com/zclconf/go-cty/cty/gocty"

@ -9,7 +9,7 @@ import (
"strings"
"time"
"github.com/hashicorp/terraform/communicator/remote"
"github.com/hashicorp/terraform/internal/communicator/remote"
"github.com/hashicorp/terraform/provisioners"
"github.com/masterzen/winrm"
"github.com/packer-community/winrmcp/winrmcp"

@ -8,8 +8,8 @@ import (
"testing"
"github.com/dylanmei/winrmtest"
"github.com/hashicorp/terraform/communicator/remote"
"github.com/hashicorp/terraform/communicator/shared"
"github.com/hashicorp/terraform/internal/communicator/remote"
"github.com/hashicorp/terraform/internal/communicator/shared"
"github.com/zclconf/go-cty/cty"
)

@ -7,7 +7,7 @@ import (
"strings"
"time"
"github.com/hashicorp/terraform/communicator/shared"
"github.com/hashicorp/terraform/internal/communicator/shared"
"github.com/zclconf/go-cty/cty"
"github.com/zclconf/go-cty/cty/gocty"
)

@ -6,8 +6,8 @@ import (
"strings"
"unicode/utf8"
"github.com/hashicorp/terraform/communicator/shared"
"github.com/hashicorp/terraform/configs/configschema"
"github.com/hashicorp/terraform/internal/communicator/shared"
"github.com/hashicorp/terraform/internal/tfplugin5"
"github.com/hashicorp/terraform/plugin/convert"
"github.com/hashicorp/terraform/provisioners"

Loading…
Cancel
Save