Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getController (0.29 sec)

  1. pkg/controller/resourcequota/resource_quota_monitor.go

    	if err == nil {
    		logger.V(4).Info("QuotaMonitor using a shared informer", "resource", resource.String())
    		shared.Informer().AddEventHandlerWithResyncPeriod(handlers, qm.resyncPeriod())
    		return shared.Informer().GetController(), nil
    	}
    	logger.V(4).Error(err, "QuotaMonitor unable to use a shared informer", "resource", resource.String())
    
    	// TODO: if we can share storage with garbage collector, it may make sense to support other resources
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/graph_builder.go

    	// need to clone because it's from a shared cache
    	shared.Informer().AddEventHandlerWithResyncPeriod(handlers, ResourceResyncTime)
    	return shared.Informer().GetController(), shared.Informer().GetStore(), nil
    }
    
    // syncMonitors rebuilds the monitor set according to the supplied resources,
    // creating or deleting monitors as necessary. It will return any error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
Back to top