Documentation ¶
Index ¶
Constants ¶
View Source
const ( AddNodes = "IngressGCE_AddNodes" RemoveNodes = "IngressGCE_RemoveNodes" SyncIngress = "Sync" TranslateIngress = "Translate" IPChanged = "IPChanged" GarbageCollection = "GarbageCollection" SyncService = "Sync" )
Variables ¶
This section is empty.
Functions ¶
func GlobalEventf ¶ added in v1.10.0
func GlobalEventf(r record.EventRecorder, eventtype, reason, messageFmt string, args ...interface{})
GloablEventf records a Cluster level event not attached to a given object.
func TruncatedStringList ¶ added in v1.10.0
TruncateStringList will render the list of items as a string, eliding elements with elipsis at the end if there are more than a reasonable number of characters in the resulting string. This is used to prevent accidentally dumping enormous strings into the Event description.
Types ¶
type RecorderProducer ¶
type RecorderProducer interface {
Recorder(ns string) record.EventRecorder
}
type RecorderProducerMock ¶
type RecorderProducerMock struct { }
func (RecorderProducerMock) Recorder ¶
func (r RecorderProducerMock) Recorder(ns string) record.EventRecorder
Click to show internal directories.
Click to hide internal directories.