fix some go issues
This commit is contained in:
@@ -2,7 +2,7 @@ package cmd
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/public/clustertool/pkg/gencmd"
|
||||
)
|
||||
|
||||
var bootstrap = &cobra.Command{
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/fluxhandler"
|
||||
"github.com/truecharts/public/clustertool/pkg/fluxhandler"
|
||||
)
|
||||
|
||||
var fluxbootstrap = &cobra.Command{
|
||||
|
||||
@@ -3,9 +3,9 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var health = &cobra.Command{
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var precommit = &cobra.Command{
|
||||
|
||||
@@ -3,8 +3,8 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var reset = &cobra.Command{
|
||||
|
||||
@@ -2,7 +2,7 @@ package cmd
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/scale"
|
||||
"github.com/truecharts/public/clustertool/pkg/scale"
|
||||
)
|
||||
|
||||
var scaleexport = &cobra.Command{
|
||||
|
||||
@@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/scale"
|
||||
"github.com/truecharts/public/clustertool/pkg/scale"
|
||||
)
|
||||
|
||||
var scalemigrate = &cobra.Command{
|
||||
|
||||
@@ -3,8 +3,8 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/private/clustertool/pkg/initfiles"
|
||||
"github.com/truecharts/public/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/public/clustertool/pkg/initfiles"
|
||||
)
|
||||
|
||||
var testcmd = &cobra.Command{
|
||||
|
||||
@@ -3,10 +3,10 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/private/clustertool/pkg/nodestatus"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/nodestatus"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var apply = &cobra.Command{
|
||||
|
||||
@@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/charts/version"
|
||||
"github.com/truecharts/public/clustertool/pkg/charts/version"
|
||||
)
|
||||
|
||||
var bumper = &cobra.Command{
|
||||
|
||||
@@ -3,8 +3,8 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/charts/deps"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/charts/deps"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
)
|
||||
|
||||
var depsCmd = &cobra.Command{
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/charts/changelog"
|
||||
"github.com/truecharts/public/clustertool/pkg/charts/changelog"
|
||||
)
|
||||
|
||||
var genChangelogCmd = &cobra.Command{
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/charts/website"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/charts/website"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
)
|
||||
|
||||
var genChartListCmd = &cobra.Command{
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"slices"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/charts/chartFile"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/charts/chartFile"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
)
|
||||
|
||||
var genMetaCmd = &cobra.Command{
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"github.com/rs/zerolog/log"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/charts/image"
|
||||
"github.com/truecharts/public/clustertool/pkg/charts/image"
|
||||
)
|
||||
|
||||
var tagCleaner = &cobra.Command{
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var checkcrypt = &cobra.Command{
|
||||
|
||||
@@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var decrypt = &cobra.Command{
|
||||
|
||||
@@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var encrypt = &cobra.Command{
|
||||
|
||||
@@ -5,10 +5,10 @@ import (
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/private/clustertool/pkg/nodestatus"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/nodestatus"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var genConfigLongHelp = strings.TrimSpace(`
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/fluxhandler"
|
||||
"github.com/truecharts/private/clustertool/pkg/initfiles"
|
||||
"github.com/truecharts/public/clustertool/pkg/fluxhandler"
|
||||
"github.com/truecharts/public/clustertool/pkg/initfiles"
|
||||
)
|
||||
|
||||
var hrinstall = &cobra.Command{
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"path/filepath"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/fluxhandler"
|
||||
"github.com/truecharts/private/clustertool/pkg/initfiles"
|
||||
"github.com/truecharts/public/clustertool/pkg/fluxhandler"
|
||||
"github.com/truecharts/public/clustertool/pkg/initfiles"
|
||||
)
|
||||
|
||||
var hrupgrade = &cobra.Command{
|
||||
|
||||
@@ -2,7 +2,7 @@ package cmd
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/info"
|
||||
"github.com/truecharts/public/clustertool/pkg/info"
|
||||
)
|
||||
|
||||
var infoCmd = &cobra.Command{
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/initfiles"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/initfiles"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var initLongHelp = strings.TrimSpace(`
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
)
|
||||
|
||||
var thisversion string
|
||||
|
||||
@@ -3,9 +3,9 @@ package cmd
|
||||
import (
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/truecharts/private/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/pkg/gencmd"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var upgrade = &cobra.Command{
|
||||
|
||||
Reference in New Issue
Block a user