Documentation ¶
Overview ¶
Package core contains the main control loop.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArgs ¶
func GetArgs() (subcommands.Handler, subcommands.Params)
GetArgs parses the command line flags and returns the subcommand we need and its parameters (if any)
Types ¶
type App ¶
type App struct { ControlServer *control.HTTPServer Discovery discovery.Backend Jobs []*jobs.Job Watches []*watches.Watch Telemetry *telemetry.Telemetry StopTimeout int ConfigFlag string Bus *events.EventBus // contains filtered or unexported fields }
App encapsulates the state of ContainerPilot after the initial setup.
func (*App) SignalEvent ¶
SignalEvent publishes a signal event onto the event bus
Click to show internal directories.
Click to hide internal directories.