Documentation
¶
Overview ¶
Package plancheck owns semantic validation and advisory results for prepared plans.
Index ¶
- Constants
- func Artifact(plans []plan.Plan, corpus adr.Corpus) (checkresult.Result, error)
- func Diagnostics(plansErr error) (checkresult.Result, error)
- func ResolveSelectedDecisions(p plan.Plan, corpus adr.Corpus, phase plan.Phase, task plan.Task) ([]plan.ResolvedDecision, []plan.ResolvedDecision, error)
- func ScopeInformation(plans []plan.Plan, scopes []config.ScopeSpec) ([]checkresult.Information, error)
- func Select(p plan.Plan, selector string) (plan.Phase, plan.Task, error)
- func Validity(plans []plan.Plan, corpus adr.Corpus, scopes []config.ScopeSpec, enabled bool) (checkresult.Result, error)
Constants ¶
View Source
const ( // PropertyAuthority is the protected property for plan validity findings. PropertyAuthority checkresult.Property = "authority" // PropertyDetail is the protected property for plan detail warnings. PropertyDetail checkresult.Property = "plan-detail-quality" )
Variables ¶
This section is empty.
Functions ¶
func Diagnostics ¶
func Diagnostics(plansErr error) (checkresult.Result, error)
Diagnostics adapts one prepared parser outcome without reopening plan sources.
func ResolveSelectedDecisions ¶
func ResolveSelectedDecisions(p plan.Plan, corpus adr.Corpus, phase plan.Phase, task plan.Task) ([]plan.ResolvedDecision, []plan.ResolvedDecision, error)
ResolveSelectedDecisions resolves and partitions the selected Applying and Context Decisions.
func ScopeInformation ¶
func ScopeInformation(plans []plan.Plan, scopes []config.ScopeSpec) ([]checkresult.Information, error)
ScopeInformation returns unknown-scope planned-subject notes in authored order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.