Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrSeverityThreshold = pkgerrors.CmdError{ ExitCode: 2, Err: errors.New("results did not meet severity threshold"), } )
Functions ¶
Types ¶
type Analyze ¶
type Analyze struct { Logger log.Logger Resolver *resolver.Resolver Getter getter.Interface Analyzer *analyzer.Analyzer SpecFiles []string Specs []string SkipDefault bool BundleRootSubpath string CustomerID string // deprecated ChannelID string Endpoint string // analyze SeverityThreshold string }
func New ¶
func New(v *viper.Viper, logger log.Logger, resolver *resolver.Resolver, getter *getter.Getter, analyzer *analyzer.Analyzer) *Analyze
New gets an instance using viper to pull config
Click to show internal directories.
Click to hide internal directories.