Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyDashboard = errors.New("empty dashboard model")
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { DashUID string Layout string Orientation string TimeRange dashboard.TimeRange }
Options contains Report options.
type PDF ¶
type PDF struct {
// contains filtered or unexported fields
}
PDF represents a PDF report.
func New ¶
func New(logger log.Logger, conf config.Config, chromeInstance chrome.Instance, workerPools worker.Pools, client client.Grafana, options *Options) (*PDF, error)
New creates a new PDF struct.
Click to show internal directories.
Click to hide internal directories.