commands

package
v0.0.0-...-d9c38a9 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayAggregatorLogs

func DisplayAggregatorLogs()

DisplayAggregatorLogs function displays selected types of logs, for example consumed messages that were not read etc.

func DisplayAggregatorStatistic

func DisplayAggregatorStatistic()

DisplayAggregatorStatistic function displays statistic about logs taken from aggregator pods

func DisplayPipelineLogs

func DisplayPipelineLogs()

DisplayPipelineLogs function displays selected types of logs gathered from ccx-data-pipeline logs

func DisplayPipelineStatistic

func DisplayPipelineStatistic()

DisplayPipelineStatistic function displays statistic gathered from ccx-data-pipeline logs

func DisplayStatus

func DisplayStatus(loggedIn bool)

DisplayStatus displays current status (login, logs etc.)

func GetAggregatorLogs

func GetAggregatorLogs()

GetAggregatorLogs function retrieves logs from aggregator pods and stores logs in file.

func GetLogs

func GetLogs(pod, storeto string)

GetLogs function retrieves logs from selected pod and stores logs in file.

func GetPipelineLogs

func GetPipelineLogs()

GetPipelineLogs function retrieves logs from ccx-data-pipeline pods and stores logs in file.

func GetPods

func GetPods()

GetPods function retrieves list of pods available for given user

func LoadLogs

func LoadLogs()

LoadLogs function loads aggregator and pipeline logs from files (stored before via oc command)

func NoOpCompleter

func NoOpCompleter(in prompt.Document) []prompt.Suggest

NoOpCompleter implements a no-op completer needed to input random data

func PrintAuthors

func PrintAuthors()

PrintAuthors displays list of authors

func PrintHelp

func PrintHelp()

PrintHelp can be used to display help on (color) terminal.

func PrintLicense

func PrintLicense()

PrintLicense displays license used by this project

func ProceedQuestion

func ProceedQuestion(question string) bool

ProceedQuestion ask user about y/n answer.

func Quit

func Quit()

Quit will exit from the CLI client

func SetColorizer

func SetColorizer(c aurora.Aurora)

SetColorizer set the terminal colorizer

func TryToLogin

func TryToLogin(url, ocLogin string) bool

TryToLogin tries to login to OpenShift via oc command

Types

This section is empty.

Jump to

Keyboard shortcuts

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