Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpMetric ¶
func GetFailedStatus ¶
Types ¶
type Metric ¶
type Metric struct { DomainName string `json:"domain_name"` Metrics map[string]interface{} `json:"metrics,omitempty"` }
func FormPolicyMetrics ¶
func FormPolicyMetrics(policiesStatus []PolicyStatus) []*Metric
type PolicyStatus ¶
type StatusMetric ¶
type StatusMetric struct { Application string `json:"application"` Code int `json:"status_code"` Message string `json:"status_msg"` }
func NewStatusMetric ¶
func NewStatusMetric() *StatusMetric
Click to show internal directories.
Click to hide internal directories.