Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detection ¶
type Detection struct { // PluginID is the plugin ID that triggered the detection. PluginID string // DetectionType identifies the type of the detection. DetectionType DetectionType // Title is the title of the panel that triggered the detection. // It is used so the user can identify the panel on the dashboard. Title string }
type DetectionType ¶
type DetectionType string
const ( DetectionTypePanel DetectionType = "panel" DetectionTypeDatasource DetectionType = "datasource" DetectionTypeLegacyPanel DetectionType = "legacyPanel" )
type JSONOutputter ¶
type JSONOutputter struct {
// contains filtered or unexported fields
}
func NewJSONOutputter ¶
func NewJSONOutputter(w io.Writer) JSONOutputter
func (JSONOutputter) Output ¶
func (o JSONOutputter) Output(v []Dashboard) error
type LoggerReadableOutput ¶
type LoggerReadableOutput struct {
// contains filtered or unexported fields
}
func NewLoggerReadableOutput ¶
func NewLoggerReadableOutput(log *logger.LeveledLogger) LoggerReadableOutput
func (LoggerReadableOutput) Output ¶
func (o LoggerReadableOutput) Output(v []Dashboard) error
Click to show internal directories.
Click to hide internal directories.