Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVerbosity ¶
func GetVerbosity(u *unstructured.Unstructured, e eventapi.JobEvent, ident string) int
GetVerbosity - Parses the verbsoity from CR and environment variables
Types ¶
type EventHandler ¶
type EventHandler interface {
Handle(string, *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.