Files
charts/clustertool/pkg/gencmd/health.go
2024-10-17 12:56:56 +02:00

13 lines
311 B
Go

package gencmd
import (
"github.com/truecharts/public/clustertool/embed"
"github.com/truecharts/public/clustertool/pkg/helper"
)
func GenHealth(node string) string {
talosPath := embed.GetTalosExec()
strout := talosPath + " health --talosconfig " + helper.TalosConfigFile + " -n " + node
return strout
}