30 lines
963 B
Go
30 lines
963 B
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 {
|
|
// Clusters returns a ClusterInformer.
|
|
Clusters() ClusterInformer
|
|
}
|
|
|
|
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}
|
|
}
|
|
|
|
// Clusters returns a ClusterInformer.
|
|
func (v *version) Clusters() ClusterInformer {
|
|
return &clusterInformer{factory: v.factory, tweakListOptions: v.tweakListOptions}
|
|
}
|