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

Method listLocked

tools/cache/delta_fifo.go:346–352  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

344}
345
346func (f *DeltaFIFO) listLocked() []interface{} {
347 list := make([]interface{}, 0, len(f.items))
348 for _, item := range f.items {
349 list = append(list, item.Newest().Object)
350 }
351 return list
352}
353
354// ListKeys returns a list of all the keys of the objects currently
355// in the FIFO.

Callers 1

ListMethod · 0.95

Calls 1

NewestMethod · 0.80

Tested by

no test coverage detected