Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownPatcher = errors.New("unknown pipeline patcher")
Functions ¶
Types ¶
type Config ¶
type Config struct {
Detect func(root string) ([]string, error)
Scanner Scanner
Registry *scip.Registry
Patchers map[string]Patcher
GraphBuilder func([]types.Node, []types.Edge) (*igraph.Graph, error)
Cluster func(*igraph.Graph) (map[string]int, error)
Persist func(*types.Graph, string) error
OutDir string
Observer Observer
}
type Observer ¶
type Observer func(StageEvent)
type StageEvent ¶
type StageEvent struct {
Stage types.BuildStage
Count int
Message string
}
type StageReport ¶
type StageReport struct {
Stage types.BuildStage
Count int
}
Click to show internal directories.
Click to hide internal directories.