// Code generated by lister-gen. DO NOT EDIT.

package v1alpha1

import (
	configv1alpha1 "github.com/openshift/api/config/v1alpha1"
	labels "k8s.io/apimachinery/pkg/labels"
	listers "k8s.io/client-go/listers"
	cache "k8s.io/client-go/tools/cache"
)

// InsightsDataGatherLister helps list InsightsDataGathers.
// All objects returned here must be treated as read-only.
type InsightsDataGatherLister interface {
	// List lists all InsightsDataGathers in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*configv1alpha1.InsightsDataGather, err error)
	// Get retrieves the InsightsDataGather from the index for a given name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*configv1alpha1.InsightsDataGather, error)
	InsightsDataGatherListerExpansion
}

// insightsDataGatherLister implements the InsightsDataGatherLister interface.
type insightsDataGatherLister struct {
	listers.ResourceIndexer[*configv1alpha1.InsightsDataGather]
}

// NewInsightsDataGatherLister returns a new InsightsDataGatherLister.
func NewInsightsDataGatherLister(indexer cache.Indexer) InsightsDataGatherLister {
	return &insightsDataGatherLister{listers.New[*configv1alpha1.InsightsDataGather](indexer, configv1alpha1.Resource("insightsdatagather"))}
}
