Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Lesikov <[email protected]>
  • Loading branch information
ilya-lesikov committed Dec 17, 2024
1 parent cf9044b commit dbe7f84
Show file tree
Hide file tree
Showing 243 changed files with 620 additions and 620 deletions.
2 changes: 1 addition & 1 deletion cmd/helm/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
)

const completionDesc = `
Expand Down
4 changes: 2 additions & 2 deletions cmd/helm/completion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"strings"
"testing"

"github.com/werf/3p-helm-legacy/pkg/chart"
"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/chart"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
)

// Check if file completion should be performed according to parameter 'shouldBePerformed'
Expand Down
8 changes: 4 additions & 4 deletions cmd/helm/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/chart"
"github.com/werf/3p-helm-legacy/pkg/chartutil"
"github.com/werf/3p-helm-legacy/pkg/helmpath"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/chart"
"github.com/werf/3p-helm-for-werf-helm/pkg/chartutil"
"github.com/werf/3p-helm-for-werf-helm/pkg/helmpath"
)

const createDesc = `
Expand Down
10 changes: 5 additions & 5 deletions cmd/helm/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ import (
"path/filepath"
"testing"

"github.com/werf/3p-helm-legacy/internal/test/ensure"
"github.com/werf/3p-helm-legacy/pkg/chart"
"github.com/werf/3p-helm-legacy/pkg/chart/loader"
"github.com/werf/3p-helm-legacy/pkg/chartutil"
"github.com/werf/3p-helm-legacy/pkg/helmpath"
"github.com/werf/3p-helm-for-werf-helm/internal/test/ensure"
"github.com/werf/3p-helm-for-werf-helm/pkg/chart"
"github.com/werf/3p-helm-for-werf-helm/pkg/chart/loader"
"github.com/werf/3p-helm-for-werf-helm/pkg/chartutil"
"github.com/werf/3p-helm-for-werf-helm/pkg/helmpath"
)

func TestCreateCmd(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/helm/dependency.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
)

const dependencyDesc = `
Expand Down
8 changes: 4 additions & 4 deletions cmd/helm/dependency_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ import (
"github.com/spf13/cobra"
"k8s.io/client-go/util/homedir"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-legacy/pkg/downloader"
"github.com/werf/3p-helm-legacy/pkg/getter"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/pkg/downloader"
"github.com/werf/3p-helm-for-werf-helm/pkg/getter"
)

const dependencyBuildDesc = `
Expand Down
8 changes: 4 additions & 4 deletions cmd/helm/dependency_build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"strings"
"testing"

"github.com/werf/3p-helm-legacy/pkg/chartutil"
"github.com/werf/3p-helm-legacy/pkg/provenance"
"github.com/werf/3p-helm-legacy/pkg/repo"
"github.com/werf/3p-helm-legacy/pkg/repo/repotest"
"github.com/werf/3p-helm-for-werf-helm/pkg/chartutil"
"github.com/werf/3p-helm-for-werf-helm/pkg/provenance"
"github.com/werf/3p-helm-for-werf-helm/pkg/repo"
"github.com/werf/3p-helm-for-werf-helm/pkg/repo/repotest"
)

func TestDependencyBuildCmd(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions cmd/helm/dependency_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-legacy/pkg/downloader"
"github.com/werf/3p-helm-legacy/pkg/getter"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/pkg/downloader"
"github.com/werf/3p-helm-for-werf-helm/pkg/getter"
)

const dependencyUpDesc = `
Expand Down
14 changes: 7 additions & 7 deletions cmd/helm/dependency_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ import (
"strings"
"testing"

"github.com/werf/3p-helm-legacy/internal/test/ensure"
"github.com/werf/3p-helm-legacy/pkg/chart"
"github.com/werf/3p-helm-legacy/pkg/chartutil"
"github.com/werf/3p-helm-legacy/pkg/helmpath"
"github.com/werf/3p-helm-legacy/pkg/provenance"
"github.com/werf/3p-helm-legacy/pkg/repo"
"github.com/werf/3p-helm-legacy/pkg/repo/repotest"
"github.com/werf/3p-helm-for-werf-helm/internal/test/ensure"
"github.com/werf/3p-helm-for-werf-helm/pkg/chart"
"github.com/werf/3p-helm-for-werf-helm/pkg/chartutil"
"github.com/werf/3p-helm-for-werf-helm/pkg/helmpath"
"github.com/werf/3p-helm-for-werf-helm/pkg/provenance"
"github.com/werf/3p-helm-for-werf-helm/pkg/repo"
"github.com/werf/3p-helm-for-werf-helm/pkg/repo/repotest"
)

func TestDependencyUpdateCmd(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/helm/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"golang.org/x/text/cases"
"golang.org/x/text/language"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
)

const docsDesc = `
Expand Down
2 changes: 1 addition & 1 deletion cmd/helm/env.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
)

