Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶
type Collector struct {
collector.BaseCollector
}
func NewCollector ¶
func NewCollector() *Collector
type GlideYAMLParser ¶
type GlideYAMLParser struct{}
GlideYAMLParser is a parser for glide.yaml file. see: https://github.com/Masterminds/glide
func NewGlideYAMLParser ¶
func NewGlideYAMLParser() *GlideYAMLParser
NewGlideYAMLParser returns a new GlideYAMLParser
func (*GlideYAMLParser) Matcher ¶
func (p *GlideYAMLParser) Matcher() collector.FileMatcher
type GoBinaryParser ¶
type GoBinaryParser struct{}
GoBinaryParser is a parser for go binary file. see: https://pkg.go.dev/runtime/debug#BuildInfo
func NewGoBinaryParser ¶
func NewGoBinaryParser() GoBinaryParser
func (GoBinaryParser) Matcher ¶
func (GoBinaryParser) Matcher() collector.FileMatcher
type GoModFileParser ¶
type GoModFileParser struct{}
GoModFileParser is a parser for go.mod file. see: https://go.dev/ref/mod#go-mod-file
func NewGoModFileParser ¶
func NewGoModFileParser() *GoModFileParser
NewGoModFileParser returns a new GoModFileParser
func (GoModFileParser) Matcher ¶
func (g GoModFileParser) Matcher() collector.FileMatcher
type GoModGraphParser ¶
type GoModGraphParser struct{}
GoModGraphParser is a parser for output of executing 'go mod graph' command see: https://go.dev/ref/mod#go-mod-graph
func NewGoModGraphParser ¶
func NewGoModGraphParser() *GoModGraphParser
NewGoModGraphParser returns a new GoModGraphParser
func (*GoModGraphParser) Matcher ¶
func (p *GoModGraphParser) Matcher() collector.FileMatcher
type Godeps ¶
type Godeps struct { ImportPath string GoVersion string // Abridged output of 'go version'. GodepVersion string // Abridged output of 'godep version' Packages []string // Arguments to godep save, if any. Deps []struct { ImportPath string Comment string // Description of commit, if present. Rev string // VCS-specific commit ID. } }
type GodepsJSONParser ¶
type GodepsJSONParser struct{}
GodepsJSONParser is a parser for Godeps.json file. see: https://github.com/tools/godep
func NewGodepsJSONParser ¶
func NewGodepsJSONParser() *GodepsJSONParser
NewGodepsJSONParser returns a new GodepsJSONParser
func (*GodepsJSONParser) Matcher ¶
func (p *GodepsJSONParser) Matcher() collector.FileMatcher
type GopkgTOMLParser ¶
type GopkgTOMLParser struct{}
GopkgTOMLParser is a parser for Gopkg.toml file. see: https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
func NewGopkgTOMLParser ¶
func NewGopkgTOMLParser() *GopkgTOMLParser
NewGopkgTOMLParser returns a new GopkgTOMLParser
func (*GopkgTOMLParser) Matcher ¶
func (p *GopkgTOMLParser) Matcher() collector.FileMatcher
type GvtManifestParser ¶
type GvtManifestParser struct{}
GvtManifestParser is a parser for vendor/manifest file of gvt. see: https://github.com/FiloSottile/gvt
func NewGvtManifestParser ¶
func NewGvtManifestParser() *GvtManifestParser
NewGvtManifestParser returns a new GodepsJSONParser
func (*GvtManifestParser) Matcher ¶
func (p *GvtManifestParser) Matcher() collector.FileMatcher