func (s *suggestionLister) Suggestions(namespace string) SuggestionNamespaceLister {
	return suggestionNamespaceLister{indexer: s.indexer, namespace: namespace}
}
Suggestions returns an object that can list and get Suggestions.
package v1beta1
import (
	v1beta1 "github.com/kubeflow/katib/pkg/apis/controller/suggestions/v1beta1"
	"k8s.io/apimachinery/pkg/api/errors"
	"k8s.io/apimachinery/pkg/labels"
	"k8s.io/client-go/tools/cache"
)
type SuggestionLister interface {
	List(selector labels.Selector) (ret []*v1beta1.Suggestion, err error)
	Suggestions(namespace string) SuggestionNamespaceLister
	SuggestionListerExpansion
}
type suggestionLister struct {
	indexer cache.Indexer
}
func NewSuggestionLister(indexer cache.Indexer) SuggestionLister {
	return &suggestionLister{indexer: indexer}
}
func (s *suggestionLister) List(selector labels.Selector) (ret []*v1beta1.Suggestion, err error) {
	err = cache.ListAll(s.indexer, selector, func(m interface{}) {
		ret = append(ret, m.(*v1beta1.Suggestion))
	})
	return ret, err
}