Documentation ¶
Index ¶
- Constants
- Variables
- func ControlOutput(testName string, options *TestSubmitOptions)
- func GenerateQuotedURL(grafanaEndpoint string, dashboard string, from int64, to int64) string
- func InstallPDFExporter(location string)
- func NewDeleteTestsCmd() *cobra.Command
- func NewGetTestsCmd() *cobra.Command
- func NewInspectTestCmd() *cobra.Command
- func NewReportTestsCmd() *cobra.Command
- func NewSaveTestsCmd() *cobra.Command
- func NewSubmitTestCmd() *cobra.Command
- func PopulateInspectFlags(cmd *cobra.Command, options *InspectOptions)
- func PopulateReportTestFlags(cmd *cobra.Command, options *TestReportOptions)
- func PopulateSaveTestFlags(cmd *cobra.Command, options *TestSaveOptions)
- func PopulateTestDeleteFlags(cmd *cobra.Command, options *TestDeleteOptions)
- func PopulateTestSubmitFlags(cmd *cobra.Command, options *TestSubmitOptions)
- func SavePDF(options *TestReportOptions, dashboardURI string, destination string) error
- func SavePDFs(options *TestReportOptions, dashboardURI, destDir string, ...) error
- type InspectOptions
- type TestDeleteOptions
- type TestReportOptions
- type TestSaveOptions
- type TestSubmitOptions
Constants ¶
View Source
const ( User = "'':''" // Not really needed since we have no authentication in Grafana. SummaryDashboardUID = "summary" )
View Source
const ( TestdataSource = "dataviewer:/testdata" PrometheusSource = "prometheus:/prometheus/data" )
Variables ¶
View Source
var ( // FastPDFExporter is fast on individual panels, but does not render dashboard with many panels. FastPDFExporter string // LongPDFExporter can render dashboards with many panels, but it's a bit slow. LongPDFExporter string )
Functions ¶
func ControlOutput ¶
func ControlOutput(testName string, options *TestSubmitOptions)
func GenerateQuotedURL ¶ added in v1.0.28
func InstallPDFExporter ¶ added in v1.0.28
func InstallPDFExporter(location string)
func NewDeleteTestsCmd ¶
func NewGetTestsCmd ¶
func NewInspectTestCmd ¶
func NewReportTestsCmd ¶ added in v1.0.28
func NewSaveTestsCmd ¶
func NewSubmitTestCmd ¶
func PopulateInspectFlags ¶
func PopulateInspectFlags(cmd *cobra.Command, options *InspectOptions)
func PopulateReportTestFlags ¶ added in v1.0.28
func PopulateReportTestFlags(cmd *cobra.Command, options *TestReportOptions)
func PopulateSaveTestFlags ¶
func PopulateSaveTestFlags(cmd *cobra.Command, options *TestSaveOptions)
func PopulateTestDeleteFlags ¶
func PopulateTestDeleteFlags(cmd *cobra.Command, options *TestDeleteOptions)
func PopulateTestSubmitFlags ¶
func PopulateTestSubmitFlags(cmd *cobra.Command, options *TestSubmitOptions)
Types ¶
type InspectOptions ¶
type TestDeleteOptions ¶
type TestReportOptions ¶ added in v1.0.28
type TestSaveOptions ¶
Click to show internal directories.
Click to hide internal directories.