Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forwarder ¶
type Forwarder struct { // Name is the name of this Forwarder. Name string // The current namespace. Namespace string `envconfig:"NAMESPACE" required:"true"` // Sink Sink string // EventLogs is the list of EventLogger implementors to vent observed events. EventLogs *eventshub.EventLogs // contains filtered or unexported fields }
Forwarder is the entry point for sinking events into the event log.
func NewFromEnv ¶
func NewFromEnv(ctx context.Context, eventLogs *eventshub.EventLogs, handlerFuncs []eventshub.HandlerFunc, clientOpts []eventshub.ClientOption) *Forwarder
Click to show internal directories.
Click to hide internal directories.