github.com/argoproj/argo-cd@v1.8.7/pkg/client/informers/externalversions/application/interface.go (about) 1 // Code generated by informer-gen. DO NOT EDIT. 2 3 package application 4 5 import ( 6 v1alpha1 "github.com/argoproj/argo-cd/pkg/client/informers/externalversions/application/v1alpha1" 7 internalinterfaces "github.com/argoproj/argo-cd/pkg/client/informers/externalversions/internalinterfaces" 8 ) 9 10 // Interface provides access to each of this group's versions. 11 type Interface interface { 12 // V1alpha1 provides access to shared informers for resources in V1alpha1. 13 V1alpha1() v1alpha1.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 // V1alpha1 returns a new v1alpha1.Interface. 28 func (g *group) V1alpha1() v1alpha1.Interface { 29 return v1alpha1.New(g.factory, g.namespace, g.tweakListOptions) 30 }