Further scaffolding
This commit is contained in:
14
core/data/processor.go
Normal file
14
core/data/processor.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package data
|
||||
|
||||
import "context"
|
||||
|
||||
type Processor interface {
|
||||
Name() string
|
||||
Configure(cfg map[string]any) error
|
||||
Run(ctx context.Context, actions ProcessorActions) error
|
||||
}
|
||||
|
||||
type ProcessorActions interface {
|
||||
IngressActions
|
||||
EgresActions
|
||||
}
|
||||
Reference in New Issue
Block a user