engine

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

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

func ShareRun

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

Types

type Config

type Config struct {
	Record []Record `yaml:"category" json:"category"`
}

type Params

type Params struct {
	Path string

	Category string
	Features []string

	Json     bool
	Basic    bool
	Detailed bool

	Spdx bool
	Cdx  bool

	Recurse bool

	Debug bool

	ConfigPath string
}

type Record

type Record struct {
	Name     string     `yaml:"name" json:"name"`
	Enabled  bool       `yaml:"enabled" json:"enabled"`
	Criteria []criteria `yaml:"criteria" json:"criteria"`
}

Jump to

Keyboard shortcuts

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