Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func AddConfirmFlag ¶ added in v1.16.0
AddConfirmFlag registers the shared -y flag of an action that asks before it runs.
func AddDisruptiveActionFlags ¶ added in v1.14.0
AddDisruptiveActionFlags registers the shared -y/--force flags.
func RunDisruptiveServerAction ¶ added in v1.14.0
func RunDisruptiveServerAction(serverName, action, confirmMsg, successMsg, failMsg string, yes, force bool)
RunDisruptiveServerAction runs the action with confirmation, MFA retry, and busy-guard handling.
func RunServerAction ¶ added in v1.16.0
RunServerAction runs a non-disruptive action with confirmation and MFA retry. The server applies no busy guard to it, so there is no --force to pass.
Types ¶
This section is empty.