utils

package
v0.0.0-...-1e800e6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LabelNodes

func LabelNodes(masterNode, configDir, configName string) error

LabelNodes applies labels to Kubernetes nodes based on the configuration file using kubectl commands. masterNode is the IP address of the master node where kubectl commands will be executed. configDir specifies the directory where `node_setup.json` is located.

func ReadSetupCfg

func ReadSetupCfg(path string) (map[string]string, error)

func ServerExec

func ServerExec(node, command string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL