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

Method Update

tools/cache/fifo.go:186–188  ·  view source on GitHub ↗

Update is the same as Add in this implementation.

(obj interface{})

Source from the content-addressed store, hash-verified

184
185// Update is the same as Add in this implementation.
186func (f *FIFO) Update(obj interface{}) error {
187 return f.Add(obj)
188}
189
190// Delete removes an item. It doesn't add it to the queue, because
191// this implementation assumes the consumer only cares about the objects,

Callers 1

TestFIFO_addUpdateFunction · 0.95

Calls 1

AddMethod · 0.95

Tested by 1

TestFIFO_addUpdateFunction · 0.76