Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct { List `json:",inline" yaml:",inline" mapstructure:",squash"` Quiet bool `json:"quiet" yaml:"quiet" mapstructure:"quiet"` OsiApproved bool `json:"osi-approved" yaml:"osi-approved" mapstructure:"osi-approved"` Rules []Rule `json:"rules" yaml:"rules" mapstructure:"rules"` }
func DefaultCheck ¶
func DefaultCheck() Check
type List ¶
type List struct { Output string `json:"output" yaml:"output" mapstructure:"output"` ShowPackages bool `json:"show-packages" yaml:"show-packages" mapstructure:"show-packages"` NonSPDX bool `json:"non-spdx" yaml:"non-spdx" mapstructure:"non-spdx"` }
func DefaultList ¶
func DefaultList() List
type Rule ¶
type Rule struct { Name string `json:"name" yaml:"name" mapstructure:"name"` Reason string `json:"reason" yaml:"reason" mapstructure:"reason"` Pattern string `json:"pattern" yaml:"pattern" mapstructure:"pattern"` Severity string `json:"severity" yaml:"severity" mapstructure:"severity"` Mode string `json:"mode" yaml:"mode" mapstructure:"mode"` Exceptions []string `json:"exceptions" yaml:"exceptions" mapstructure:"exceptions"` }
Click to show internal directories.
Click to hide internal directories.