Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PodNominationRateLimiter = flowcontrol.NewTokenBucketRateLimiter(5, 10)
PodNominationRateLimiter is a pointer so it rate-limits across events
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { InvolvedObject runtime.Object Type string Reason string Message string DedupeValues []string DedupeTimeout time.Duration RateLimiter flowcontrol.RateLimiter }
type Recorder ¶
type Recorder interface {
Publish(Event)
}
func NewRecorder ¶
func NewRecorder(r record.EventRecorder) Recorder
Click to show internal directories.
Click to hide internal directories.