type listerWatcher … // NewListerWatcher returns a storage.Interface backed ListerWatcher. func NewListerWatcher(storage storage.Interface, resourcePrefix string, newListFunc func() runtime.Object, contextMetadata metadata.MD) cache.ListerWatcher { … } // Implements cache.ListerWatcher interface. func (lw *listerWatcher) List(options metav1.ListOptions) (runtime.Object, error) { … } // Implements cache.ListerWatcher interface. func (lw *listerWatcher) Watch(options metav1.ListOptions) (watch.Interface, error) { … }