github.com/argoproj/argo-cd/v3@v3.2.1/pkg/client/informers/externalversions/application/v1alpha1/interface.go (about) 1 // Code generated by informer-gen. DO NOT EDIT. 2 3 package v1alpha1 4 5 import ( 6 internalinterfaces "github.com/argoproj/argo-cd/v3/pkg/client/informers/externalversions/internalinterfaces" 7 ) 8 9 // Interface provides access to all the informers in this group version. 10 type Interface interface { 11 // AppProjects returns a AppProjectInformer. 12 AppProjects() AppProjectInformer 13 // Applications returns a ApplicationInformer. 14 Applications() ApplicationInformer 15 // ApplicationSets returns a ApplicationSetInformer. 16 ApplicationSets() ApplicationSetInformer 17 } 18 19 type version struct { 20 factory internalinterfaces.SharedInformerFactory 21 namespace string 22 tweakListOptions internalinterfaces.TweakListOptionsFunc 23 } 24 25 // New returns a new Interface. 26 func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface { 27 return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions} 28 } 29 30 // AppProjects returns a AppProjectInformer. 31 func (v *version) AppProjects() AppProjectInformer { 32 return &appProjectInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 33 } 34 35 // Applications returns a ApplicationInformer. 36 func (v *version) Applications() ApplicationInformer { 37 return &applicationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 38 } 39 40 // ApplicationSets returns a ApplicationSetInformer. 41 func (v *version) ApplicationSets() ApplicationSetInformer { 42 return &applicationSetInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions} 43 }