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

Method Delete

tools/cache/undelta_store.go:61–67  ·  view source on GitHub ↗
(obj interface{})

Source from the content-addressed store, hash-verified

59}
60
61func (u *UndeltaStore) Delete(obj interface{}) error {
62 if err := u.Store.Delete(obj); err != nil {
63 return err
64 }
65 u.PushFunc(u.Store.List())
66 return nil
67}
68
69func (u *UndeltaStore) Replace(list []interface{}, resourceVersion string) error {
70 if err := u.Store.Replace(list, resourceVersion); err != nil {

Callers 1

TestDeleteCallsPushFunction · 0.95

Calls 2

DeleteMethod · 0.65
ListMethod · 0.65

Tested by 1

TestDeleteCallsPushFunction · 0.76