Documentation
¶
Index ¶
- type Runner
- func (r *Runner) BeforeRun(ctx *fwcontext.RunContext) error
- func (r *Runner) Hostname() string
- func (r *Runner) Init(ctx *fwcontext.Context) error
- func (r *Runner) LogsvcClient(ctx *fwcontext.RunContext) *log.SubLogger
- func (r *Runner) QueueClient() *queue.Client
- func (r *Runner) QueueName() string
- func (r *Runner) Run(ctx *fwcontext.RunContext) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
Runner encapsulates an infinite lifecycle overlay-runner.
func (*Runner) BeforeRun ¶
func (r *Runner) BeforeRun(ctx *fwcontext.RunContext) error
BeforeRun is executed before the next run is started.
func (*Runner) Hostname ¶
Hostname is the reported hostname of the machine; an identifier. Not necessary for anything and insecure, just ornamental.
func (*Runner) LogsvcClient ¶
func (r *Runner) LogsvcClient(ctx *fwcontext.RunContext) *log.SubLogger
LogsvcClient returns the system log client. Must be called after configuration is initialized
func (*Runner) QueueClient ¶
QueueClient returns the queue client
Click to show internal directories.
Click to hide internal directories.