Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Outputs = map[string]OutputFactory{}
Functions ¶
func BuildConfigurationOptions ¶
func BuildConfigurationOptions() (map[string]config.Configuration, error)
func GetOutputNames ¶
func GetOutputNames() []string
func Register ¶
func Register(name string, output OutputFactory)
Register can be called from init() on an output in this package It will automatically be added to the Outputs map to be called externally
Types ¶
type Output ¶
type Output interface { Write(id string, bundles map[string]*data.DiagnosticBundle, config config.Configuration) (data.FrameErrors, error) Configuration() config.Configuration Description() string }
func GetOutputByName ¶
type OutputFactory ¶
OutputFactory lets us use a closure to get instances of the output struct
Click to show internal directories.
Click to hide internal directories.