func NewSparkApplicationLister(indexer cache.Indexer) SparkApplicationLister {
	return &sparkApplicationLister{indexer: indexer}
}
NewSparkApplicationLister returns a new SparkApplicationLister.
package v1beta2
import (
	v1beta2 "github.com/GoogleCloudPlatform/spark-on-k8s-operator/pkg/apis/sparkoperator.k8s.io/v1beta2"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type SparkApplicationLister interface {
	List(selector labels.Selector) (ret []*v1beta2.SparkApplication, err error)
	SparkApplications(namespace string) SparkApplicationNamespaceLister
	SparkApplicationListerExpansion
}
type sparkApplicationLister struct {
	indexer cache.Indexer
}