Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶ added in v0.41.0
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer represents an analyzer for config files, which is embedded into each config analyzer such as Kubernetes.
func NewAnalyzer ¶ added in v0.41.0
func NewAnalyzer(t analyzer.Type, version int, newScanner NewScanner, opts analyzer.AnalyzerOptions) (*Analyzer, error)
func (*Analyzer) PostAnalyze ¶ added in v0.41.0
func (a *Analyzer) PostAnalyze(ctx context.Context, input analyzer.PostAnalysisInput) (*analyzer.AnalysisResult, error)
PostAnalyze performs configuration analysis on the input filesystem and detect misconfigurations.
func (*Analyzer) Required ¶ added in v0.41.0
Required checks if the given file path has one of the required file extensions.
type NewScanner ¶ added in v0.41.0
Click to show internal directories.
Click to hide internal directories.