stackanalyses

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIStackAnalyses = "/api/v2/stack-analyses"
	RegisteredStatus = "REGISTERED"
)

API Constants

Variables

This section is empty.

Functions

func GetManifestName

func GetManifestName(manifestFile string) string

GetManifestName extracts manifest name from user input path

func GetMatcher

func GetMatcher(manifestFile string) (driver.StackAnalysisInterface, error)

GetMatcher returns ecosystem specific matcher

func StackAnalyses

func StackAnalyses(ctx context.Context, requestParams driver.RequestType, jsonOut bool, verboseOut bool) (bool, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL