Versions in this module Expand all Collapse all v0 v0.12.0 Nov 2, 2026 v0.11.0 Nov 1, 2026 v0.10.0 Nov 1, 2026 Changes in this version + const CodeExists + const CodeFailed + const CodeSecret + const CodeUsage + const FlagCredentials + const FlagFix + const FlagJSON + const FlagNonInteractive + const FlagProduction + const FlagProfile + const FlagProject + const FlagVaultPath + const FlagYes + const StatusFail + const StatusOK + const StatusWarn + var ErrSecret = errors.New("a secret is never given on the command line") + func Credentials(source, vaultPath string) (string, error) + func ErrorCode(err error, fallback string) string + func Parse(p kit.Product, fs *flag.FlagSet, args []string) error + func RefuseSecrets(p kit.Product, fs *flag.FlagSet) error + func WantsJSON(args []string) bool + func WriteJSON(w io.Writer, v any) error + type Check struct + Check string + Detail string + Fix string + Status string + type Doctor struct + Checks []Check + Fixed []string + Lock string + OK bool + func NewDoctor(p kit.Product, checks []Check, fixed []string) Doctor + type Error struct + Code string + Error string + Lock string + type Profile struct + Config string + Credentials string + Lock string + Production bool + Profile string