Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Observer ¶
type Observer struct {
// Name is the name of this Observer, used to filter if multiple observers.
Name string
// EventLogs is the list of EventLog implementors to vent observed events.
EventLogs recordevents.EventLogs
// contains filtered or unexported fields
}
Observer is the entry point for sinking events into the event log.
func New ¶ added in v0.18.2
func New(name string, eventLogs ...recordevents.EventLog) *Observer
New returns an observer that will vent observations to the list of provided EventLog instances. It will listen on :8080.
func NewFromEnv ¶
func NewFromEnv(eventLogs ...recordevents.EventLog) *Observer
Click to show internal directories.
Click to hide internal directories.