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

package v1

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

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

// imageTagMirrorSetLister implements the ImageTagMirrorSetLister interface.
type imageTagMirrorSetLister struct {
	listers.ResourceIndexer[*configv1.ImageTagMirrorSet]
}

// NewImageTagMirrorSetLister returns a new ImageTagMirrorSetLister.
func NewImageTagMirrorSetLister(indexer cache.Indexer) ImageTagMirrorSetLister {
	return &imageTagMirrorSetLister{listers.New[*configv1.ImageTagMirrorSet](indexer, configv1.Resource("imagetagmirrorset"))}
}
