Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerEvent ¶
type EventCriticality ¶
type EventCriticality string
type EventResourceType ¶
type EventResourceType string
const (
PodResource EventResourceType = "Pod"
)
func (*EventResourceType) String ¶
func (e *EventResourceType) String() string
type Incident ¶
type Incident struct { ID string `json:"id" form:"required"` ReleaseName string `json:"release_name" form:"required"` ChartName string `json:"chart_name"` CreatedAt int64 `json:"created_at" form:"required"` UpdatedAt int64 `json:"updated_at" form:"required"` LatestState string `json:"latest_state" form:"required"` LatestReason string `json:"latest_reason" form:"required"` LatestMessage string `json:"latest_message" form:"required"` }
type PodEvent ¶
type PodEvent struct { EventID string `json:"event_id"` ChartName string `json:"release_chart_name"` PodName string `json:"pod_name"` Namespace string `json:"namespace"` Cluster string `json:"cluster"` OwnerName string `json:"release_name"` OwnerType string `json:"release_type"` Timestamp int64 `json:"timestamp"` Phase string `json:"pod_phase"` Status string `json:"pod_status"` Reason string `json:"reason"` Message string `json:"message"` ContainerEvents map[string]*ContainerEvent `json:"container_events"` }
Click to show internal directories.
Click to hide internal directories.