Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AvailableFormats = []format{
jsonFormat,
tableFormat,
cycloneDXFormat,
cycloneDXJSON,
sarifFormat,
templateFormat,
}
AvailableFormats is a list of presenter format options available to users.
View Source
var DeprecatedFormats = []format{
embeddedVEXJSON,
embeddedVEXXML,
}
DeprecatedFormats TODO: remove in v1.0
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.10.0
type Config struct {
// contains filtered or unexported fields
}
Config is the presenter domain's configuration data structure.
type Presenter ¶
Presenter is the main interface other Presenters need to implement
func GetPresenter ¶
func GetPresenter(c Config, pb models.PresenterConfig) Presenter
GetPresenter retrieves a Presenter that matches a CLI option TODO dependency cycle with presenter package to sub formats
Click to show internal directories.
Click to hide internal directories.