report

package
v2.3.3+incompatible Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Report

type Report interface {
	Generate() (pdf io.ReadCloser, err error)
	Title() string
	Clean()
}

Report groups functions related to genrating the report. After reading and closing the pdf returned by Generate(), call Clean() to delete the pdf file as well the temporary build files

func New

func New(g grafana.Client, dashName string, time grafana.TimeRange, texTemplate string, gridLayout bool) Report

New creates a new Report. texTemplate is the content of a LaTex template file. If empty, a default tex template is used.

Jump to

Keyboard shortcuts

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