expression evaluate
This commit is contained in:
@@ -14,6 +14,8 @@ type NodeProcessor interface {
|
||||
SetLogger(*slog.Logger)
|
||||
|
||||
Process(ctx context.Context) error
|
||||
|
||||
GetOutputs() map[string]any
|
||||
}
|
||||
|
||||
type nodeProcessor struct {
|
||||
@@ -32,6 +34,20 @@ func (n *nodeProcessor) SetLogger(logger *slog.Logger) {
|
||||
n.logger = logger
|
||||
}
|
||||
|
||||
type nodeOutputer struct {
|
||||
outputs map[string]any
|
||||
}
|
||||
|
||||
func newNodeOutputer() *nodeOutputer {
|
||||
return &nodeOutputer{
|
||||
outputs: make(map[string]any),
|
||||
}
|
||||
}
|
||||
|
||||
func (n *nodeOutputer) GetOutputs() map[string]any {
|
||||
return n.outputs
|
||||
}
|
||||
|
||||
type certificateRepository interface {
|
||||
GetByWorkflowNodeId(ctx context.Context, workflowNodeId string) (*domain.Certificate, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user