fix some go issues
This commit is contained in:
@@ -9,9 +9,9 @@ import (
|
||||
|
||||
talhelperCfg "github.com/budimanjojo/talhelper/v3/pkg/config"
|
||||
"github.com/budimanjojo/talhelper/v3/pkg/generate"
|
||||
"github.com/truecharts/private/clustertool/embed"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/private/clustertool/pkg/initfiles"
|
||||
"github.com/truecharts/public/clustertool/embed"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/initfiles"
|
||||
)
|
||||
|
||||
func GenApply(node string, extraFlags []string) []string {
|
||||
|
||||
@@ -12,12 +12,12 @@ import (
|
||||
|
||||
talhelperCfg "github.com/budimanjojo/talhelper/v3/pkg/config"
|
||||
"github.com/budimanjojo/talhelper/v3/pkg/generate"
|
||||
"github.com/truecharts/private/clustertool/embed"
|
||||
"github.com/truecharts/private/clustertool/pkg/fluxhandler"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/private/clustertool/pkg/kubectlcmds"
|
||||
"github.com/truecharts/private/clustertool/pkg/nodestatus"
|
||||
"github.com/truecharts/private/clustertool/pkg/sops"
|
||||
"github.com/truecharts/public/clustertool/embed"
|
||||
"github.com/truecharts/public/clustertool/pkg/fluxhandler"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/kubectlcmds"
|
||||
"github.com/truecharts/public/clustertool/pkg/nodestatus"
|
||||
"github.com/truecharts/public/clustertool/pkg/sops"
|
||||
)
|
||||
|
||||
var HelmRepos map[string]*fluxhandler.HelmRepo
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/rs/zerolog/log"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/private/clustertool/pkg/nodestatus"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/nodestatus"
|
||||
)
|
||||
|
||||
func ExecCmd(cmd string) {
|
||||
|
||||
@@ -17,9 +17,9 @@ import (
|
||||
"github.com/fatih/color"
|
||||
sideroConfig "github.com/siderolabs/talos/pkg/machinery/config"
|
||||
"github.com/siderolabs/talos/pkg/machinery/config/generate/secrets"
|
||||
"github.com/truecharts/private/clustertool/pkg/fluxhandler"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/private/clustertool/pkg/initfiles"
|
||||
"github.com/truecharts/public/clustertool/pkg/fluxhandler"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/pkg/initfiles"
|
||||
"gopkg.in/yaml.v3"
|
||||
)
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package gencmd
|
||||
|
||||
import (
|
||||
"github.com/truecharts/private/clustertool/embed"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/embed"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
)
|
||||
|
||||
func GenHealth(node string) string {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package gencmd
|
||||
|
||||
import (
|
||||
"github.com/truecharts/private/clustertool/embed"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/embed"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
)
|
||||
|
||||
func GenKubeConfig(node string) string {
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
|
||||
talhelperCfg "github.com/budimanjojo/talhelper/v3/pkg/config"
|
||||
"github.com/budimanjojo/talhelper/v3/pkg/generate"
|
||||
"github.com/truecharts/private/clustertool/embed"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/embed"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
)
|
||||
|
||||
func GenReset(node string, extraFlags []string) []string {
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
|
||||
talhelperCfg "github.com/budimanjojo/talhelper/v3/pkg/config"
|
||||
"github.com/budimanjojo/talhelper/v3/pkg/generate"
|
||||
"github.com/truecharts/private/clustertool/embed"
|
||||
"github.com/truecharts/private/clustertool/pkg/helper"
|
||||
"github.com/truecharts/public/clustertool/embed"
|
||||
"github.com/truecharts/public/clustertool/pkg/helper"
|
||||
)
|
||||
|
||||
func GenUpgrade(node string, extraFlags []string) []string {
|
||||
|
||||
Reference in New Issue
Block a user