Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OsRemove = os.Remove ExecCmd = exec.Command ReadKubeConfigRaw = utils.ReadKubeconfigRaw WriteKubeconfigToFile = utils.CreateTempKubeConfig )
Functions ¶
func RunElevate ¶
RunElevate executes the elevation process for backplane access. It reads the current kubeconfig, adds elevation context with the provided reason, and optionally executes a command with elevated permissions. The first argument is the elevation reason, remaining arguments are the command to execute.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.