Skip to content

Commit

Permalink
Merge pull request helm#2570 from adamreese/ref/goimports
Browse files Browse the repository at this point in the history
ref(tiller): cleanup goimports
  • Loading branch information
adamreese authored Jun 13, 2017
2 parents dece57e + eccb041 commit 72cd146
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 14 deletions.
5 changes: 3 additions & 2 deletions pkg/tiller/environment/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,15 @@ import (
"io"
"time"

"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/kubectl/resource"

"k8s.io/helm/pkg/chartutil"
"k8s.io/helm/pkg/engine"
"k8s.io/helm/pkg/kube"
"k8s.io/helm/pkg/proto/hapi/chart"
"k8s.io/helm/pkg/storage"
"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
Expand Down
5 changes: 3 additions & 2 deletions pkg/tiller/environment/environment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ import (
"testing"
"time"

"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/kubectl/resource"

"k8s.io/helm/pkg/chartutil"
"k8s.io/helm/pkg/kube"
"k8s.io/helm/pkg/proto/hapi/chart"
"k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/kubectl/resource"
)

type mockEngine struct {
Expand Down
1 change: 1 addition & 0 deletions pkg/tiller/release_content.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package tiller

import (
ctx "golang.org/x/net/context"

"k8s.io/helm/pkg/proto/hapi/services"
)

Expand Down
3 changes: 2 additions & 1 deletion pkg/tiller/release_content_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ limitations under the License.
package tiller

import (
"testing"

"k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/services"
"testing"
)

func TestGetReleaseContent(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions pkg/tiller/release_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"strings"

ctx "golang.org/x/net/context"

"k8s.io/helm/pkg/chartutil"
"k8s.io/helm/pkg/hooks"
"k8s.io/helm/pkg/proto/hapi/release"
Expand Down
3 changes: 2 additions & 1 deletion pkg/tiller/release_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@ package tiller

import (
"fmt"
"regexp"

"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
relutil "k8s.io/helm/pkg/releaseutil"
"regexp"
)

// ListReleases lists the releases found by the server.
Expand Down
1 change: 1 addition & 0 deletions pkg/tiller/release_rollback.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"fmt"

ctx "golang.org/x/net/context"

"k8s.io/helm/pkg/hooks"
"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
Expand Down
5 changes: 3 additions & 2 deletions pkg/tiller/release_rollback_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License.
package tiller

import (
"strings"
"testing"

"k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
"strings"
"testing"
)

func TestRollbackRelease(t *testing.T) {
Expand Down
2 changes: 2 additions & 0 deletions pkg/tiller/release_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ package tiller
import (
"errors"
"fmt"

ctx "golang.org/x/net/context"

"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
)
Expand Down
3 changes: 2 additions & 1 deletion pkg/tiller/release_status_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ limitations under the License.
package tiller

import (
"testing"

"k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
"testing"
)

func TestGetReleaseStatus(t *testing.T) {
Expand Down
3 changes: 2 additions & 1 deletion pkg/tiller/release_testing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ limitations under the License.
package tiller

import (
"testing"

"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
"testing"
)

func TestRunReleaseTest(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions pkg/tiller/release_uninstall.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"strings"

ctx "golang.org/x/net/context"

"k8s.io/helm/pkg/hooks"
"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
Expand Down
5 changes: 3 additions & 2 deletions pkg/tiller/release_uninstall_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ limitations under the License.
package tiller

import (
"strings"
"testing"

"k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
"strings"
"testing"
)

func TestUninstallRelease(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions pkg/tiller/release_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"fmt"

ctx "golang.org/x/net/context"

"k8s.io/helm/pkg/chartutil"
"k8s.io/helm/pkg/hooks"
"k8s.io/helm/pkg/proto/hapi/release"
Expand Down
5 changes: 3 additions & 2 deletions pkg/tiller/release_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ limitations under the License.
package tiller

import (
"strings"
"testing"

"k8s.io/helm/pkg/helm"
"k8s.io/helm/pkg/proto/hapi/chart"
"k8s.io/helm/pkg/proto/hapi/release"
"k8s.io/helm/pkg/proto/hapi/services"
"strings"
"testing"
)

func TestUpdateRelease(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions pkg/tiller/release_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package tiller

import (
ctx "golang.org/x/net/context"

"k8s.io/helm/pkg/proto/hapi/services"
"k8s.io/helm/pkg/version"
)
Expand Down

0 comments on commit 72cd146

Please sign in to comment.