helm

package
v0.91.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScannerWithAPIVersions added in v0.91.0

func ScannerWithAPIVersions(values ...string) options.ScannerOption

func ScannerWithFileValues added in v0.70.0

func ScannerWithFileValues(values ...string) options.ScannerOption

func ScannerWithStringValues added in v0.70.0

func ScannerWithStringValues(values ...string) options.ScannerOption

func ScannerWithValues added in v0.70.0

func ScannerWithValues(values ...string) options.ScannerOption

func ScannerWithValuesFile added in v0.70.0

func ScannerWithValuesFile(paths ...string) options.ScannerOption

Types

type ConfigurableHelmScanner added in v0.70.0

type ConfigurableHelmScanner interface {
	options.ConfigurableScanner
	AddParserOptions(options ...options.ParserOption)
}

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func New

func New(options ...options.ScannerOption) *Scanner

New creates a new Scanner

func (*Scanner) AddParserOptions added in v0.70.0

func (s *Scanner) AddParserOptions(options ...options.ParserOption)

func (*Scanner) Name

func (s *Scanner) Name() string

func (*Scanner) ScanFS

func (s *Scanner) ScanFS(ctx context.Context, target fs.FS, path string) (scan.Results, error)

func (*Scanner) SetDataDirs

func (s *Scanner) SetDataDirs(dirs ...string)

func (*Scanner) SetDataFilesystem added in v0.82.10

func (s *Scanner) SetDataFilesystem(_ fs.FS)

func (*Scanner) SetDebugWriter

func (s *Scanner) SetDebugWriter(writer io.Writer)

func (*Scanner) SetFrameworks added in v0.69.0

func (s *Scanner) SetFrameworks(frameworks []framework.Framework)

func (*Scanner) SetPerResultTracingEnabled

func (s *Scanner) SetPerResultTracingEnabled(_ bool)

func (*Scanner) SetPolicyDirs

func (s *Scanner) SetPolicyDirs(dirs ...string)

func (*Scanner) SetPolicyFilesystem

func (s *Scanner) SetPolicyFilesystem(policyFS fs.FS)

func (*Scanner) SetPolicyNamespaces

func (s *Scanner) SetPolicyNamespaces(namespaces ...string)

func (*Scanner) SetPolicyReaders

func (s *Scanner) SetPolicyReaders(readers []io.Reader)

func (*Scanner) SetRegoErrorLimit added in v0.89.0

func (s *Scanner) SetRegoErrorLimit(_ int)

func (*Scanner) SetRegoOnly added in v0.80.1

func (s *Scanner) SetRegoOnly(bool)

func (*Scanner) SetSkipRequiredCheck

func (s *Scanner) SetSkipRequiredCheck(skip bool)

func (*Scanner) SetSpec added in v0.82.5

func (s *Scanner) SetSpec(spec string)

func (*Scanner) SetTraceWriter

func (s *Scanner) SetTraceWriter(_ io.Writer)

func (*Scanner) SetUseEmbeddedLibraries added in v0.87.0

func (s *Scanner) SetUseEmbeddedLibraries(b bool)

func (*Scanner) SetUseEmbeddedPolicies added in v0.54.0

func (s *Scanner) SetUseEmbeddedPolicies(b bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL