Documentation
¶
Index ¶
Constants ¶
View Source
const ( APIStackAnalyses = "/api/v2/stack-analyses" RegisteredStatus = "REGISTERED" )
API Constants
Variables ¶
This section is empty.
Functions ¶
func GetMatcher ¶
func GetMatcher(manifestFile string) (driver.StackAnalysisInterface, error)
GetMatcher returns ecosystem specific matcher
func StackAnalyses ¶
func StackAnalyses(requestParams driver.RequestType, jsonOut bool, verboseOut bool) bool
StackAnalyses is main controller function for analyse command. This function is responsible for all communications between cmd and custom packages.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a control structure.
func NewController ¶
func NewController(m driver.StackAnalysisInterface) *Controller
NewController is a constructor for a Controller
Click to show internal directories.
Click to hide internal directories.