reporting

package
v0.0.0-...-ebaa9cd Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SlackWebhook for pushing reports to slack
	SlackWebhook = "reporting.slackWebhook"
)

Variables

This section is empty.

Functions

func GenerateReport

func GenerateReport(reporterName string, reportType string) ([]byte, error)

GenerateReport will generate the specified report and return it.

func ListReportTypes

func ListReportTypes(reportName string) ([]string, error)

ListReportTypes will list all possible report types for a report.

func ListReporters

func ListReporters() []string

ListReporters will list all possible reporters.

func SendReportToSlack

func SendReportToSlack(title string, report []byte) error

SendReportToSlack will send the weather report to slack

func WriteReport

func WriteReport(report []byte, output string) error

WriteReport will write the raw report to a given output.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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