Documentation
¶
Overview ¶
Package update implements the shared, explicit version inventory behind nova-update and nova-version. It never discovers homes or installs on a verdict.
Index ¶
- Constants
- Variables
- func Compare(a, b string) string
- func Main(name string, args []string, stamp string, out, errs io.Writer) int
- func Run(name string, args []string, stamp string, out, errs io.Writer, env Environment) (rc int)
- type AdoptCheck
- type Entry
- type Environment
- type ProcessResult
- type Read
Constants ¶
View Source
const AdoptHeader = "check\tcommand\towner"
AdoptHeader is the checks file watch --adopt reads: one adoption check per line, the command held to the same argv rule as every other exec site.
View Source
const ChildCap = 64 * 1024
View Source
const HTTPCap = 256 * 1024
View Source
const Header = "name\tkind\tinstalled\tlatest\tapply\towner"
Variables ¶
View Source
var Kinds = []string{"harness", "engine", "model", "tool", "pin"}
Functions ¶
Types ¶
type AdoptCheck ¶ added in v1.2.3
AdoptCheck is one row of the checks file.
type Environment ¶
Environment supplies deterministic clock/network seams. Nil values use the machine clock and a credential-free, redirect-bounded HTTP client.
type ProcessResult ¶
type ProcessResult struct{ Stdout, Stderr, Path, Reason string }
Click to show internal directories.
Click to hide internal directories.