cli

package
v0.0.0-...-7731ac6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Reset  = "\033[0m"
	Red    = "\033[31m"
	Green  = "\033[32m"
	Yellow = "\033[33m"
	Blue   = "\033[34m"
	Purple = "\033[35m"
	Cyan   = "\033[36m"
	Gray   = "\033[37m"
	White  = "\033[97m"

	ClearLineCode = "\r\033[2K\r"
)
View Source
const (
	CheckResultTagPass    = Green + "PASS" + Reset
	CheckResultTagFail    = Red + "FAIL" + Reset
	CheckResultTagSkip    = Yellow + "SKIP" + Reset
	CheckResultTagRunning = Cyan + "RUNNING" + Reset
	CheckResultTagAborted = Red + "ABORTED" + Reset
	CheckResultTagError   = Red + "ERROR" + Reset
)

Variables

View Source
var CliCheckLogSniffer = &cliCheckLogSniffer{}

Functions

func PrintBanner

func PrintBanner()

func PrintCheckAborted

func PrintCheckAborted(checkName, reason string)

func PrintCheckErrored

func PrintCheckErrored(checkName string)

func PrintCheckFailed

func PrintCheckFailed(checkName string)

func PrintCheckPassed

func PrintCheckPassed(checkName string)

func PrintCheckRunning

func PrintCheckRunning(checkName string)

func PrintCheckSkipped

func PrintCheckSkipped(checkName, reason string)

func PrintChecksList

func PrintChecksList(checkIDs []string)

func PrintResultsTable

func PrintResultsTable(results map[string][]int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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