Documentation
¶
Index ¶
- func GetAppsecRuleMetric(url string, itemName string) map[string]int
- func GetParserMetric(url string, itemName string) map[string]map[string]int
- func GetPrometheusMetric(url string) []*prom2json.Family
- func GetScenarioMetric(url string, itemName string) map[string]int
- func InspectItem(item *cwhub.Item, showMetrics bool, output string, prometheusURL string, ...) error
- func ListItems(out io.Writer, wantColor string, itemTypes []string, ...) error
- func New(cfg configGetter) *cliHub
- func SelectItems(hub *cwhub.Hub, itemType string, args []string, installedOnly bool) ([]*cwhub.Item, error)
- func ShowMetrics(prometheusURL string, hubItem *cwhub.Item, wantColor string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParserMetric ¶
GetParserMetric is a complete rip from prom2json
func GetPrometheusMetric ¶
func InspectItem ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.