func (s *clusterRoleBindingLister) List(selector labels.Selector) (ret []*v1.ClusterRoleBinding, err error) {
	err = cache.ListAll(s.indexer, selector, func(m interface{}) {
		ret = append(ret, m.(*v1.ClusterRoleBinding))
	})
	return ret, err
}
List lists all ClusterRoleBindings in the indexer.
package v1
import (
	v1 "k8s.io/api/rbac/v1"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type ClusterRoleBindingLister interface {
	List(selector labels.Selector) (ret []*v1.ClusterRoleBinding, err error)
	Get(name string) (*v1.ClusterRoleBinding, error)
	ClusterRoleBindingListerExpansion
}
type clusterRoleBindingLister struct {
	indexer cache.Indexer
}
func NewClusterRoleBindingLister(indexer cache.Indexer) ClusterRoleBindingLister {
	return &clusterRoleBindingLister{indexer: indexer}
}