Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Check ¶
Check runs the top-level "delinea-util check" diagnostic. It shares the check machinery (buildConfig, ds.New, checkConfig, probeConfig, checkChildEnv, ...) with the secrets group but is a whole-tool verb: configuration, reachability, and credential validity are diagnosed for the whole tool, and verifying secret mappings is the optional extra it does when mappings are passed. The parent renders any usage error (via CheckUsage); Check handles only help.
func CheckUsage ¶
CheckUsage returns the usage for the top-level check verb, its synopsis and mapping forms scraped from the unified README so they cannot drift.
func CommandUsageText ¶
CommandUsageText returns the help page for a secrets leaf command. The parent uses it when rendering a leaf's usage error, so the remedy includes that command's flags rather than the secrets-group command listing.
func Dispatch ¶
Dispatch runs one secrets subcommand (run/print/template). It is the exported entry point the parent (delinea-util) calls as "delinea-util secrets ...", handed everything after the "secrets" word plus the unified README (for help text). It returns errors rather than rendering them: the parent owns error rendering, exit-code mapping, --version, and the --readme/--tree docs. The child-process exit-code propagation in launch_stream.go still calls os.Exit directly, unchanged.
check is NOT here: it is the top-level "delinea-util check" verb (see Check), because configuration, reachability, and credential validity are not secrets-specific.
func UsageText ¶
UsageText returns the secrets-group usage with the command synopsis, connection settings, and mapping forms single-sourced from the ONE unified README that package main embeds and passes in, so they cannot drift and there is a single authoritative document for the whole tool. The parent (delinea-util) renders it beneath a usage error whose args begin with "secrets".
Types ¶
This section is empty.