Documentation
¶
Overview ¶
Package distro is the importable entry point of dev-cockpit. The shipped binary is the thin main in cmd/dev-cockpit; a custom distribution writes a main of its own that calls Main, see the custom distributions section of the README. The CLI itself lives in internal/cli, this package is the facade in front of it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Build ¶
type Build struct {
Version string
RepoURL string
UpdateFeedURL string
UpdateFeedFormat string
// ServePlugins are constructed by the distribution's main and handed in
// here as ordered named pairs, there is no registry and a plugin does not
// name itself. They configure at serve start, when the configuration they
// read is loaded. The surface is experimental, see the plugin package.
ServePlugins []plugin.Named[plugin.ServePlugin]
}
Build describes the distribution a binary belongs to: the release version, the web page of its repository, the release feed update checks read, in github or gitlab format, and the plugins compiled in. A zero field keeps the compiled default.
Click to show internal directories.
Click to hide internal directories.