var envHelp = `
Expand Down
12 changes: 6 additions & 6 deletions cmd/helm/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ import (
"github.com/spf13/pflag"
"k8s.io/klog/v2"

"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-legacy/pkg/cli/output"
"github.com/werf/3p-helm-legacy/pkg/cli/values"
"github.com/werf/3p-helm-legacy/pkg/helmpath"
"github.com/werf/3p-helm-legacy/pkg/postrender"
"github.com/werf/3p-helm-legacy/pkg/repo"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/pkg/cli/output"
"github.com/werf/3p-helm-for-werf-helm/pkg/cli/values"
"github.com/werf/3p-helm-for-werf-helm/pkg/helmpath"
"github.com/werf/3p-helm-for-werf-helm/pkg/postrender"
"github.com/werf/3p-helm-for-werf-helm/pkg/repo"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions cmd/helm/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ import (
"fmt"
"testing"

"github.com/werf/3p-helm-legacy/pkg/chart"
"github.com/werf/3p-helm-legacy/pkg/release"
helmtime "github.com/werf/3p-helm-legacy/pkg/time"
"github.com/werf/3p-helm-for-werf-helm/pkg/chart"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
helmtime "github.com/werf/3p-helm-for-werf-helm/pkg/time"
)

func outputFlagCompletionTest(t *testing.T, cmdName string) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/helm/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
)

var getHelp = `
Expand Down
8 changes: 4 additions & 4 deletions cmd/helm/get_all.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ import (
"log"

"github.com/spf13/cobra"
"github.com/werf/3p-helm-legacy/pkg/errs"
"github.com/werf/3p-helm-for-werf-helm/pkg/errs"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-legacy/pkg/cli/output"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/pkg/cli/output"
)

var getAllHelp = `
Expand Down
2 changes: 1 addition & 1 deletion cmd/helm/get_all_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package helm_v3
import (
"testing"

"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
)

func TestGetCmd(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/helm/get_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
)

const getHooksHelp = `
Expand Down
2 changes: 1 addition & 1 deletion cmd/helm/get_hooks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package helm_v3
import (
"testing"

"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
)

func TestGetHooks(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/helm/get_manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
)

var getManifestHelp = `
Expand Down
2 changes: 1 addition & 1 deletion cmd/helm/get_manifest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package helm_v3
import (
"testing"

"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
)

func TestGetManifest(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/helm/get_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-legacy/pkg/cli/output"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/pkg/cli/output"
)

type metadataWriter struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/helm/get_metadata_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package helm_v3
import (
"testing"

"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
)

func TestGetMetadataCmd(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/helm/get_notes.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
)

var getNotesHelp = `
Expand Down
2 changes: 1 addition & 1 deletion cmd/helm/get_notes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package helm_v3
import (
"testing"

"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
)

func TestGetNotesCmd(t *testing.T) {
Expand Down
6 changes: 3 additions & 3 deletions cmd/helm/get_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ import (

"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-legacy/pkg/cli/output"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/pkg/cli/output"
)

var getValuesHelp = `
Expand Down
2 changes: 1 addition & 1 deletion cmd/helm/get_values_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package helm_v3
import (
"testing"

"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
)

func TestGetValuesCmd(t *testing.T) {
Expand Down
12 changes: 6 additions & 6 deletions cmd/helm/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ import (
// Import to initialize client auth plugins.
_ "k8s.io/client-go/plugin/pkg/client/auth"

"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-legacy/pkg/cli"
"github.com/werf/3p-helm-legacy/pkg/kube"
kubefake "github.com/werf/3p-helm-legacy/pkg/kube/fake"
"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-legacy/pkg/storage/driver"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/pkg/cli"
"github.com/werf/3p-helm-for-werf-helm/pkg/kube"
kubefake "github.com/werf/3p-helm-for-werf-helm/pkg/kube/fake"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/storage/driver"
)

var settings = cli.New()
Expand Down
18 changes: 9 additions & 9 deletions cmd/helm/helm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ import (
shellwords "github.com/mattn/go-shellwords"
"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/internal/test"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-legacy/pkg/chartutil"
"github.com/werf/3p-helm-legacy/pkg/cli"
kubefake "github.com/werf/3p-helm-legacy/pkg/kube/fake"
"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-legacy/pkg/storage"
"github.com/werf/3p-helm-legacy/pkg/storage/driver"
"github.com/werf/3p-helm-legacy/pkg/time"
"github.com/werf/3p-helm-for-werf-helm/internal/test"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/pkg/chartutil"
"github.com/werf/3p-helm-for-werf-helm/pkg/cli"
kubefake "github.com/werf/3p-helm-for-werf-helm/pkg/kube/fake"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/storage"
"github.com/werf/3p-helm-for-werf-helm/pkg/storage/driver"
"github.com/werf/3p-helm-for-werf-helm/pkg/time"
)

func testTimestamper() time.Time { return time.Unix(242085845, 0).UTC() }
Expand Down
14 changes: 7 additions & 7 deletions cmd/helm/history.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ import (
"github.com/gosuri/uitable"
"github.com/spf13/cobra"

"github.com/werf/3p-helm-legacy/cmd/helm/require"
"github.com/werf/3p-helm-legacy/pkg/action"
"github.com/werf/3p-helm-legacy/pkg/chart"
"github.com/werf/3p-helm-legacy/pkg/cli/output"
"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-legacy/pkg/releaseutil"
helmtime "github.com/werf/3p-helm-legacy/pkg/time"
"github.com/werf/3p-helm-for-werf-helm/cmd/helm/require"
"github.com/werf/3p-helm-for-werf-helm/pkg/action"
"github.com/werf/3p-helm-for-werf-helm/pkg/chart"
"github.com/werf/3p-helm-for-werf-helm/pkg/cli/output"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/releaseutil"
helmtime "github.com/werf/3p-helm-for-werf-helm/pkg/time"
)

var historyHelp = `
Expand Down
2 changes: 1 addition & 1 deletion cmd/helm/history_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"testing"

"github.com/werf/3p-helm-legacy/pkg/release"
"github.com/werf/3p-helm-for-werf-helm/pkg/release"
)

func TestHistoryCmd(t *testing.T) {
Expand Down
Loading

0 comments on commit dbe7f84

Please sign in to comment.