Versions in this module Expand all Collapse all v0 v0.57.0 May 12, 2026 Changes in this version + func NewCmdRhobs() *cobra.Command + type LogsFormat string + const LogsFormatCsv + const LogsFormatJson + const LogsFormatText + func GetLogsFormatFromString(formatStr string) (LogsFormat, error) + type MetricsFormat string + const MetricsFormatCsv + const MetricsFormatJson + const MetricsFormatTable + func GetMetricsFormatFromString(formatStr string) (MetricsFormat, error) + type RhobsFetchUsage string + const RhobsFetchForLogs + const RhobsFetchForMetrics + type RhobsFetcher struct + RhobsCell string + func CreateRhobsFetcher(clusterKey string, rhobsFetchUse RhobsFetchUsage, hiveOcmUrl string) (*RhobsFetcher, error) + func (q *RhobsFetcher) PrintLogs(lokiExpr string, startTime, endTime time.Time, logsCount int, ...) error + func (q *RhobsFetcher) PrintMetrics(promExpr string, format MetricsFormat, isPrintingClusterResultsOnly bool) error + func (q *RhobsFetcher) StreamLogs(lokiExpr string, startTime time.Time, format LogsFormat, ...) error