scan

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: MIT Imports: 13 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
	Exclusions      []string
	RepositoryName  string
	CommitName      string
	BranchName      string
	CommitAuthor    string
	RepositoryUrl   string
	IntegrationName string
	PassOnTimeOut   bool
}

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,
) *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