Documentation
¶
Overview ¶
Package cmd is beekeeper's command line.
Index ¶
Constants ¶
const ( // ExitGateQueued: the merge waits on for its turn, or for the GitHub // budget's reset, in a run of its own, which wakes its owner with the // outcome. ExitGateQueued = 76 // ExitGateRefused: a hold, a GitHub budget unknown or an unreadable // installation; nothing is queued. ExitGateRefused = 77 // ExitGateDuplicate: the pull request's merge already runs, devctl's // "not applicable". ExitGateDuplicate = 3 // GatePrefix starts every line the gate prints. GatePrefix = "beekeeper gate: " // DefaultGateWait is a foreground merge's wait for its turn before it // waits on in a run of its own; 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.
const ( ExitError = 1 ExitUsage = 2 ExitRefused = 3 ExitRelieved = 4 ExitVault = 78 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, a platform part this build does not have, a save by a release older than the one that wrote the state), 4 relieved (supervisor status in the session a relay relieved), 69 central unreachable (ExitCentral: a central verb whose instance did not answer), 78 vault (ExitVault: beekeeper secret could not read the shared vault: none configured, no token, op failing or silent), 125 outdated (a newer release exists: self-update --check, the status devctl's version check and muster's self-update --check use).
const ExitCentral = 69
ExitCentral is a central verb refused because the central instance is unreachable: there is no local copy to act on instead.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Source Files
¶
- agentdesktop.go
- agentdir.go
- agentgh.go
- agenthandover.go
- agentkeep.go
- agentpark.go
- agentprofile.go
- agentresume.go
- agents.go
- agentstart.go
- agentstartomp.go
- agenttitle.go
- agentwake.go
- alerts.go
- answer.go
- app.go
- appcreate.go
- appinstallation.go
- appmanifest.go
- archivable.go
- archive.go
- board.go
- broadcast.go
- browse.go
- budget.go
- capacity.go
- central.go
- centralholds.go
- centrallanes.go
- centralroster.go
- config.go
- cpu.go
- desktoproom.go
- diskwatch.go
- dockerprune.go
- doctor.go
- feedback.go
- free.go
- gate.go
- gatemerge.go
- gatepreempt.go
- gateread.go
- gatestop.go
- gateurgent.go
- gocache.go
- gtt.go
- guard.go
- guide.go
- guidestale.go
- handover.go
- handoverselect.go
- hold.go
- importrow.go
- install.go
- labs.go
- lanes.go
- lease.go
- leasekube.go
- leaselab.go
- lint.go
- metrics.go
- modelserver.go
- note.go
- notecheck.go
- notedecision.go
- noteovertaken.go
- owed.go
- owned.go
- pageowner.go
- pagerduty.go
- person.go
- platform.go
- pluginsync.go
- priority.go
- profile.go
- prompt.go
- proof.go
- ps.go
- relay.go
- reopenwait.go
- report.go
- reporter.go
- restart.go
- root.go
- sametitle.go
- sandbox.go
- sandboxgithub.go
- sandboxhost.go
- sandboxsign.go
- sandboxvault.go
- scan.go
- secret.go
- secretcapture.go
- secretgithubapp.go
- secretlog.go
- secretreveal.go
- secretstore.go
- secretunlock.go
- seen.go
- selfupdate.go
- serve.go
- serveconversations.go
- servedecisions.go
- servemessages.go
- serveresources.go
- servescope.go
- servetools.go
- servewatch.go
- sessions.go
- snapshot.go
- spend.go
- squashmerge.go
- stalewatch.go
- standby.go
- startsummary.go
- status.go
- storm.go
- successor.go
- supervisor.go
- teleport.go
- timer.go
- timercheck.go
- timercond.go
- tmpfs.go
- ui.go
- ungated.go
- upgrades.go
- watch.go
- yours.go