Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newPodInformer (0.12 sec)

  1. pkg/scheduler/scheduler.go

    			} else {
    				gvkMap[evt.Resource] = evt.ActionType
    			}
    		}
    	}
    	return gvkMap
    }
    
    // newPodInformer creates a shared index informer that returns only non-terminal pods.
    // The PodInformer allows indexers to be added, but note that only non-conflict indexers are allowed.
    func newPodInformer(cs clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. pkg/kubemark/controller.go

    	rcInformer := externalInformerFactory.InformerFor(&apiv1.ReplicationController{}, newReplicationControllerInformer)
    	podInformer := externalInformerFactory.InformerFor(&apiv1.Pod{}, newPodInformer)
    	controller := &KubemarkController{
    		externalCluster: externalCluster{
    			rcLister:  listersv1.NewReplicationControllerLister(rcInformer.GetIndexer()),
    			rcSynced:  rcInformer.HasSynced,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
Back to top