reports

package
v0.1.3-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package reports provides functions for generating one-line summary (Service Output) and detailed overview (Long Service Output) "reports" of plugin service check results.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncPlansOverviewReport

func SyncPlansOverviewReport(orgs rsat.Organizations, _ *config.Config, _ zerolog.Logger) string

SyncPlansOverviewReport provides a listing of Red Hat Satellite organizations and the overall (high-level) state of sync plans in each organization. This report is intentionally light on specifics.

func SyncPlansPrettyTableReport

func SyncPlansPrettyTableReport(orgs rsat.Organizations, cfg *config.Config, _ zerolog.Logger) string

SyncPlansPrettyTableReport provides a report of Red Hat Satellite organizations in "pretty" table format. This table format uses more visual "polish" while attempting to remain compatible with modern terminals.

Each sync plan is listed along with relevant status information.

func SyncPlansSimpleTableReport

func SyncPlansSimpleTableReport(orgs rsat.Organizations, cfg *config.Config, logger zerolog.Logger) string

SyncPlansSimpleTableReport provides a report of Red Hat Satellite organizations in "simple" table format. This table format is intentionally simple in an effort for the broadest compatible output.

Each sync plan is listed along with relevant status information.

func SyncPlansVerboseReport

func SyncPlansVerboseReport(orgs rsat.Organizations, cfg *config.Config, _ zerolog.Logger) string

SyncPlansVerboseReport provides a verbose listing of Red Hat Satellite organizations and sync plans. This is useful for providing a detailed (while still manageable) report of the status of all sync plans in each organization.

NOTE: If no problems are detected the output

Types

This section is empty.

Jump to

Keyboard shortcuts

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