Documentation ¶
Overview ¶
Package analyzers defines analyzers for various package types.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownPackageType = errors.New("could not find analyzer for package type") ErrAnalyzerNotImplemented = errors.New("analyzer is not implemented for package type") )
Errors that occur when loading analyzers.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer interface { Discover(dir string) ([]module.Module, error) // Finds modules in a given directory. // These methods all make best-effort attempts. Clean(m module.Module) error // Cleans build artifacts. Build(m module.Module) error // Builds the module. IsBuilt(m module.Module) (bool, error) // Checks whether a module has been built. Analyze(m module.Module) (module.Module, error) // Runs an analysis of a module. }
An Analyzer is an implementation of functionality for different build systems.
Directories ¶
Path | Synopsis |
---|---|
Package bower implements analyzers for the Bower package manager.
|
Package bower implements analyzers for the Bower package manager. |
Package cocoapods implements Cocoapods analysis.
|
Package cocoapods implements Cocoapods analysis. |
Package golang implements the analyzer for Go.
|
Package golang implements the analyzer for Go. |
resolver
Package resolver provides Go resolvers.
|
Package resolver provides Go resolvers. |
Package gradle implements analyzers for Gradle.
|
Package gradle implements analyzers for Gradle. |
Package maven implements Maven analysis.
|
Package maven implements Maven analysis. |
Package nodejs provides analyzers for Node.js projects.
|
Package nodejs provides analyzers for Node.js projects. |
Package nuget implements NuGet analysis.
|
Package nuget implements NuGet analysis. |
Package php implements analyzers for PHP.
|
Package php implements analyzers for PHP. |
Package python provides analysers for Python projects.
|
Package python provides analysers for Python projects. |
Package ruby provides analysers for Ruby projects.
|
Package ruby provides analysers for Ruby projects. |
Package scala implements Scala analysis.
|
Package scala implements Scala analysis. |
Click to show internal directories.
Click to hide internal directories.