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

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

// authenticationLister implements the AuthenticationLister interface.
type authenticationLister struct {
	listers.ResourceIndexer[*configv1.Authentication]
}

// NewAuthenticationLister returns a new AuthenticationLister.
func NewAuthenticationLister(indexer cache.Indexer) AuthenticationLister {
	return &authenticationLister{listers.New[*configv1.Authentication](indexer, configv1.Resource("authentication"))}
}
