Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
EventHandler define event handler
func (*EventHandler) Handle ¶
func (e *EventHandler) Handle(action string, h func(context.Context, *types.WorkloadEventMessage))
Handle hand a event
func (*EventHandler) Watch ¶
func (e *EventHandler) Watch(ctx context.Context, c <-chan *types.WorkloadEventMessage)
Watch watch change
Click to show internal directories.
Click to hide internal directories.