scan

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BadOptsErr      = errors.New("failed to type case IOptions")
	FailPipelineErr = errors.New("")
)

Functions

func MapEnvToOptions

func MapEnvToOptions(o *DebrickedOptions, env env.Env)

func SetWorkingDirectory

func SetWorkingDirectory(d *DebrickedOptions) error

SetWorkingDirectory sets working directory in accordance with the path option

func WriteApiReplyToJsonFile added in v1.8.2

func WriteApiReplyToJsonFile(options DebrickedOptions, result *upload.UploadResult)

Types

type DebrickedOptions

type DebrickedOptions struct {
	Path                        string
	Resolve                     bool
	Fingerprint                 bool
	CallGraph                   bool
	Exclusions                  []string
	Verbose                     bool
	Regenerate                  int
	VersionHint                 bool
	RepositoryName              string
	CommitName                  string
	BranchName                  string
	CommitAuthor                string
	RepositoryUrl               string
	IntegrationName             string
	JsonFilePath                string
	NpmPreferred                bool
	PassOnTimeOut               bool
	CallGraphUploadTimeout      int
	CallGraphGenerateTimeout    int
	MinFingerprintContentLength int
}

type DebrickedScanner

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

func NewDebrickedScanner

func NewDebrickedScanner(
	c *client.IDebClient,
	finder file.IFinder,
	uploader upload.IUploader,
	ciService ci.IService,
	resolver resolution.IResolver,
	fingerprint fingerprint.IFingerprint,
	callgraph callgraph.IGenerator,
) *DebrickedScanner

func (*DebrickedScanner) Scan

func (dScanner *DebrickedScanner) Scan(o IOptions) error

type IOptions

type IOptions interface{}

type IScanner

type IScanner interface {
	Scan(o IOptions) error
}

Jump to

Keyboard shortcuts

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