engine

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 21 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
	BsiV2 bool
	Oct   bool
	Fsct  bool

	Color     bool
	Signature string
	PublicKey string
	Blob      string
}

Jump to

Keyboard shortcuts

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