Documentation
¶
Overview ¶
Package run is the Pulp runtime entry point. Deployment binaries blank-import extensions and call run.Main():
package main
import (
_ "github.com/BananaLabs-OSS/Pulp-ext-http"
_ "github.com/BananaLabs-OSS/Pulp-ext-docker"
"github.com/BananaLabs-OSS/Pulp/run"
)
func main() { run.Main() }
Extensions registered via ext.Register are automatically picked up. The runtime accepts one or more manifests via repeated -manifest flags, starts one step-loop goroutine per cell, and one pollster goroutine per extension-with-Poll. Events flow from pollsters into per-cell event channels tagged by StepEvent.CellID; empty CellID broadcasts to every cell that declares the producing extension's capability.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterruptSignal ¶
InterruptSignal is the signal delivered by tests and the default stop path.
func ShutdownSignals ¶
ShutdownSignals enumerates the signals Main watches to trigger a graceful shutdown. On Unix that is SIGINT (Ctrl+C) and SIGTERM.
func StartWithNewProcessGroup ¶
StartWithNewProcessGroup is a no-op on Unix — the default Start behavior is sufficient for tests to interrupt their children.
Types ¶
This section is empty.