terraformplan

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

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

func New

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

func (*Scanner) Name added in v0.0.2

func (s *Scanner) Name() string

func (*Scanner) Scan

func (s *Scanner) Scan(reader io.Reader) (scan.Results, error)

func (*Scanner) ScanFS added in v0.0.2

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

func (*Scanner) ScanFile

func (s *Scanner) ScanFile(filepath string, fs fs.FS) (scan.Results, error)

func (*Scanner) SetDataDirs added in v0.0.2

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

func (*Scanner) SetDataFilesystem added in v0.0.2

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

func (*Scanner) SetDebugWriter

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

func (*Scanner) SetEmbeddedLibrariesEnabled added in v0.0.2

func (s *Scanner) SetEmbeddedLibrariesEnabled(enabled bool)

func (*Scanner) SetFrameworks added in v0.0.2

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

func (*Scanner) SetPerResultTracingEnabled added in v0.0.2

func (s *Scanner) SetPerResultTracingEnabled(_ bool)

func (*Scanner) SetPolicyDirs added in v0.0.2

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

func (*Scanner) SetPolicyFilesystem added in v0.0.2

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

func (*Scanner) SetPolicyNamespaces added in v0.0.2

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

func (*Scanner) SetPolicyReaders added in v0.0.2

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

func (*Scanner) SetRegoErrorLimit added in v0.0.2

func (s *Scanner) SetRegoErrorLimit(_ int)

func (*Scanner) SetRegoOnly added in v0.0.2

func (s *Scanner) SetRegoOnly(regoOnly bool)

func (*Scanner) SetSkipRequiredCheck added in v0.0.2

func (s *Scanner) SetSkipRequiredCheck(skip bool)

func (*Scanner) SetSpec added in v0.0.2

func (s *Scanner) SetSpec(spec string)

func (*Scanner) SetTraceWriter added in v0.0.2

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

func (*Scanner) SetUseEmbeddedLibraries added in v0.0.2

func (s *Scanner) SetUseEmbeddedLibraries(b bool)

func (*Scanner) SetUseEmbeddedPolicies added in v0.0.2

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