run goimports

This commit is contained in:
Matthew Hooker 2018-01-22 17:21:10 -08:00
parent 5ef0c2280f
commit ebe995c0ff
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
169 changed files with 350 additions and 181 deletions

View File

@ -3,10 +3,11 @@ package ecs
import (
"fmt"
"github.com/denverdino/aliyungo/common"
"github.com/hashicorp/packer/template/interpolate"
"regexp"
"strings"
"github.com/denverdino/aliyungo/common"
"github.com/hashicorp/packer/template/interpolate"
)
type AlicloudDiskDevice struct {

View File

@ -3,11 +3,12 @@ package ecs
import (
"fmt"
"time"
"github.com/denverdino/aliyungo/common"
"github.com/denverdino/aliyungo/ecs"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"time"
)
type stepAttachKeyPar struct {

View File

@ -1,8 +1,9 @@
package chroot
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestCommunicator_ImplementsCommunicator(t *testing.T) {

View File

@ -3,10 +3,11 @@ package chroot
import (
"bytes"
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
"path/filepath"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
// StepCopyFiles copies some files from the host into the chroot environment.

View File

@ -2,9 +2,10 @@ package chroot
import (
"fmt"
"log"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
// StepEarlyCleanup performs some of the cleanup steps early in order to

View File

@ -2,9 +2,10 @@ package chroot
import (
"fmt"
"log"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
// StepEarlyUnflock unlocks the flock.

View File

@ -2,11 +2,12 @@ package chroot
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
"os"
"path/filepath"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
// StepFlock provisions the instance within a chroot.

View File

@ -3,11 +3,12 @@ package chroot
import (
"bytes"
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"os"
"os/exec"
"syscall"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
// StepMountExtra mounts the attached device.

View File

@ -2,6 +2,7 @@ package ebssurrogate
import (
"errors"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/service/ec2"
"github.com/hashicorp/packer/template/interpolate"

View File

@ -1,10 +1,11 @@
package instance
import (
"github.com/hashicorp/packer/packer"
"io/ioutil"
"os"
"testing"
"github.com/hashicorp/packer/packer"
)
func testConfig() map[string]interface{} {

View File

@ -2,9 +2,10 @@ package instance
import (
"fmt"
"os"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"os"
)
type StepUploadX509Cert struct{}

View File

@ -1,8 +1,9 @@
package arm
import (
"github.com/Azure/go-autorest/autorest/azure"
"testing"
"github.com/Azure/go-autorest/autorest/azure"
)
// Behavior is the most important thing to assert for ServicePrincipalToken, but

View File

@ -1,10 +1,11 @@
package arm
import (
"github.com/approvals/go-approval-tests"
"github.com/hashicorp/packer/common/json"
"strings"
"testing"
"github.com/approvals/go-approval-tests"
"github.com/hashicorp/packer/common/json"
)
const AzureErrorSimple = `{"error":{"code":"ResourceNotFound","message":"The Resource 'Microsoft.Compute/images/PackerUbuntuImage' under resource group 'packer-test00' was not found."}}`

View File

@ -6,10 +6,11 @@ import (
"log"
"net/http"
"io"
"github.com/Azure/go-autorest/autorest"
"github.com/Azure/go-autorest/autorest/azure"
"github.com/hashicorp/packer/builder/azure/common/logutil"
"io"
)
func chop(data []byte, maxlen int64) string {

View File

@ -7,8 +7,9 @@ import (
"encoding/base64"
"encoding/pem"
"fmt"
"golang.org/x/crypto/ssh"
"time"
"golang.org/x/crypto/ssh"
)
const (

View File

@ -1,8 +1,9 @@
package arm
import (
"golang.org/x/crypto/ssh"
"testing"
"golang.org/x/crypto/ssh"
)
func TestFart(t *testing.T) {

View File

@ -10,8 +10,9 @@ package arm
import (
"fmt"
"github.com/Azure/azure-sdk-for-go/arm/compute"
"strings"
"github.com/Azure/azure-sdk-for-go/arm/compute"
)
type resourceResolver struct {

View File

@ -2,10 +2,11 @@ package arm
import (
"fmt"
"testing"
"github.com/hashicorp/packer/builder/azure/common"
"github.com/hashicorp/packer/builder/azure/common/constants"
"github.com/mitchellh/multistep"
"testing"
)
func TestProcessStepResultShouldContinueForNonErrors(t *testing.T) {

View File

@ -7,6 +7,7 @@ import (
"github.com/Azure/azure-sdk-for-go/arm/resources/resources"
"fmt"
"github.com/hashicorp/packer/builder/azure/common/constants"
"github.com/hashicorp/packer/builder/azure/common/template"
)

View File

@ -2,9 +2,10 @@ package common
import (
"fmt"
"github.com/mitchellh/reflectwalk"
"reflect"
"strings"
"github.com/mitchellh/reflectwalk"
)
type walker struct {

View File

@ -3,9 +3,10 @@ package lin
import (
"bytes"
"fmt"
"log"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
type StepGeneralizeOS struct {

View File

@ -1,8 +1,9 @@
package docker
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestExportArtifact_impl(t *testing.T) {

View File

@ -2,8 +2,9 @@ package docker
import (
"errors"
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestImportArtifact_impl(t *testing.T) {

View File

@ -1,8 +1,9 @@
package docker
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestBuilder_implBuilder(t *testing.T) {

View File

@ -2,8 +2,6 @@ package docker
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/iochan"
"io"
"log"
"os/exec"
@ -11,6 +9,9 @@ import (
"strings"
"sync"
"syscall"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/iochan"
)
func runAndStream(cmd *exec.Cmd, ui packer.Ui) error {

View File

@ -2,6 +2,7 @@ package docker
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)

View File

@ -2,8 +2,9 @@ package docker
import (
"errors"
"github.com/mitchellh/multistep"
"testing"
"github.com/mitchellh/multistep"
)
func testStepCommitState(t *testing.T) multistep.StateBag {

View File

@ -2,9 +2,10 @@ package docker
import (
"fmt"
"github.com/mitchellh/multistep"
"os/exec"
"strings"
"github.com/mitchellh/multistep"
)
type StepConnectDocker struct{}

View File

@ -3,10 +3,11 @@ package docker
import (
"bytes"
"errors"
"github.com/mitchellh/multistep"
"io/ioutil"
"os"
"testing"
"github.com/mitchellh/multistep"
)
func testStepExportState(t *testing.T) multistep.StateBag {

View File

@ -2,8 +2,9 @@ package docker
import (
"errors"
"github.com/mitchellh/multistep"
"testing"
"github.com/mitchellh/multistep"
)
func TestStepPull_impl(t *testing.T) {

View File

@ -2,6 +2,7 @@ package docker
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)

View File

@ -2,8 +2,9 @@ package docker
import (
"errors"
"github.com/mitchellh/multistep"
"testing"
"github.com/mitchellh/multistep"
)
func testStepRunState(t *testing.T) multistep.StateBag {

View File

@ -2,10 +2,11 @@ package docker
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"io/ioutil"
"os"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
// StepTempDir creates a temporary directory that we use in order to

View File

@ -2,9 +2,10 @@ package docker
import (
"bytes"
"testing"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"testing"
)
func testState(t *testing.T) multistep.StateBag {

View File

@ -1,8 +1,9 @@
package googlecompute
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestArtifact_impl(t *testing.T) {

View File

@ -1,8 +1,9 @@
package googlecompute
import (
"github.com/mitchellh/multistep"
"testing"
"github.com/mitchellh/multistep"
)
func TestStepCheckExistingImage_impl(t *testing.T) {

View File

@ -2,9 +2,10 @@ package googlecompute
import (
"errors"
"github.com/mitchellh/multistep"
"testing"
"time"
"github.com/mitchellh/multistep"
)
func TestStepInstanceInfo_impl(t *testing.T) {

View File

@ -1,8 +1,9 @@
package googlecompute
import (
"github.com/mitchellh/multistep"
"testing"
"github.com/mitchellh/multistep"
)
func TestStepTeardownInstance_impl(t *testing.T) {

View File

@ -1,9 +1,10 @@
package googlecompute
import (
"testing"
"github.com/mitchellh/multistep"
"github.com/stretchr/testify/assert"
"testing"
)
func TestStepWaitStartupScript(t *testing.T) {

View File

@ -2,8 +2,9 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/template/interpolate"
"time"
"github.com/hashicorp/packer/template/interpolate"
)
type RunConfig struct {

View File

@ -2,6 +2,7 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)

View File

@ -2,6 +2,7 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)

View File

@ -2,6 +2,7 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)

View File

@ -2,11 +2,12 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
"path/filepath"
"strings"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
type StepMountDvdDrive struct {

View File

@ -2,13 +2,14 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"io"
"io/ioutil"
"log"
"os"
"path/filepath"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
const (

View File

@ -2,9 +2,10 @@ package common
import (
"fmt"
"log"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
type StepMountGuestAdditions struct {

View File

@ -2,9 +2,10 @@ package common
import (
"fmt"
"log"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
type StepMountSecondaryDvdImages struct {

View File

@ -2,9 +2,10 @@ package common
import (
"fmt"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"time"
)
type StepRebootVm struct {

View File

@ -2,9 +2,10 @@ package common
import (
"fmt"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"time"
)
type StepRun struct {

View File

@ -2,9 +2,10 @@ package common
import (
"fmt"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"time"
)
type StepSleep struct {

View File

@ -2,6 +2,7 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)

View File

@ -2,6 +2,7 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)

View File

@ -2,6 +2,7 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)

View File

@ -2,6 +2,7 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)

View File

@ -2,9 +2,10 @@ package common
import (
"fmt"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"time"
)
const (

View File

@ -6,10 +6,11 @@ import (
"strconv"
"testing"
"os"
hypervcommon "github.com/hashicorp/packer/builder/hyperv/common"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"os"
)
func testConfig() map[string]interface{} {

View File

@ -5,11 +5,12 @@ import (
"reflect"
"testing"
"io/ioutil"
"os"
hypervcommon "github.com/hashicorp/packer/builder/hyperv/common"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"io/ioutil"
"os"
)
func testConfig() map[string]interface{} {

View File

@ -1,13 +1,14 @@
package lxc
import (
"log"
"os"
"path/filepath"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate"
"github.com/mitchellh/multistep"
"log"
"os"
"path/filepath"
)
// The unique ID for this builder

View File

@ -2,7 +2,6 @@ package lxc
import (
"fmt"
"github.com/hashicorp/packer/packer"
"io"
"io/ioutil"
"log"
@ -11,6 +10,8 @@ import (
"path/filepath"
"strings"
"syscall"
"github.com/hashicorp/packer/packer"
)
type LxcAttachCommunicator struct {

View File

@ -1,8 +1,9 @@
package lxc
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestCommunicator_ImplementsCommunicator(t *testing.T) {

View File

@ -2,13 +2,14 @@ package lxc
import (
"fmt"
"os"
"time"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate"
"github.com/mitchellh/mapstructure"
"os"
"time"
)
type Config struct {

View File

@ -3,14 +3,15 @@ package lxc
import (
"bytes"
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"io"
"log"
"os"
"os/exec"
"path/filepath"
"strings"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
type stepExport struct{}

View File

@ -3,12 +3,13 @@ package lxc
import (
"bytes"
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
"os/exec"
"path/filepath"
"strings"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
type stepLxcCreate struct{}

View File

@ -1,11 +1,12 @@
package lxc
import (
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
"os"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
type stepPrepareOutputDir struct{}

View File

@ -1,9 +1,10 @@
package lxc
import (
"log"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
// StepProvision provisions the instance within a chroot.

View File

@ -3,11 +3,12 @@ package lxc
import (
"errors"
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
"strings"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
type StepWaitInit struct {

View File

@ -1,11 +1,12 @@
package lxd
import (
"log"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate"
"github.com/mitchellh/multistep"
"log"
)
// The unique ID for this builder

View File

@ -2,13 +2,14 @@ package lxd
import (
"fmt"
"github.com/hashicorp/packer/packer"
"io"
"log"
"os"
"os/exec"
"path/filepath"
"syscall"
"github.com/hashicorp/packer/packer"
)
type Communicator struct {

View File

@ -1,8 +1,9 @@
package lxd
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestCommunicator_ImplementsCommunicator(t *testing.T) {

View File

@ -2,12 +2,13 @@ package lxd
import (
"fmt"
"time"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate"
"github.com/mitchellh/mapstructure"
"time"
)
type Config struct {

View File

@ -2,9 +2,10 @@ package lxd
import (
"fmt"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"time"
)
type stepLxdLaunch struct{}

View File

@ -1,9 +1,10 @@
package lxd
import (
"log"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
// StepProvision provisions the container

View File

@ -2,9 +2,10 @@ package lxd
import (
"fmt"
"regexp"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"regexp"
)
type stepPublish struct{}

View File

@ -1,8 +1,9 @@
package null
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestNullArtifact(t *testing.T) {

View File

@ -1,8 +1,9 @@
package null
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestBuilder_implBuilder(t *testing.T) {

View File

@ -3,11 +3,12 @@ package oneandone
import (
"errors"
"fmt"
"log"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
const BuilderId = "packer.oneandone"

View File

@ -2,8 +2,9 @@ package oneandone
import (
"fmt"
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func testConfig() map[string]interface{} {

View File

@ -2,6 +2,9 @@ package oneandone
import (
"errors"
"os"
"strings"
"github.com/1and1/oneandone-cloudserver-sdk-go"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/communicator"
@ -9,8 +12,6 @@ import (
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate"
"github.com/mitchellh/mapstructure"
"os"
"strings"
)
type Config struct {

View File

@ -2,6 +2,7 @@ package oneandone
import (
"fmt"
"github.com/hashicorp/packer/communicator/ssh"
"github.com/mitchellh/multistep"
gossh "golang.org/x/crypto/ssh"

View File

@ -2,11 +2,12 @@ package oneandone
import (
"fmt"
"strings"
"time"
"github.com/1and1/oneandone-cloudserver-sdk-go"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"strings"
"time"
)
type stepCreateServer struct{}

View File

@ -4,10 +4,11 @@ import (
"crypto/x509"
"encoding/pem"
"fmt"
"io/ioutil"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"golang.org/x/crypto/ssh"
"io/ioutil"
)
type StepCreateSSHKey struct {

View File

@ -1,8 +1,9 @@
package openstack
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func TestArtifact_Impl(t *testing.T) {

View File

@ -1,8 +1,9 @@
package openstack
import (
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func testConfig() map[string]interface{} {

View File

@ -2,6 +2,7 @@ package oci
import (
"fmt"
client "github.com/hashicorp/packer/builder/oracle/oci/client"
)

View File

@ -3,9 +3,10 @@ package oci
import (
"bytes"
"encoding/json"
"github.com/google/go-querystring/query"
"net/http"
"net/url"
"github.com/google/go-querystring/query"
)
const (

View File

@ -2,11 +2,12 @@ package profitbricks
import (
"fmt"
"log"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
const BuilderId = "packer.profitbricks"

View File

@ -2,8 +2,9 @@ package profitbricks
import (
"fmt"
"github.com/hashicorp/packer/packer"
"testing"
"github.com/hashicorp/packer/packer"
)
func testConfig() map[string]interface{} {

View File

@ -2,13 +2,14 @@ package profitbricks
import (
"errors"
"os"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/helper/communicator"
"github.com/hashicorp/packer/helper/config"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate"
"github.com/mitchellh/mapstructure"
"os"
)
type Config struct {

View File

@ -2,6 +2,7 @@ package profitbricks
import (
"fmt"
"github.com/hashicorp/packer/communicator/ssh"
"github.com/mitchellh/multistep"
gossh "golang.org/x/crypto/ssh"

View File

@ -4,10 +4,11 @@ import (
"crypto/x509"
"encoding/pem"
"fmt"
"io/ioutil"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"golang.org/x/crypto/ssh"
"io/ioutil"
)
type StepCreateSSHKey struct {

View File

@ -2,9 +2,10 @@ package qemu
import (
"fmt"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"time"
)
// stepBootWait waits the configured time period.

View File

@ -1,11 +1,12 @@
package qemu
import (
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
"os"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
type stepPrepareOutputDir struct{}

View File

@ -10,12 +10,13 @@ import (
"unicode"
"unicode/utf8"
"os"
"github.com/hashicorp/packer/common"
"github.com/hashicorp/packer/packer"
"github.com/hashicorp/packer/template/interpolate"
"github.com/mitchellh/go-vnc"
"github.com/mitchellh/multistep"
"os"
)
const KeyLeftShift uint32 = 0xFFE1

View File

@ -2,9 +2,10 @@ package triton
import (
"bytes"
"testing"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"testing"
)
func testState(t *testing.T) multistep.StateBag {

View File

@ -1,10 +1,11 @@
package common
import (
"github.com/hashicorp/packer/common"
"io/ioutil"
"os"
"testing"
"github.com/hashicorp/packer/common"
)
func TestOutputConfigPrepare(t *testing.T) {

View File

@ -2,13 +2,14 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"io"
"io/ioutil"
"log"
"os"
"path/filepath"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
// This step attaches the ISO to the virtual machine.

View File

@ -1,10 +1,11 @@
package common
import (
"github.com/mitchellh/multistep"
"io/ioutil"
"os"
"testing"
"github.com/mitchellh/multistep"
)
func TestStepAttachFloppy_impl(t *testing.T) {

View File

@ -2,9 +2,10 @@ package common
import (
"fmt"
"log"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
)
// This step attaches the VirtualBox guest additions as a inserted CD onto

View File

@ -2,12 +2,13 @@ package common
import (
"fmt"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
"log"
"path/filepath"
"strings"
"time"
"github.com/hashicorp/packer/packer"
"github.com/mitchellh/multistep"
)
// This step cleans up forwarded ports and exports the VM to an OVF.

View File

@ -1,8 +1,9 @@
package common
import (
"github.com/mitchellh/multistep"
"testing"
"github.com/mitchellh/multistep"
)
func TestStepExport_impl(t *testing.T) {

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