snapshot

package
v0.57.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPlanSnapshot

func IsPlanSnapshot(r io.Reader) bool

Types

type DynamicValue added in v0.55.0

type DynamicValue []byte

func (DynamicValue) Decode added in v0.55.0

func (v DynamicValue) Decode(ty cty.Type) (cty.Value, error)

type Plan added in v0.55.0

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

type Scanner

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

func New

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

func (*Scanner) Name

func (s *Scanner) Name() string

func (*Scanner) Scan

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

func (*Scanner) ScanFS

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

func (*Scanner) ScanFile

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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