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

Method Update

tools/events/eventseries_test.go:51–56  ·  view source on GitHub ↗

Update records the event for testing.

(e *v1beta1.Event)

Source from the content-addressed store, hash-verified

49
50// Update records the event for testing.
51func (t *testEventSeriesSink) Update(e *v1beta1.Event) (*v1beta1.Event, error) {
52 if t.OnUpdate != nil {
53 return t.OnUpdate(e)
54 }
55 return e, nil
56}
57
58// Patch records the event for testing.
59func (t *testEventSeriesSink) Patch(e *v1beta1.Event, p []byte) (*v1beta1.Event, error) {

Callers

nothing calls this directly

Calls 1

OnUpdateMethod · 0.65

Tested by

no test coverage detected