Documentation ¶
Index ¶
- func IsMavenScope(str string) bool
- func Name() string
- func PickArchiveFilesToUniqueTempFile(archivePath, dir string) (map[string]string, error)
- func PkgType() model.PkgType
- type AndroidBinaryParser
- type ArchiveParser
- type Collector
- type DependencyTreeParser
- type GradleDependencyTreeParser
- type GradleFileParser
- type GradleLockParser
- type POMXMLParser
- type Plugin
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AndroidBinaryParser ¶
type AndroidBinaryParser struct{}
AndroidBinaryParser is a parser for apk file.
func NewAndroidBinaryParser ¶
func NewAndroidBinaryParser() *AndroidBinaryParser
NewAndroidBinaryParser returns a new CartFileParser
func (*AndroidBinaryParser) Matcher ¶
func (p *AndroidBinaryParser) Matcher() collector.FileMatcher
type ArchiveParser ¶
type ArchiveParser struct {
Embedded bool
}
ArchiveParser is a parser for maven archive files
func NewArchiveParser ¶
func NewArchiveParser() *ArchiveParser
NewArchiveParser returns a new ArchiveParser
func (*ArchiveParser) Matcher ¶
func (m *ArchiveParser) Matcher() collector.FileMatcher
type Collector ¶
type Collector struct {
collector.BaseCollector
}
func NewCollector ¶
func NewCollector() *Collector
type DependencyTreeParser ¶
type DependencyTreeParser struct{}
DependencyTreeParser is a parser for output of executing 'mvn dependency:tree' command. see: https://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
func NewDependencyTreeParser ¶
func NewDependencyTreeParser() *DependencyTreeParser
NewDependencyTreeParser returns a new DependencyTreeParser
func (*DependencyTreeParser) Matcher ¶
func (m *DependencyTreeParser) Matcher() collector.FileMatcher
func (*DependencyTreeParser) Parse ¶
func (m *DependencyTreeParser) Parse(filePath string) ([]model.Package, error)
func (*DependencyTreeParser) Type ¶
func (m *DependencyTreeParser) Type() model.PkgType
type GradleDependencyTreeParser ¶
type GradleDependencyTreeParser struct{}
GradleDependencyTreeParser is a parser for output of executing 'gradlew dependencies' command. see: https://docs.gradle.org/current/userguide/command_line_interface.html#listing_project_dependencies
func NewGradleDependencyTreeParser ¶
func NewGradleDependencyTreeParser() *GradleDependencyTreeParser
NewGradleDependencyTreeParser returns a new GradleDependencyTreeParser
func (*GradleDependencyTreeParser) Matcher ¶
func (m *GradleDependencyTreeParser) Matcher() collector.FileMatcher
func (*GradleDependencyTreeParser) Parse ¶
func (m *GradleDependencyTreeParser) Parse(filePath string) ([]model.Package, error)
func (*GradleDependencyTreeParser) Type ¶
func (m *GradleDependencyTreeParser) Type() model.PkgType
type GradleFileParser ¶
type GradleFileParser struct{}
GradleFileParser is a parser for build.gradle see: https://docs.gradle.org/current/userguide/working_with_files.html
func NewJavaGradleFileParser ¶
func NewJavaGradleFileParser() *GradleFileParser
NewJavaGradleFileParser returns a new GradleFileParser
func (*GradleFileParser) Matcher ¶
func (m *GradleFileParser) Matcher() collector.FileMatcher
func (*GradleFileParser) Parse ¶
func (m *GradleFileParser) Parse(filePath string) ([]model.Package, error)
func (*GradleFileParser) Type ¶
func (m *GradleFileParser) Type() model.PkgType
type GradleLockParser ¶
type GradleLockParser struct{}
GradleLockParser is a parser for gradle.lockfile see: https://docs.gradle.org/current/userguide/dependency_locking.html
func NewJavaGradleLockParser ¶
func NewJavaGradleLockParser() *GradleLockParser
NewJavaGradleLockParser returns a new JavaGradleLockParser
func (*GradleLockParser) Language ¶
func (m *GradleLockParser) Language() model.Language
func (*GradleLockParser) Parse ¶
func (m *GradleLockParser) Parse(filePath string) ([]model.Package, []model.Relationship, error)
func (*GradleLockParser) Pattern ¶
func (m *GradleLockParser) Pattern() string
func (*GradleLockParser) Type ¶
func (m *GradleLockParser) Type() model.PkgType
type POMXMLParser ¶
type POMXMLParser struct{}
POMXMLParser is a parser for maven pom.xml see: https://maven.apache.org/guides/introduction/introduction-to-the-pom.html
func NewPOMXMLParser ¶
func NewPOMXMLParser() *POMXMLParser
NewPOMXMLParser returns a new MavenPOMParser
func (*POMXMLParser) Matcher ¶
func (m *POMXMLParser) Matcher() collector.FileMatcher