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

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

// pKILister implements the PKILister interface.
type pKILister struct {
	listers.ResourceIndexer[*configv1alpha1.PKI]
}

// NewPKILister returns a new PKILister.
func NewPKILister(indexer cache.Indexer) PKILister {
	return &pKILister{listers.New[*configv1alpha1.PKI](indexer, configv1alpha1.Resource("pki"))}
}
