func (s *danmEpLister) DanmEps(namespace string) DanmEpNamespaceLister {
	return danmEpNamespaceLister{indexer: s.indexer, namespace: namespace}
}
DanmEps returns an object that can list and get DanmEps.
package v1
import (
	v1 "github.com/nokia/danm/crd/apis/danm/v1"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type DanmEpLister interface {
	List(selector labels.Selector) (ret []*v1.DanmEp, err error)
	DanmEps(namespace string) DanmEpNamespaceLister
	DanmEpListerExpansion
}
type danmEpLister struct {
	indexer cache.Indexer
}
func NewDanmEpLister(indexer cache.Indexer) DanmEpLister {
	return &danmEpLister{indexer: indexer}
}
func (s *danmEpLister) List(selector labels.Selector) (ret []*v1.DanmEp, err error) {
	err = cache.ListAll(s.indexer, selector, func(m interface{}) {
		ret = append(ret, m.(*v1.DanmEp))
	})
	return ret, err
}