Documentation
¶
Overview ¶
Package cmd is beekeeper's command line.
Index ¶
Constants ¶
View Source
const ( // ExitGateQueued: the merge keeps its place; run the same command again. ExitGateQueued = 76 // ExitGateRefused: a hold, the budget floor or an unreadable installation. ExitGateRefused = 77 // GatePrefix starts every line the gate prints. GatePrefix = "beekeeper gate: " // DefaultGateWait is a foreground merge's wait for its turn; the hook // gives a background one BackgroundGateWait. DefaultGateWait = 2 * time.Minute BackgroundGateWait = 30 * time.Minute )
The gate's own exit codes, apart from devctl's 1-9 and the busy machine's 75.
View Source
const ( ExitError = 1 ExitUsage = 2 ExitRefused = 3 ExitRelieved = 4 ExitOutdated = 125 )
Exit codes: 0 done, 1 error, 2 usage, 3 refused (a lease held or not granted, a hold set, the budget under its floor), 4 relieved (supervisor status in the session a relay relieved), 125 outdated (a newer release exists: self-update --check, the status devctl's version check and muster's self-update --check use).
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Source Files
¶
- agenthandover.go
- agents.go
- agentstart.go
- agenttitle.go
- agentwake.go
- alerts.go
- budget.go
- cpu.go
- detach_unix.go
- free.go
- gate.go
- gatemerge.go
- gtt.go
- guard.go
- guide.go
- handover.go
- hold.go
- lanes.go
- lease.go
- metrics.go
- modelserver.go
- note.go
- prompt.go
- reexec_linux.go
- relay.go
- reporter.go
- root.go
- seen.go
- selfupdate.go
- sessions.go
- snapshot.go
- spare.go
- squashmerge.go
- status.go
- supervisor.go
- timer.go
- upgrades.go
- watch.go
Click to show internal directories.
Click to hide internal directories.