mirrorpath

package
v0.191.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

View Source
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

func MCPSecretFileIn(configDir string) string

MCPSecretFileIn is the secret's path under a user config directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL