// 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"
)

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

// cRIOCredentialProviderConfigLister implements the CRIOCredentialProviderConfigLister interface.
type cRIOCredentialProviderConfigLister struct {
	listers.ResourceIndexer[*configv1.CRIOCredentialProviderConfig]
}

// NewCRIOCredentialProviderConfigLister returns a new CRIOCredentialProviderConfigLister.
func NewCRIOCredentialProviderConfigLister(indexer cache.Indexer) CRIOCredentialProviderConfigLister {
	return &cRIOCredentialProviderConfigLister{listers.New[*configv1.CRIOCredentialProviderConfig](indexer, configv1.Resource("criocredentialproviderconfig"))}
}
