Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
72cd1464
Commit
72cd1464
authored
Jun 13, 2017
by
Adam Reese
Committed by
GitHub
Jun 13, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2570 from adamreese/ref/goimports
ref(tiller): cleanup goimports
parents
dece57e0
eccb041c
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
31 additions
and
14 deletions
+31
-14
environment.go
pkg/tiller/environment/environment.go
+3
-2
environment_test.go
pkg/tiller/environment/environment_test.go
+3
-2
release_content.go
pkg/tiller/release_content.go
+1
-0
release_content_test.go
pkg/tiller/release_content_test.go
+2
-1
release_install.go
pkg/tiller/release_install.go
+1
-0
release_list.go
pkg/tiller/release_list.go
+2
-1
release_rollback.go
pkg/tiller/release_rollback.go
+1
-0
release_rollback_test.go
pkg/tiller/release_rollback_test.go
+3
-2
release_status.go
pkg/tiller/release_status.go
+2
-0
release_status_test.go
pkg/tiller/release_status_test.go
+2
-1
release_testing_test.go
pkg/tiller/release_testing_test.go
+2
-1
release_uninstall.go
pkg/tiller/release_uninstall.go
+1
-0
release_uninstall_test.go
pkg/tiller/release_uninstall_test.go
+3
-2
release_update.go
pkg/tiller/release_update.go
+1
-0
release_update_test.go
pkg/tiller/release_update_test.go
+3
-2
release_version.go
pkg/tiller/release_version.go
+1
-0
No files found.
pkg/tiller/environment/environment.go
View file @
72cd1464
...
@@ -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
...
...
pkg/tiller/environment/environment_test.go
View file @
72cd1464
...
@@ -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
{
...
...
pkg/tiller/release_content.go
View file @
72cd1464
...
@@ -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"
)
)
...
...
pkg/tiller/release_content_test.go
View file @
72cd1464
...
@@ -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
)
{
...
...
pkg/tiller/release_install.go
View file @
72cd1464
...
@@ -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"
...
...
pkg/tiller/release_list.go
View file @
72cd1464
...
@@ -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.
...
...
pkg/tiller/release_rollback.go
View file @
72cd1464
...
@@ -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"
...
...
pkg/tiller/release_rollback_test.go
View file @
72cd1464
...
@@ -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
)
{
...
...
pkg/tiller/release_status.go
View file @
72cd1464
...
@@ -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"
)
)
...
...
pkg/tiller/release_status_test.go
View file @
72cd1464
...
@@ -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
)
{
...
...
pkg/tiller/release_testing_test.go
View file @
72cd1464
...
@@ -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
)
{
...
...
pkg/tiller/release_uninstall.go
View file @
72cd1464
...
@@ -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"
...
...
pkg/tiller/release_uninstall_test.go
View file @
72cd1464
...
@@ -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
)
{
...
...
pkg/tiller/release_update.go
View file @
72cd1464
...
@@ -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"
...
...
pkg/tiller/release_update_test.go
View file @
72cd1464
...
@@ -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
)
{
...
...
pkg/tiller/release_version.go
View file @
72cd1464
...
@@ -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"
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment