Documentation ¶
Overview ¶
Copyright 2019 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright 2019 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Copyright 2019 VMware, Inc. All Rights Reserved. SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
View Source
const ( Creation = "Creation" Runtime = "Runtime" Scheduling = "Scheduling" Storage = "Storage" Job = "Job" )
category
View Source
const ( ImagePullBackOff = "ImagePullBackOff" CrashLoopBackOff = "CrashLoopBackOff" FailedMount = "FailedMount" Unhealthy = "Unhealthy" InsufficientResources = "InsufficientResources" FailedCreate = "FailedCreate" OOMKilled = "OOMKilled" ProvisioningFailed = "ProvisioningFailed" BackoffLimitExceeded = "BackoffLimitExceeded" NodeNotReady = "NodeNotReady" )
subcategory
Variables ¶
View Source
var Log = log.WithField("system", "events")
Functions ¶
This section is empty.
Types ¶
type EventAnnotator ¶
type EventAnnotator struct {
// contains filtered or unexported fields
}
func NewEventAnnotator ¶
func NewEventAnnotator(workloadCache util.WorkloadCache, clusterName, clusterUUID string) *EventAnnotator
type EventRouter ¶
type EventRouter struct {
// contains filtered or unexported fields
}
func NewEventRouter ¶
func NewEventRouter(clientset kubernetes.Interface, cfg configuration.EventsConfig, sink sinks.Sink, scrapeCluster bool, workloadCache util.WorkloadCache) *EventRouter
func (*EventRouter) Pause ¶
func (er *EventRouter) Pause()
func (*EventRouter) Resume ¶
func (er *EventRouter) Resume()
func (*EventRouter) Start ¶
func (er *EventRouter) Start()
func (*EventRouter) Stop ¶
func (er *EventRouter) Stop()
Click to show internal directories.
Click to hide internal directories.