mirror of
https://github.com/truecharts/charts.git
synced 2026-07-20 22:05:36 -03:00
13 lines
311 B
Go
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
|
|
}
|