func (s *addonsConfigurationLister) AddonsConfigurations(namespace string) AddonsConfigurationNamespaceLister {
	return addonsConfigurationNamespaceLister{indexer: s.indexer, namespace: namespace}
}
AddonsConfigurations returns an object that can list and get AddonsConfigurations.
package v1alpha1
import (
	v1alpha1 "github.com/kyma-project/helm-broker/pkg/apis/addons/v1alpha1"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type AddonsConfigurationLister interface {
	List(selector labels.Selector) (ret []*v1alpha1.AddonsConfiguration, err error)
	AddonsConfigurations(namespace string) AddonsConfigurationNamespaceLister
	AddonsConfigurationListerExpansion
}
type addonsConfigurationLister struct {
	indexer cache.Indexer
}
func NewAddonsConfigurationLister(indexer cache.Indexer) AddonsConfigurationLister {
	return &addonsConfigurationLister{indexer: indexer}
}
func (s *addonsConfigurationLister) List(selector labels.Selector) (ret []*v1alpha1.AddonsConfiguration, err error) {
	err = cache.ListAll(s.indexer, selector, func(m interface{}) {
		ret = append(ret, m.(*v1alpha1.AddonsConfiguration))
	})
	return ret, err
}