Documentation ¶
Index ¶
- func DisplayAggregatorLogs()
- func DisplayAggregatorStatistic()
- func DisplayPipelineLogs()
- func DisplayPipelineStatistic()
- func DisplayStatus(loggedIn bool)
- func GetAggregatorLogs()
- func GetLogs(pod, storeto string)
- func GetPipelineLogs()
- func GetPods()
- func LoadLogs()
- func NoOpCompleter(in prompt.Document) []prompt.Suggest
- func PrintAuthors()
- func PrintHelp()
- func PrintLicense()
- func ProceedQuestion(question string) bool
- func Quit()
- func SetColorizer(c aurora.Aurora)
- func TryToLogin(url, ocLogin string) bool
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 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 ProceedQuestion ¶
ProceedQuestion ask user about y/n answer.
func TryToLogin ¶
TryToLogin tries to login to OpenShift via oc command
Types ¶
This section is empty.