def pillar(tgt=None, expr_form='glob', **kwargs):
    pillar_util = salt.utils.master.MasterPillarUtil(tgt, expr_form,
                                                     use_cached_grains=True,
                                                     grains_fallback=False,
                                                     use_cached_pillar=True,
                                                     pillar_fallback=False,
                                                     opts=__opts__)
    cached_pillar = pillar_util.get_minion_pillar()
    return cached_pillar
Return cached pillars of the targeted minions
dataset/ETHPy150Open saltstack/salt/salt/runners/cache.py/pillar