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

Struct ListWatch

tools/cache/listwatch.go:58–63  ·  view source on GitHub ↗

ListWatch knows how to list and watch a set of apiserver resources. It satisfies the ListerWatcher interface. It is a convenience function for users of NewReflector, etc. ListFunc and WatchFunc must not be nil

Source from the content-addressed store, hash-verified

56// It is a convenience function for users of NewReflector, etc.
57// ListFunc and WatchFunc must not be nil
58type ListWatch struct {
59 ListFunc ListFunc
60 WatchFunc WatchFunc
61 // DisableChunking requests no chunking for this list watcher.
62 DisableChunking bool
63}
64
65// Getter interface knows how to access Get method from RESTClient.
66type Getter interface {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected