kubernetes/staging/src/k8s.io/client-go/tools/cache/listers.go

type AppendFunc

// ListAll lists items in the store matching the given selector, calling appendFn on each one.
func ListAll(store Store, selector labels.Selector, appendFn AppendFunc) error {}

// ListAllByNamespace lists items in the given namespace in the store matching the given selector,
// calling appendFn on each one.
// If a blank namespace (NamespaceAll) is specified, this delegates to ListAll().
func ListAllByNamespace(indexer Indexer, namespace string, selector labels.Selector, appendFn AppendFunc) error {}

type GenericLister

type GenericNamespaceLister

// NewGenericLister creates a new instance for the genericLister.
func NewGenericLister(indexer Indexer, resource schema.GroupResource) GenericLister {}

type genericLister

func (s *genericLister) List(selector labels.Selector) (ret []runtime.Object, err error) {}

func (s *genericLister) ByNamespace(namespace string) GenericNamespaceLister {}

func (s *genericLister) Get(name string) (runtime.Object, error) {}

type genericNamespaceLister

func (s *genericNamespaceLister) List(selector labels.Selector) (ret []runtime.Object, err error) {}

func (s *genericNamespaceLister) Get(name string) (runtime.Object, error) {}