MCPcopy
hub / github.com/kubernetes/client-go / Update

Method Update

tools/record/event_test.go:54–59  ·  view source on GitHub ↗

UpdateEvent records the event for testing.

(e *v1.Event)

Source from the content-addressed store, hash-verified

52
53// UpdateEvent records the event for testing.
54func (t *testEventSink) Update(e *v1.Event) (*v1.Event, error) {
55 if t.OnUpdate != nil {
56 return t.OnUpdate(e)
57 }
58 return e, nil
59}
60
61// PatchEvent records the event for testing.
62func (t *testEventSink) Patch(e *v1.Event, p []byte) (*v1.Event, error) {

Callers

nothing calls this directly

Calls 1

OnUpdateMethod · 0.65

Tested by

no test coverage detected