Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventAlert ¶
type EventAlert interface{}
type EventHandler ¶
type NodeEventAlert ¶
type NodeEventAlert struct { Kind string `json:"kind"` Name string `json:"name"` Namespace string `json:"namespace"` Reason string `json:"reason"` LastTimestamp string `json:"last_timestamp"` Message string `json:"message"` Environment map[string]string `json:"environment"` }
func (NodeEventAlert) String ¶
func (nea NodeEventAlert) String() string
type PodEventAlert ¶
type PodEventAlert struct { Kind string `json:"kind"` Name string `json:"name"` Namespace string `json:"namespace"` Host string `json:"host"` Reason string `json:"reason"` LastTimestamp string `json:"last_timestamp"` Message string `json:"message"` Environment map[string]string `json:"environment"` }
func (PodEventAlert) String ¶
func (pea PodEventAlert) String() string
type Sink ¶
type Sink interface { // Sink sends alter to specific destination. Sink(kind string, eventAlert EventAlert) // Name returns the sink name. Name() string }
Click to show internal directories.
Click to hide internal directories.