func (s *arangoMemberLister) ArangoMembers(namespace string) ArangoMemberNamespaceLister {
	return arangoMemberNamespaceLister{indexer: s.indexer, namespace: namespace}
}
ArangoMembers returns an object that can list and get ArangoMembers.
package v2alpha1
import (
	v2alpha1 "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v2alpha1"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type ArangoMemberLister interface {
	List(selector labels.Selector) (ret []*v2alpha1.ArangoMember, err error)
	ArangoMembers(namespace string) ArangoMemberNamespaceLister
	ArangoMemberListerExpansion
}
type arangoMemberLister struct {
	indexer cache.Indexer
}
func NewArangoMemberLister(indexer cache.Indexer) ArangoMemberLister {
	return &arangoMemberLister{indexer: indexer}
}
func (s *arangoMemberLister) List(selector labels.Selector) (ret []*v2alpha1.ArangoMember, err error) {
	err = cache.ListAll(s.indexer, selector, func(m interface{}) {
		ret = append(ret, m.(*v2alpha1.ArangoMember))
	})
	return ret, err
}