Documentation ¶
Index ¶
- func ScannerWithAPIVersions(values ...string) options.ScannerOption
- func ScannerWithFileValues(values ...string) options.ScannerOption
- func ScannerWithStringValues(values ...string) options.ScannerOption
- func ScannerWithValues(values ...string) options.ScannerOption
- func ScannerWithValuesFile(paths ...string) options.ScannerOption
- type ConfigurableHelmScanner
- type Scanner
- func (s *Scanner) AddParserOptions(options ...options.ParserOption)
- func (s *Scanner) Name() string
- func (s *Scanner) ScanFS(ctx context.Context, target fs.FS, path string) (scan.Results, error)
- func (s *Scanner) SetDataDirs(dirs ...string)
- func (s *Scanner) SetDataFilesystem(_ fs.FS)
- func (s *Scanner) SetDebugWriter(writer io.Writer)
- func (s *Scanner) SetFrameworks(frameworks []framework.Framework)
- func (s *Scanner) SetPerResultTracingEnabled(_ bool)
- func (s *Scanner) SetPolicyDirs(dirs ...string)
- func (s *Scanner) SetPolicyFilesystem(policyFS fs.FS)
- func (s *Scanner) SetPolicyNamespaces(namespaces ...string)
- func (s *Scanner) SetPolicyReaders(readers []io.Reader)
- func (s *Scanner) SetRegoErrorLimit(_ int)
- func (s *Scanner) SetRegoOnly(bool)
- func (s *Scanner) SetSkipRequiredCheck(skip bool)
- func (s *Scanner) SetSpec(spec string)
- func (s *Scanner) SetTraceWriter(_ io.Writer)
- func (s *Scanner) SetUseEmbeddedLibraries(b bool)
- func (s *Scanner) SetUseEmbeddedPolicies(b bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ScannerWithAPIVersions ¶ added in v0.0.2
func ScannerWithAPIVersions(values ...string) options.ScannerOption
func ScannerWithFileValues ¶ added in v0.0.2
func ScannerWithFileValues(values ...string) options.ScannerOption
func ScannerWithStringValues ¶ added in v0.0.2
func ScannerWithStringValues(values ...string) options.ScannerOption
func ScannerWithValues ¶ added in v0.0.2
func ScannerWithValues(values ...string) options.ScannerOption
func ScannerWithValuesFile ¶ added in v0.0.2
func ScannerWithValuesFile(paths ...string) options.ScannerOption
Types ¶
type ConfigurableHelmScanner ¶ added in v0.0.2
type ConfigurableHelmScanner interface { options.ConfigurableScanner AddParserOptions(options ...options.ParserOption) }
type Scanner ¶
type Scanner struct {
// contains filtered or unexported fields
}
func (*Scanner) AddParserOptions ¶ added in v0.0.2
func (s *Scanner) AddParserOptions(options ...options.ParserOption)
func (*Scanner) SetDataDirs ¶
func (*Scanner) SetDataFilesystem ¶ added in v0.0.2
func (*Scanner) SetDebugWriter ¶
func (*Scanner) SetFrameworks ¶ added in v0.0.2
func (*Scanner) SetPerResultTracingEnabled ¶
func (*Scanner) SetPolicyDirs ¶
func (*Scanner) SetPolicyFilesystem ¶
func (*Scanner) SetPolicyNamespaces ¶
func (*Scanner) SetPolicyReaders ¶
func (*Scanner) SetRegoErrorLimit ¶ added in v0.0.2
func (*Scanner) SetRegoOnly ¶ added in v0.0.2
func (*Scanner) SetSkipRequiredCheck ¶
func (*Scanner) SetTraceWriter ¶
func (*Scanner) SetUseEmbeddedLibraries ¶ added in v0.0.2
func (*Scanner) SetUseEmbeddedPolicies ¶
Click to show internal directories.
Click to hide internal directories.