Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrUnknownMode = errors.New("unknown mode") ErrFailOnIncrease = errors.New("dependency waste increased beyond threshold") ErrBaselineRequired = errors.New("baseline report is required for fail-on-increase") ErrLockfileDrift = errors.New("lockfile drift detected") ErrUncertaintyThresholdExceeded = errors.New("uncertain dynamic import/require usage exceeded threshold") )
Functions ¶
This section is empty.
Types ¶
type AnalyseRequest ¶
type AnalyseRequest struct {
Dependency string
TopN int
SuggestOnly bool
Format report.Format
Language string
CacheEnabled bool
CachePath string
CacheReadOnly bool
RuntimeProfile string
BaselinePath string
BaselineStorePath string
BaselineKey string
BaselineLabel string
SaveBaseline bool
RuntimeTracePath string
RuntimeTestCommand string
IncludePatterns []string
ExcludePatterns []string
ConfigPath string
PolicySources []string
Thresholds thresholds.Values
}
type Request ¶
type Request struct {
Mode Mode
RepoPath string
Analyse AnalyseRequest
TUI TUIRequest
}
func DefaultRequest ¶
func DefaultRequest() Request
Click to show internal directories.
Click to hide internal directories.