options

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeOptions

type RuntimeOptions struct {
	CurrentPath    string
	SbomSpecType   detect.SBOMSpecFormat
	SbomFileFormat detect.FileFormat
	File           io.ReadSeeker
}

func NewRuntimeOptions

func NewRuntimeOptions() *RuntimeOptions

type SearchOptions

type SearchOptions interface {
	IsRegularExp() bool
	Context() context.Context
	RootPath() string
	DoIgnoreCase() bool
	DoInverseMatch() bool
	DoDirectDeps() bool
	DoLicense() bool
	BeQuiet() bool
	DoFilename() bool
	DoJson() bool
	DoPrintErrors() bool
	DoCount() bool
	DoStats() bool
	DoRecurse() bool
	SpdxOnly() bool
	CdxOnly() bool
	CpuToUse() int
	SearchName() string
	SearchCPE() string
	SearchPURL() string
	SearchHash() string
}

Jump to

Keyboard shortcuts

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