Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶ added in v0.13.0
A Filter is a list of mappings that should be used for a Task.
func (Filter) Match ¶ added in v0.13.0
func (f Filter) Match(element forensicstore.JSONElement) bool
Match tests if an element matches the filter.
type Task ¶ added in v0.13.0
type Task struct { Command string `yaml:"command"` Arguments map[string]interface{} `yaml:"arguments"` Requires []string `yaml:"requires"` }
A Task is a single element in a workflow yml file.
type Workflow ¶
type Workflow struct { Tasks map[string]Task `yaml:"tasks"` // contains filtered or unexported fields }
Workflow can be used to parse workflow yml files.
func (*Workflow) SetupGraph ¶ added in v0.13.0
func (workflow *Workflow) SetupGraph()
SetupGraph creates a direct acyclic graph of tasks.
Click to show internal directories.
Click to hide internal directories.