engine

package
v0.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComplianceRun added in v0.1.0

func ComplianceRun(ctx context.Context, ep *Params) error

func DtrackScore added in v0.0.16

func DtrackScore(ctx context.Context, dtP *DtParams) error

func IsGit added in v0.1.8

func IsGit(in string) bool

func IsURL added in v0.1.8

func IsURL(in string) bool

func ProcessURL added in v0.1.8

func ProcessURL(url string, file afero.File) (afero.File, error)

func Run

func Run(ctx context.Context, ep *Params) error

func ShareRun

func ShareRun(ctx context.Context, ep *Params) error

Types

type DtParams added in v0.0.16

type DtParams struct {
	URL        string
	APIKey     string
	ProjectIDs []uuid.UUID

	JSON     bool
	Basic    bool
	Detailed bool

	TagProjectWithScore bool
}

type Params

type Params struct {
	Path []string

	Categories []string
	Features   []string

	JSON     bool
	Basic    bool
	Detailed bool
	Pdf      bool

	Spdx bool
	Cdx  bool

	Recurse bool

	Debug bool

	ConfigPath string

	Ntia bool
	Bsi  bool
	Oct  bool
	Fsct bool

	Color bool
}

Jump to

Keyboard shortcuts

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