Documentation ¶
Index ¶
Constants ¶
View Source
const TypeMissingDependency string = "missing_dependency"
TypeMissingDependency is our type for a missing dependency issue
Variables ¶
View Source
var RegisteredTypes = map[string]reportFunc{}
Functions ¶
func Check ¶
func Check(sa flows.SessionAssets, flow flows.Flow, tpls []flows.ExtractedTemplate, refs []flows.ExtractedReference) []flows.Issue
Check returns all issues in the given flow
func MissingDependencyCheck ¶
func MissingDependencyCheck(sa flows.SessionAssets, flow flows.Flow, tpls []flows.ExtractedTemplate, refs []flows.ExtractedReference, report func(flows.Issue))
MissingDependencyCheck checks for missing dependencies
Types ¶
type MissingDependency ¶
type MissingDependency struct { Dependency assets.TypedReference `json:"dependency"` // contains filtered or unexported fields }
MissingDependency is a missing asset dependency
func (*MissingDependency) ActionUUID ¶
func (p *MissingDependency) ActionUUID() flows.ActionUUID
ActionUUID returns the UUID of the action where issue is found
func (*MissingDependency) Description ¶
func (p *MissingDependency) Description() string
Description returns the description of the issue
func (*MissingDependency) Language ¶ added in v0.73.0
Language returns the translation language if the issue was found in a translation
Click to show internal directories.
Click to hide internal directories.