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

Method List

tools/cache/store.go:154–156  ·  view source on GitHub ↗

List returns a list of all the items. List is completely threadsafe as long as you treat all items as immutable.

()

Source from the content-addressed store, hash-verified

152// List returns a list of all the items.
153// List is completely threadsafe as long as you treat all items as immutable.
154func (c *cache) List() []interface{} {
155 return c.cacheStorage.List()
156}
157
158// ListKeys returns a list of all the keys of the objects currently
159// in the cache.

Callers

nothing calls this directly

Calls 1

ListMethod · 0.65

Tested by

no test coverage detected