Documentation
¶
Overview ¶
Package mirrorpath is where muster-mirror keeps its local files by default, as ONE rule that muster-mirror and `muster doctor` both call — so the doctor looks for the MCP endpoint's secret exactly where muster-mirror writes it, on Linux (XDG_CONFIG_HOME, else ~/.config) and on macOS (~/Library/Application Support) alike. It imports only the standard library.
Index ¶
Constants ¶
const MCPSecretFileName = "mcp-secret"
MCPSecretFileName is the local MCP endpoint's secret, in muster-mirror's config directory.
Variables ¶
This section is empty.
Functions ¶
func DefaultMCPSecretFile ¶
func DefaultMCPSecretFile() string
DefaultMCPSecretFile is where muster-mirror keeps the secret when -mcp-secret-file / MUSTER_MIRROR_MCP_SECRET_FILE does not say: under os.UserConfigDir(). "" when there is no user config directory.
func MCPSecretFileIn ¶
MCPSecretFileIn is the secret's path under a user config directory.
Types ¶
This section is empty.