trireme-lib: go.aporeto.io/trireme-lib/monitor/processor Index | Files | Directories

package processor

import "go.aporeto.io/trireme-lib/monitor/processor"

Index

Package Files

interfaces.go

type Processor Uses

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.

Directories

PathSynopsis
mockprocessorPackage mockprocessor is a generated GoMock package.

Package processor imports 2 packages (graph) and is imported by 2 packages. Updated 2018-08-06. Refresh now. Tools for package owners.