scan

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 16 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

Types

type DebrickedOptions

type DebrickedOptions struct {
	Path                     string
	Resolve                  bool
	Fingerprint              bool
	CallGraph                bool
	Exclusions               []string
	RepositoryName           string
	CommitName               string
	BranchName               string
	CommitAuthor             string
	RepositoryUrl            string
	IntegrationName          string
	PassOnTimeOut            bool
	CallGraphUploadTimeout   int
	CallGraphGenerateTimeout 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