Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Tasks - only log the high level tasks. Tasks LogLevel = iota // Everything - log every event. Everything // Nothing - this will log nothing. Nothing // Ansible Events EventPlaybookOnTaskStart = "playbook_on_task_start" EventRunnerOnOk = "runner_on_ok" EventRunnerOnFailed = "runner_on_failed" // Ansible Task Actions TaskActionSetFact = "set_fact" TaskActionDebug = "debug" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler interface {
Handle(*unstructured.Unstructured, eventapi.JobEvent)
}
EventHandler - knows how to handle job events.
func NewLoggingEventHandler ¶
func NewLoggingEventHandler(l LogLevel) EventHandler
NewLoggingEventHandler - Creates a Logging Event Handler to log events.
Click to show internal directories.
Click to hide internal directories.