func NewFilteredRabbitmqInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
	return cache.NewSharedIndexInformer(
		&cache.ListWatch{
			ListFunc: func(options v1.ListOptions) (runtime.Object, error) {
				if tweakListOptions != nil {
					tweakListOptions(&options)
				}
				return client.ExampleV1alpha1().Rabbitmqs(namespace).List(options)
			},
			WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
				if tweakListOptions != nil {
					tweakListOptions(&options)
				}
				return client.ExampleV1alpha1().Rabbitmqs(namespace).Watch(options)
			},
		},
		&example_com_v1alpha1.Rabbitmq{},
		resyncPeriod,
		indexers,
	)
}
// NewFilteredRabbitmqInformer constructs a new informer for Rabbitmq type.
// Always prefer using an informer factory to get a shared informer instead of getting an independent
// one. This reduces memory footprint and number of connections to the server.
NewFilteredRabbitmqInformer constructs a new informer for Rabbitmq type.
Always prefer using an informer factory to get a shared informer instead of getting an independent
one. This reduces memory footprint and number of connections to the server.
// NewFilteredRabbitmqInformer constructs a new informer for Rabbitmq type . // Always prefer using an informer factory to get a shared informer instead of getting an independent // one . This reduces memory footprint and number of connections to the server .
func NewFilteredRabbitmqInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer {
	return cache.NewSharedIndexInformer(
		&cache.ListWatch{
			ListFunc: func(options v1.ListOptions) (runtime.Object, error) {
				if tweakListOptions != nil {
					tweakListOptions(&options)
				}
				return client.ExampleV1alpha1().Rabbitmqs(namespace).List(options)
			},
			WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
				if tweakListOptions != nil {
					tweakListOptions(&options)
				}
				return client.ExampleV1alpha1().Rabbitmqs(namespace).Watch(options)
			},
		},
		&example_com_v1alpha1.Rabbitmq{},
		resyncPeriod,
		indexers,
	)
}
func NewFilteredRabbitmqInformer ( client versioned . Interface , namespace string , resyncPeriod time . Duration , indexers cache . Indexers , tweakListOptions internalinterfaces . TweakListOptionsFunc ) cache . SharedIndexInformer { return cache . NewSharedIndexInformer ( & cache . ListWatch { ListFunc : func ( options v1 . ListOptions ) ( runtime . Object , error ) { if tweakListOptions != nil { tweakListOptions ( & options ) } return client . ExampleV1alpha1 ( ) . Rabbitmqs ( namespace ) . List ( options ) } , WatchFunc : func ( options v1 . ListOptions ) ( watch . Interface , error ) { if tweakListOptions != nil { tweakListOptions ( & options ) } return client . ExampleV1alpha1 ( ) . Rabbitmqs ( namespace ) . Watch ( options ) } , } , & example_com_v1alpha1 . Rabbitmq { } , resyncPeriod , indexers , ) }
NewFilteredRabbitmqInformer constructs a new informer for Rabbitmq type.
NewFilteredRabbitmqInformer constructs a new informer for Rabbitmq type .