Commit 72cd1464 authored by Adam Reese's avatar Adam Reese Committed by GitHub

Merge pull request #2570 from adamreese/ref/goimports

ref(tiller): cleanup goimports
parents dece57e0 eccb041c
...@@ -26,14 +26,15 @@ import ( ...@@ -26,14 +26,15 @@ import (
"io" "io"
"time" "time"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/kubectl/resource"
"k8s.io/helm/pkg/chartutil" "k8s.io/helm/pkg/chartutil"
"k8s.io/helm/pkg/engine" "k8s.io/helm/pkg/engine"
"k8s.io/helm/pkg/kube" "k8s.io/helm/pkg/kube"
"k8s.io/helm/pkg/proto/hapi/chart" "k8s.io/helm/pkg/proto/hapi/chart"
"k8s.io/helm/pkg/storage" "k8s.io/helm/pkg/storage"
"k8s.io/helm/pkg/storage/driver" "k8s.io/helm/pkg/storage/driver"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/kubectl/resource"
) )
// TillerNamespaceEnvVar is the environment variable name for the tiller // TillerNamespaceEnvVar is the environment variable name for the tiller
......
...@@ -22,11 +22,12 @@ import ( ...@@ -22,11 +22,12 @@ import (
"testing" "testing"
"time" "time"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/kubectl/resource"
"k8s.io/helm/pkg/chartutil" "k8s.io/helm/pkg/chartutil"
"k8s.io/helm/pkg/kube" "k8s.io/helm/pkg/kube"
"k8s.io/helm/pkg/proto/hapi/chart" "k8s.io/helm/pkg/proto/hapi/chart"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/kubectl/resource"
) )
type mockEngine struct { type mockEngine struct {
......
...@@ -18,6 +18,7 @@ package tiller ...@@ -18,6 +18,7 @@ package tiller
import ( import (
ctx "golang.org/x/net/context" ctx "golang.org/x/net/context"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
) )
......
...@@ -17,9 +17,10 @@ limitations under the License. ...@@ -17,9 +17,10 @@ limitations under the License.
package tiller package tiller
import ( import (
"testing"
"k8s.io/helm/pkg/helm" "k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
"testing"
) )
func TestGetReleaseContent(t *testing.T) { func TestGetReleaseContent(t *testing.T) {
......
...@@ -21,6 +21,7 @@ import ( ...@@ -21,6 +21,7 @@ import (
"strings" "strings"
ctx "golang.org/x/net/context" ctx "golang.org/x/net/context"
"k8s.io/helm/pkg/chartutil" "k8s.io/helm/pkg/chartutil"
"k8s.io/helm/pkg/hooks" "k8s.io/helm/pkg/hooks"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
......
...@@ -18,10 +18,11 @@ package tiller ...@@ -18,10 +18,11 @@ package tiller
import ( import (
"fmt" "fmt"
"regexp"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
relutil "k8s.io/helm/pkg/releaseutil" relutil "k8s.io/helm/pkg/releaseutil"
"regexp"
) )
// ListReleases lists the releases found by the server. // ListReleases lists the releases found by the server.
......
...@@ -20,6 +20,7 @@ import ( ...@@ -20,6 +20,7 @@ import (
"fmt" "fmt"
ctx "golang.org/x/net/context" ctx "golang.org/x/net/context"
"k8s.io/helm/pkg/hooks" "k8s.io/helm/pkg/hooks"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
......
...@@ -17,11 +17,12 @@ limitations under the License. ...@@ -17,11 +17,12 @@ limitations under the License.
package tiller package tiller
import ( import (
"strings"
"testing"
"k8s.io/helm/pkg/helm" "k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
"strings"
"testing"
) )
func TestRollbackRelease(t *testing.T) { func TestRollbackRelease(t *testing.T) {
......
...@@ -19,7 +19,9 @@ package tiller ...@@ -19,7 +19,9 @@ package tiller
import ( import (
"errors" "errors"
"fmt" "fmt"
ctx "golang.org/x/net/context" ctx "golang.org/x/net/context"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
) )
......
...@@ -17,10 +17,11 @@ limitations under the License. ...@@ -17,10 +17,11 @@ limitations under the License.
package tiller package tiller
import ( import (
"testing"
"k8s.io/helm/pkg/helm" "k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
"testing"
) )
func TestGetReleaseStatus(t *testing.T) { func TestGetReleaseStatus(t *testing.T) {
......
...@@ -17,9 +17,10 @@ limitations under the License. ...@@ -17,9 +17,10 @@ limitations under the License.
package tiller package tiller
import ( import (
"testing"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
"testing"
) )
func TestRunReleaseTest(t *testing.T) { func TestRunReleaseTest(t *testing.T) {
......
...@@ -21,6 +21,7 @@ import ( ...@@ -21,6 +21,7 @@ import (
"strings" "strings"
ctx "golang.org/x/net/context" ctx "golang.org/x/net/context"
"k8s.io/helm/pkg/hooks" "k8s.io/helm/pkg/hooks"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
......
...@@ -17,11 +17,12 @@ limitations under the License. ...@@ -17,11 +17,12 @@ limitations under the License.
package tiller package tiller
import ( import (
"strings"
"testing"
"k8s.io/helm/pkg/helm" "k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
"strings"
"testing"
) )
func TestUninstallRelease(t *testing.T) { func TestUninstallRelease(t *testing.T) {
......
...@@ -20,6 +20,7 @@ import ( ...@@ -20,6 +20,7 @@ import (
"fmt" "fmt"
ctx "golang.org/x/net/context" ctx "golang.org/x/net/context"
"k8s.io/helm/pkg/chartutil" "k8s.io/helm/pkg/chartutil"
"k8s.io/helm/pkg/hooks" "k8s.io/helm/pkg/hooks"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
......
...@@ -17,12 +17,13 @@ limitations under the License. ...@@ -17,12 +17,13 @@ limitations under the License.
package tiller package tiller
import ( import (
"strings"
"testing"
"k8s.io/helm/pkg/helm" "k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/chart" "k8s.io/helm/pkg/proto/hapi/chart"
"k8s.io/helm/pkg/proto/hapi/release" "k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
"strings"
"testing"
) )
func TestUpdateRelease(t *testing.T) { func TestUpdateRelease(t *testing.T) {
......
...@@ -18,6 +18,7 @@ package tiller ...@@ -18,6 +18,7 @@ package tiller
import ( import (
ctx "golang.org/x/net/context" ctx "golang.org/x/net/context"
"k8s.io/helm/pkg/proto/hapi/services" "k8s.io/helm/pkg/proto/hapi/services"
"k8s.io/helm/pkg/version" "k8s.io/helm/pkg/version"
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment