Documentation
¶
Overview ¶
Package mikebom lazy-installs and invokes a pinned version of MikeBOM (https://github.com/kusari-sandbox/mikebom) as a prerequisite of kusari subcommands that need it.
Index ¶
Constants ¶
View Source
const ( Version = "0.1.0-alpha.41" Repo = "kusari-sandbox/mikebom" )
View Source
const EnvBinOverride = "KUSARI_MIKEBOM_BIN"
EnvBinOverride lets a user point at a pre-installed mikebom (air-gapped, local dev builds, test fixtures). When set, the cache + download path is skipped entirely.
View Source
const EnvNoAutoInstall = "KUSARI_NO_AUTO_INSTALL"
EnvNoAutoInstall, when "1", causes EnsureAvailable to error instead of downloading. Useful in CI / regulated environments.
Variables ¶
This section is empty.
Functions ¶
func EnsureAvailable ¶
EnsureAvailable returns the filesystem path to a verified mikebom binary matching the pinned Version, installing it on first use.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.