Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alerts ¶
type Alerts struct {
AlertsByClusterName map[string]EntityAlerts `json:"alerts_by_cluster_name"`
}
func (*Alerts) AddEntityAlerts ¶
func (alerts *Alerts) AddEntityAlerts(entityAlerts EntityAlerts)
type EntityAlert ¶
type EntityAlert struct {
ClusterName string `json:"cluster_name"`
Namespace string `json:"namespace,omitempty"`
Name string `json:"name"`
Kind string `json:"kind"`
Node string `json:"node,omitempty"`
Messages []string `json:"messages,omitempty"`
Events []string `json:"events,omitempty"`
LogsByContainerName map[string]string `json:"logs_by_container_name,omitempty"`
Timestamp time.Time `json:"timestamp"`
}
Click to show internal directories.
Click to hide internal directories.