events

package
v1.21.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

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{})

GlobalEventf records a Cluster level event not attached to a given object.

func TruncatedStringList added in v1.10.0

func TruncatedStringList(items []string) string

TruncateStringList will render the list of items as a string, eliding elements with ellipsis 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL