Documentation
¶
Index ¶
- func ScannerWithAllDirectories(all bool) options.ScannerOption
- func ScannerWithConfigsFileSystem(fsys fs.FS) options.ScannerOption
- func ScannerWithDownloadsAllowed(allowed bool) options.ScannerOption
- func ScannerWithSkipCachedModules(b bool) options.ScannerOption
- func ScannerWithSkipDirs(dirs []string) options.ScannerOption
- func ScannerWithSkipDownloaded(skip bool) options.ScannerOption
- func ScannerWithSkipFiles(files []string) options.ScannerOption
- func ScannerWithTFVarsPaths(paths ...string) options.ScannerOption
- func ScannerWithWorkspaceName(name string) options.ScannerOption
- type ConfigurableTerraformScanner
- type Scanner
- func (s *Scanner) AddExecutorOptions(opts ...executor.Option)
- func (s *Scanner) AddParserOptions(opts ...parser.Option)
- func (s *Scanner) Name() string
- func (s *Scanner) ScanFS(ctx context.Context, target fs.FS, dir string) (scan.Results, error)
- func (s *Scanner) SetForceAllDirs(b bool)
- func (s *Scanner) SetFrameworks(frameworks []framework.Framework)
- func (s *Scanner) SetIncludeDeprecatedChecks(b bool)
- func (s *Scanner) SetRegoOnly(regoOnly bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScannerWithAllDirectories ¶
func ScannerWithAllDirectories(all bool) options.ScannerOption
func ScannerWithConfigsFileSystem ¶
func ScannerWithConfigsFileSystem(fsys fs.FS) options.ScannerOption
func ScannerWithDownloadsAllowed ¶
func ScannerWithDownloadsAllowed(allowed bool) options.ScannerOption
func ScannerWithSkipCachedModules ¶
func ScannerWithSkipCachedModules(b bool) options.ScannerOption
func ScannerWithSkipDirs ¶ added in v0.56.0
func ScannerWithSkipDirs(dirs []string) options.ScannerOption
func ScannerWithSkipDownloaded ¶
func ScannerWithSkipDownloaded(skip bool) options.ScannerOption
func ScannerWithSkipFiles ¶ added in v0.56.0
func ScannerWithSkipFiles(files []string) options.ScannerOption
func ScannerWithTFVarsPaths ¶
func ScannerWithTFVarsPaths(paths ...string) options.ScannerOption
func ScannerWithWorkspaceName ¶
func ScannerWithWorkspaceName(name string) options.ScannerOption
Types ¶
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts ...options.ScannerOption) *Scanner
func (*Scanner) AddExecutorOptions ¶
func (*Scanner) AddParserOptions ¶
func (*Scanner) SetForceAllDirs ¶
func (*Scanner) SetFrameworks ¶
func (*Scanner) SetIncludeDeprecatedChecks ¶ added in v0.52.0
func (*Scanner) SetRegoOnly ¶
Click to show internal directories.
Click to hide internal directories.