Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterLicenseScanner ¶
func RegisterLicenseScanner(opt ScannerOption) error
Types ¶
type LicenseAnalyzer ¶
type LicenseAnalyzer struct {
// contains filtered or unexported fields
}
LicenseAnalyzer is an analyzer for licenses
func (LicenseAnalyzer) Analyze ¶
func (a LicenseAnalyzer) Analyze(_ context.Context, input analyzer.AnalysisInput) (*analyzer.AnalysisResult, error)
func (LicenseAnalyzer) Required ¶
func (a LicenseAnalyzer) Required(filePath string, _ os.FileInfo) bool
func (LicenseAnalyzer) Type ¶
func (a LicenseAnalyzer) Type() analyzer.Type
func (LicenseAnalyzer) Version ¶
func (a LicenseAnalyzer) Version() int
type ScannerOption ¶
type ScannerOption struct {
ConfigPath string
}
Click to show internal directories.
Click to hide internal directories.