code: func (c *clientWrapper) GetIngresses() []*extensionsv1beta1.Ingress {
  	var result []*extensionsv1beta1.Ingress
  	for ns, factory := range c.factories {
  		ings, err := factory.Extensions().V1beta1().Ingresses().Lister().List(c.ingressLabelSelector)
  		if err != nil {
  			log.Errorf("Failed to list ingresses in namespace %s: %s", ns, err)
  		}
  		result = append(result, ings...)
  	}
  	return result
  }
docs: // GetIngresses returns all Ingresses for observed namespaces in the cluster.