예제 #1
0
func (e *exists) SetInformerFactory(f informers.SharedInformerFactory) {
	e.namespaceInformer = f.InternalNamespaces().Informer()
	e.SetReadyFunc(e.namespaceInformer.HasSynced)
}
예제 #2
0
func (p *podNodeSelector) SetInformerFactory(f informers.SharedInformerFactory) {
	p.namespaceInformer = f.InternalNamespaces().Informer()
	p.SetReadyFunc(p.namespaceInformer.HasSynced)
}
예제 #3
0
func (l *lifecycle) SetInformerFactory(f informers.SharedInformerFactory) {
	l.namespaceInformer = f.InternalNamespaces().Informer()
	l.SetReadyFunc(l.namespaceInformer.HasSynced)
}