github.com/argoproj/argo-cd@v1.8.7/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go (about) 1 // Code generated by informer-gen. DO NOT EDIT. 2 3 package internalinterfaces 4 5 import ( 6 time "time" 7 8 versioned "github.com/argoproj/argo-cd/pkg/client/clientset/versioned" 9 v1 "k8s.io/apimachinery/pkg/apis/meta/v1" 10 runtime "k8s.io/apimachinery/pkg/runtime" 11 cache "k8s.io/client-go/tools/cache" 12 ) 13 14 // NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer. 15 type NewInformerFunc func(versioned.Interface, time.Duration) cache.SharedIndexInformer 16 17 // SharedInformerFactory a small interface to allow for adding an informer without an import cycle 18 type SharedInformerFactory interface { 19 Start(stopCh <-chan struct{}) 20 InformerFor(obj runtime.Object, newFunc NewInformerFunc) cache.SharedIndexInformer 21 } 22 23 // TweakListOptionsFunc is a function that transforms a v1.ListOptions. 24 type TweakListOptionsFunc func(*v1.ListOptions)