karmada/pkg/generated/informers/externalversions/search/v1alpha1/interface.go

30 lines
1.0 KiB
Go

// Code generated by informer-gen. DO NOT EDIT.
package v1alpha1
import (
internalinterfaces "github.com/karmada-io/karmada/pkg/generated/informers/externalversions/internalinterfaces"
)
// Interface provides access to all the informers in this group version.
type Interface interface {
// ResourceRegistries returns a ResourceRegistryInformer.
ResourceRegistries() ResourceRegistryInformer
}
type version struct {
factory internalinterfaces.SharedInformerFactory
namespace string
tweakListOptions internalinterfaces.TweakListOptionsFunc
}
// New returns a new Interface.
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
}
// ResourceRegistries returns a ResourceRegistryInformer.
func (v *version) ResourceRegistries() ResourceRegistryInformer {
return &resourceRegistryInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
}