package
0.0.0-20210323204120-0d7ecfb5f9ca
Repository: https://github.com/kube-reporting/metering-operator.git
Documentation: pkg.go.dev

# Functions

GetReportCondition returns the condition with the provided type.
NewReportCondition creates a new report condition.
RemoveReportCondition removes the report condition with the provided type.
SetReportCondition updates the report to include the provided condition.

# Constants

GenerateReportFailedReason is set when a Report is not running because it previously failed when generating results previously.
InvalidReportReason is added to a Report when the Report is invalid or it's ReportQuery is invalid.
ReportFinishedReason is set in the report has generated report results for all periods between reportingStart and reportingEnd, according to it's configured schedule.
ReportingPeriodUnmetDependenciesReason is set when a Report cannot run because it's dependencies (ReportQueries dependencies on ReportDataSources, ReportQueries, and other Reports) do not have data available for the reporting period currently being processed.
ReportingPeriodWaitingReason is set when a report is not running because it is waiting for the next period of time in it's schedule to elapse.
RunImmediatelyReason is set when the report is running because it's spec.runImmediately is true.
ScheduledReason is set when the report is running due to it's schedule and the current time is beyond the next reporting period end.