diff --git a/cmd/helm/dependency_build.go b/cmd/helm/dependency_build.go index 326435de281326c3bca11ec00dbd8041a03f23e4..9be3674a2718f1ac88ebbfc22f968fee80169622 100644 --- a/cmd/helm/dependency_build.go +++ b/cmd/helm/dependency_build.go @@ -20,8 +20,8 @@ import ( "github.com/spf13/cobra" - "k8s.io/helm/cmd/helm/downloader" "k8s.io/helm/cmd/helm/helmpath" + "k8s.io/helm/pkg/downloader" ) const dependencyBuildDesc = ` diff --git a/cmd/helm/dependency_update.go b/cmd/helm/dependency_update.go index b80b632dd2e5c64a6f2cf36da1c201ffae525f7e..0d4f6118195b4ee56fb6b318ecb0600806153cc3 100644 --- a/cmd/helm/dependency_update.go +++ b/cmd/helm/dependency_update.go @@ -20,8 +20,8 @@ import ( "path/filepath" "github.com/spf13/cobra" - "k8s.io/helm/cmd/helm/downloader" "k8s.io/helm/cmd/helm/helmpath" + "k8s.io/helm/pkg/downloader" ) const dependencyUpDesc = ` diff --git a/cmd/helm/fetch.go b/cmd/helm/fetch.go index a29b0d2eaa28a44f1e36d91b47bcae1a999196b2..b4fd83142883bc1f52edb22b1d732968682276bf 100644 --- a/cmd/helm/fetch.go +++ b/cmd/helm/fetch.go @@ -24,9 +24,9 @@ import ( "path/filepath" "github.com/spf13/cobra" - "k8s.io/helm/cmd/helm/downloader" "k8s.io/helm/cmd/helm/helmpath" "k8s.io/helm/pkg/chartutil" + "k8s.io/helm/pkg/downloader" ) const fetchDesc = ` diff --git a/cmd/helm/install.go b/cmd/helm/install.go index 6917a6e6aba4d594cceb602560b4506dcb75c986..1049450ad32afc00c6110745ff08f1f7ecf457a1 100644 --- a/cmd/helm/install.go +++ b/cmd/helm/install.go @@ -32,9 +32,9 @@ import ( "github.com/ghodss/yaml" "github.com/spf13/cobra" - "k8s.io/helm/cmd/helm/downloader" "k8s.io/helm/cmd/helm/helmpath" "k8s.io/helm/cmd/helm/strvals" + "k8s.io/helm/pkg/downloader" "k8s.io/helm/pkg/helm" "k8s.io/helm/pkg/kube" "k8s.io/helm/pkg/proto/hapi/release" diff --git a/cmd/helm/verify.go b/cmd/helm/verify.go index d401e129a7cac049be64dc4cf606c75660fa83a8..e82eb4e333f0de0267cd8e4208e7d43beb97658f 100644 --- a/cmd/helm/verify.go +++ b/cmd/helm/verify.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/cobra" - "k8s.io/helm/cmd/helm/downloader" + "k8s.io/helm/pkg/downloader" ) const verifyDesc = ` diff --git a/cmd/helm/downloader/chart_downloader.go b/pkg/downloader/chart_downloader.go similarity index 100% rename from cmd/helm/downloader/chart_downloader.go rename to pkg/downloader/chart_downloader.go diff --git a/cmd/helm/downloader/chart_downloader_test.go b/pkg/downloader/chart_downloader_test.go similarity index 100% rename from cmd/helm/downloader/chart_downloader_test.go rename to pkg/downloader/chart_downloader_test.go diff --git a/cmd/helm/downloader/doc.go b/pkg/downloader/doc.go similarity index 100% rename from cmd/helm/downloader/doc.go rename to pkg/downloader/doc.go diff --git a/cmd/helm/downloader/manager.go b/pkg/downloader/manager.go similarity index 99% rename from cmd/helm/downloader/manager.go rename to pkg/downloader/manager.go index a29dad99b9eb7ec37bcd2dfa846407ff478b0775..8475b0d885c74f7a8fe4ea94fff9282a325e8dea 100644 --- a/cmd/helm/downloader/manager.go +++ b/pkg/downloader/manager.go @@ -31,10 +31,10 @@ import ( "github.com/ghodss/yaml" "k8s.io/helm/cmd/helm/helmpath" - "k8s.io/helm/cmd/helm/resolver" "k8s.io/helm/pkg/chartutil" "k8s.io/helm/pkg/proto/hapi/chart" "k8s.io/helm/pkg/repo" + "k8s.io/helm/pkg/resolver" "k8s.io/helm/pkg/urlutil" ) diff --git a/cmd/helm/downloader/manager_test.go b/pkg/downloader/manager_test.go similarity index 100% rename from cmd/helm/downloader/manager_test.go rename to pkg/downloader/manager_test.go diff --git a/cmd/helm/downloader/testdata/helm-test-key.pub b/pkg/downloader/testdata/helm-test-key.pub similarity index 100% rename from cmd/helm/downloader/testdata/helm-test-key.pub rename to pkg/downloader/testdata/helm-test-key.pub diff --git a/cmd/helm/downloader/testdata/helm-test-key.secret b/pkg/downloader/testdata/helm-test-key.secret similarity index 100% rename from cmd/helm/downloader/testdata/helm-test-key.secret rename to pkg/downloader/testdata/helm-test-key.secret diff --git a/cmd/helm/downloader/testdata/helmhome/repository/cache/kubernetes-charts-index.yaml b/pkg/downloader/testdata/helmhome/repository/cache/kubernetes-charts-index.yaml similarity index 100% rename from cmd/helm/downloader/testdata/helmhome/repository/cache/kubernetes-charts-index.yaml rename to pkg/downloader/testdata/helmhome/repository/cache/kubernetes-charts-index.yaml diff --git a/cmd/helm/downloader/testdata/helmhome/repository/cache/local-index.yaml b/pkg/downloader/testdata/helmhome/repository/cache/local-index.yaml similarity index 100% rename from cmd/helm/downloader/testdata/helmhome/repository/cache/local-index.yaml rename to pkg/downloader/testdata/helmhome/repository/cache/local-index.yaml diff --git a/cmd/helm/downloader/testdata/helmhome/repository/cache/testing-basicauth-index.yaml b/pkg/downloader/testdata/helmhome/repository/cache/testing-basicauth-index.yaml similarity index 100% rename from cmd/helm/downloader/testdata/helmhome/repository/cache/testing-basicauth-index.yaml rename to pkg/downloader/testdata/helmhome/repository/cache/testing-basicauth-index.yaml diff --git a/cmd/helm/downloader/testdata/helmhome/repository/cache/testing-https-index.yaml b/pkg/downloader/testdata/helmhome/repository/cache/testing-https-index.yaml similarity index 100% rename from cmd/helm/downloader/testdata/helmhome/repository/cache/testing-https-index.yaml rename to pkg/downloader/testdata/helmhome/repository/cache/testing-https-index.yaml diff --git a/cmd/helm/downloader/testdata/helmhome/repository/cache/testing-index.yaml b/pkg/downloader/testdata/helmhome/repository/cache/testing-index.yaml similarity index 100% rename from cmd/helm/downloader/testdata/helmhome/repository/cache/testing-index.yaml rename to pkg/downloader/testdata/helmhome/repository/cache/testing-index.yaml diff --git a/cmd/helm/downloader/testdata/helmhome/repository/local/index.yaml b/pkg/downloader/testdata/helmhome/repository/local/index.yaml similarity index 100% rename from cmd/helm/downloader/testdata/helmhome/repository/local/index.yaml rename to pkg/downloader/testdata/helmhome/repository/local/index.yaml diff --git a/cmd/helm/downloader/testdata/helmhome/repository/repositories.yaml b/pkg/downloader/testdata/helmhome/repository/repositories.yaml similarity index 100% rename from cmd/helm/downloader/testdata/helmhome/repository/repositories.yaml rename to pkg/downloader/testdata/helmhome/repository/repositories.yaml diff --git a/cmd/helm/downloader/testdata/signtest-0.1.0.tgz b/pkg/downloader/testdata/signtest-0.1.0.tgz similarity index 100% rename from cmd/helm/downloader/testdata/signtest-0.1.0.tgz rename to pkg/downloader/testdata/signtest-0.1.0.tgz diff --git a/cmd/helm/downloader/testdata/signtest-0.1.0.tgz.prov b/pkg/downloader/testdata/signtest-0.1.0.tgz.prov similarity index 100% rename from cmd/helm/downloader/testdata/signtest-0.1.0.tgz.prov rename to pkg/downloader/testdata/signtest-0.1.0.tgz.prov diff --git a/cmd/helm/downloader/testdata/signtest/.helmignore b/pkg/downloader/testdata/signtest/.helmignore similarity index 100% rename from cmd/helm/downloader/testdata/signtest/.helmignore rename to pkg/downloader/testdata/signtest/.helmignore diff --git a/cmd/helm/downloader/testdata/signtest/Chart.yaml b/pkg/downloader/testdata/signtest/Chart.yaml similarity index 100% rename from cmd/helm/downloader/testdata/signtest/Chart.yaml rename to pkg/downloader/testdata/signtest/Chart.yaml diff --git a/cmd/helm/downloader/testdata/signtest/alpine/Chart.yaml b/pkg/downloader/testdata/signtest/alpine/Chart.yaml similarity index 100% rename from cmd/helm/downloader/testdata/signtest/alpine/Chart.yaml rename to pkg/downloader/testdata/signtest/alpine/Chart.yaml diff --git a/cmd/helm/downloader/testdata/signtest/alpine/README.md b/pkg/downloader/testdata/signtest/alpine/README.md similarity index 100% rename from cmd/helm/downloader/testdata/signtest/alpine/README.md rename to pkg/downloader/testdata/signtest/alpine/README.md diff --git a/cmd/helm/downloader/testdata/signtest/alpine/templates/alpine-pod.yaml b/pkg/downloader/testdata/signtest/alpine/templates/alpine-pod.yaml similarity index 100% rename from cmd/helm/downloader/testdata/signtest/alpine/templates/alpine-pod.yaml rename to pkg/downloader/testdata/signtest/alpine/templates/alpine-pod.yaml diff --git a/cmd/helm/downloader/testdata/signtest/alpine/values.yaml b/pkg/downloader/testdata/signtest/alpine/values.yaml similarity index 100% rename from cmd/helm/downloader/testdata/signtest/alpine/values.yaml rename to pkg/downloader/testdata/signtest/alpine/values.yaml diff --git a/cmd/helm/downloader/testdata/signtest/templates/pod.yaml b/pkg/downloader/testdata/signtest/templates/pod.yaml similarity index 100% rename from cmd/helm/downloader/testdata/signtest/templates/pod.yaml rename to pkg/downloader/testdata/signtest/templates/pod.yaml diff --git a/cmd/helm/downloader/testdata/signtest/values.yaml b/pkg/downloader/testdata/signtest/values.yaml similarity index 100% rename from cmd/helm/downloader/testdata/signtest/values.yaml rename to pkg/downloader/testdata/signtest/values.yaml diff --git a/cmd/helm/resolver/resolver.go b/pkg/resolver/resolver.go similarity index 100% rename from cmd/helm/resolver/resolver.go rename to pkg/resolver/resolver.go diff --git a/cmd/helm/resolver/resolver_test.go b/pkg/resolver/resolver_test.go similarity index 100% rename from cmd/helm/resolver/resolver_test.go rename to pkg/resolver/resolver_test.go diff --git a/cmd/helm/resolver/testdata/helmhome/repository/cache/kubernetes-charts-index.yaml b/pkg/resolver/testdata/helmhome/repository/cache/kubernetes-charts-index.yaml similarity index 100% rename from cmd/helm/resolver/testdata/helmhome/repository/cache/kubernetes-charts-index.yaml rename to pkg/resolver/testdata/helmhome/repository/cache/kubernetes-charts-index.yaml