func (s *azureKeyVaultSecretLister) List(selector labels.Selector) (ret []*v1alpha1.AzureKeyVaultSecret, err error) {
	err = cache.ListAll(s.indexer, selector, func(m interface{}) {
		ret = append(ret, m.(*v1alpha1.AzureKeyVaultSecret))
	})
	return ret, err
}
List lists all AzureKeyVaultSecrets in the indexer.
package v1alpha1
import (
	v1alpha1 "github.com/SparebankenVest/azure-key-vault-to-kubernetes/pkg/k8s/apis/azurekeyvault/v1alpha1"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type AzureKeyVaultSecretLister interface {
	List(selector labels.Selector) (ret []*v1alpha1.AzureKeyVaultSecret, err error)
	AzureKeyVaultSecrets(namespace string) AzureKeyVaultSecretNamespaceLister
	AzureKeyVaultSecretListerExpansion
}
type azureKeyVaultSecretLister struct {
	indexer cache.Indexer
}
func NewAzureKeyVaultSecretLister(indexer cache.Indexer) AzureKeyVaultSecretLister {
	return &azureKeyVaultSecretLister{indexer: indexer}
}