Documentation
¶
Overview ¶
Package ui renders operator-facing terminal output shared across the bootstrap flow — the rounded next-steps box and the Keycloak admin-login rows printed inside it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeycloakAdminLoginLines ¶
KeycloakAdminLoginLines returns the console / user / password / realm rows for signing in to the Keycloak admin console and adding a user. Shared by the final next-steps panel and the pre-NetBird-gate prompt so both render identical rows.
func KeycloakPasswordLine ¶
KeycloakPasswordLine returns the "Password" row: the live password inline when known (readable even after the control-plane LB's public IP is disabled), else the kubectl-fetch command.
func PrintNextStepsBox ¶
PrintNextStepsBox renders the box and writes it to stdout. Thin wrapper over RenderNextStepsBox so the formatting itself stays pure-and-testable.
func RenderNextStepsBox ¶
RenderNextStepsBox returns title + lines wrapped in a rounded-corner Unicode box, no line-wrapping: the box widens to fit the longest line so commands stay intact for copy-paste. Differs from pkg/config/prompt's printBox, which wraps overlong content to the terminal width.
Types ¶
This section is empty.