Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Threshold *float64 `yaml:"threshold"` Allow []string `yaml:"allow"` Exceptions Exceptions `yaml:"exceptions"` Overrides []Override `yaml:"override"` }
type EvaluatedModule ¶
type EvaluatedModule struct { model.Module Decision Decision NotPermitted []string `json:",omitempty"` UsedBy []string }
func (EvaluatedModule) Allowed ¶
func (r EvaluatedModule) Allowed() bool
func (EvaluatedModule) ExplainDecision ¶
func (r EvaluatedModule) ExplainDecision() string
type Exceptions ¶ added in v0.1.0
type Exceptions struct { LicenseNotPermitted []LicenseNotPermitted `yaml:"licenseNotPermitted"` UnresolvableLicense []UnresolvableLicense `yaml:"unresolvableLicense"` }
type LicenseNotPermitted ¶ added in v0.1.0
type Summary ¶
type Summary struct { Modules []EvaluatedModule Binaries []model.BuildInfo }
type UnresolvableLicense ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.