code: func (h *hawkularSink) cacheDefinitions() error {
  	if !h.disablePreCaching {
  		mds, err := h.client.AllDefinitions(h.modifiers...)
  		if err != nil {
  			return err
  		}
  		err = h.updateDefinitions(mds)
  		if err != nil {
  			return err
  		}
  	}
  
  	glog.V(4).Infof("Hawkular definition pre-caching completed, cached %d definitions\n", len(h.expReg))
  
  	return nil
  }
docs: // cacheDefinitions Fetches all known definitions from all tenants (all projects in Openshift)