func NewTrialLister(indexer cache.Indexer) TrialLister {
	return &trialLister{indexer: indexer}
}
NewTrialLister returns a new TrialLister.
package v1beta1
import (
	v1beta1 "github.com/kubeflow/katib/pkg/apis/controller/trials/v1beta1"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type TrialLister interface {
	List(selector labels.Selector) (ret []*v1beta1.Trial, err error)
	Trials(namespace string) TrialNamespaceLister
	TrialListerExpansion
}
type trialLister struct {
	indexer cache.Indexer
}