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

Method Update

tools/cache/expiration_cache.go:163–165  ·  view source on GitHub ↗

Update has not been implemented yet for lack of a use case, so this method simply calls `Add`. This effectively refreshes the timestamp.

(obj interface{})

Source from the content-addressed store, hash-verified

161// Update has not been implemented yet for lack of a use case, so this method
162// simply calls `Add`. This effectively refreshes the timestamp.
163func (c *ExpirationCache) Update(obj interface{}) error {
164 return c.Add(obj)
165}
166
167// Delete removes an item from the cache.
168func (c *ExpirationCache) Delete(obj interface{}) error {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.95

Tested by

no test coverage detected