Documentation
¶
Index ¶
- type Analyzer
- func (a *Analyzer) ActionRuleCount() int
- func (a *Analyzer) AdjustTotal(delta int)
- func (a *Analyzer) AnalyzeAction(f *ast.File) []*diagnostic.Error
- func (a *Analyzer) AnalyzeWorkflow(f *ast.File) []*diagnostic.Error
- func (a *Analyzer) InitProgress(total int)
- func (a *Analyzer) SetProgressCallback(cb ProgressCallback)
- func (a *Analyzer) WorkflowRuleCount() int
- type ProgressCallback
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
func (*Analyzer) ActionRuleCount ¶ added in v0.2.0
ActionRuleCount returns the number of action rules.
func (*Analyzer) AdjustTotal ¶ added in v0.2.0
AdjustTotal adjusts the total expected rule executions by delta.
func (*Analyzer) AnalyzeAction ¶
func (a *Analyzer) AnalyzeAction(f *ast.File) []*diagnostic.Error
func (*Analyzer) AnalyzeWorkflow ¶
func (a *Analyzer) AnalyzeWorkflow(f *ast.File) []*diagnostic.Error
func (*Analyzer) InitProgress ¶ added in v0.2.0
InitProgress initializes the progress counters.
func (*Analyzer) SetProgressCallback ¶ added in v0.2.0
func (a *Analyzer) SetProgressCallback(cb ProgressCallback)
SetProgressCallback sets the callback invoked on each progress update. When nil, no progress reporting occurs.
func (*Analyzer) WorkflowRuleCount ¶ added in v0.2.0
WorkflowRuleCount returns the number of workflow rules.
type ProgressCallback ¶ added in v0.2.0
ProgressCallback is called after each progress update.
Click to show internal directories.
Click to hide internal directories.