github.com/argoproj/argo-cd@v1.8.7/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/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  }
    16  
    17  type version struct {
    18  	factory          internalinterfaces.SharedInformerFactory
    19  	namespace        string
    20  	tweakListOptions internalinterfaces.TweakListOptionsFunc
    21  }
    22  
    23  // New returns a new Interface.
    24  func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface {
    25  	return &version{factory: f, namespace: namespace, tweakListOptions: tweakListOptions}
    26  }
    27  
    28  // AppProjects returns a AppProjectInformer.
    29  func (v *version) AppProjects() AppProjectInformer {
    30  	return &appProjectInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    31  }
    32  
    33  // Applications returns a ApplicationInformer.
    34  func (v *version) Applications() ApplicationInformer {
    35  	return &applicationInformer{factory: v.factory, namespace: v.namespace, tweakListOptions: v.tweakListOptions}
    36  }