Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { EventType EventType ResourceType ObjectType Timestamp time.Time // real objects that created te event RuntimeObj []interface{} // kubernetes object metadata MetaData kapi.ObjectMeta // contains filtered or unexported fields }
type EventReason ¶
type EventReason string
const (
EventReasonAlertAcknowledgement EventReason = "AlertAcknowledgement"
)
func (EventReason) String ¶
func (r EventReason) String() string
type ObjectKind ¶
type ObjectKind string
const (
ObjectKindAlert ObjectKind = "Alert"
)
func (ObjectKind) String ¶
func (o ObjectKind) String() string
type ObjectType ¶
type ObjectType string
const ( Alert ObjectType = "alerts" Certificate ObjectType = "certificates" Cluster ObjectType = "cluster" ConfigMap ObjectType = "configmaps" DaemonSet ObjectType = "daemonsets" Endpoint ObjectType = "endpoints" ExtendedIngress ObjectType = "extendedingresses" Ingress ObjectType = "ingresses" Namespace ObjectType = "namespaces" Node ObjectType = "nodes" StatefulSet ObjectType = "statefulsets" Pod ObjectType = "pods" RC ObjectType = "replicationcontrollers" ReplicaSet ObjectType = "replicasets" Deployments ObjectType = "deployments" Service ObjectType = "services" Unknown ObjectType = "unknown" AlertEvent ObjectType = "alertevents" )
func (ObjectType) Is ¶
func (o ObjectType) Is(r string) bool
func (ObjectType) IsUnknown ¶
func (o ObjectType) IsUnknown() bool
func (ObjectType) String ¶
func (o ObjectType) String() string
Click to show internal directories.
Click to hide internal directories.