Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor interface { // Start processes PU start events Start(ctx context.Context, eventInfo *common.EventInfo) error // Event processes PU stop events Stop(ctx context.Context, eventInfo *common.EventInfo) error // Create process a PU create event Create(ctx context.Context, eventInfo *common.EventInfo) error // Event process a PU destroy event Destroy(ctx context.Context, eventInfo *common.EventInfo) error // Event processes a pause event Pause(ctx context.Context, eventInfo *common.EventInfo) error // Resync resyncs all PUs handled by this processor Resync(ctx context.Context, EventInfo *common.EventInfo) error }
Processor is a generic interface that processes monitor events using a normalized event structure.
Click to show internal directories.
Click to hide internal directories.