github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/pkg/client/informers/externalversions/sriovnetwork/interface.go (about) 1 // Code generated by informer-gen. DO NOT EDIT. 2 3 package sriovnetwork 4 5 import ( 6 internalinterfaces "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" 7 v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/sriovnetwork/v1" 8 ) 9 10 // Interface provides access to each of this group's versions. 11 type Interface interface { 12 // V1 provides access to shared informers for resources in V1. 13 V1() v1.Interface 14 } 15 16 type group struct { 17 factory internalinterfaces.SharedInformerFactory 18 namespace string 19 tweakListOptions internalinterfaces.TweakListOptionsFunc 20 } 21 22 // New returns a new Interface. 23 func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 24 return &group{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 25 } 26 27 // V1 returns a new v1.Interface. 28 func (g *group) V1() v1.Interface { 29 return v1.New(g.factory, g.namespace, g.tweakListOptions) 30 }