code: def clear_all(tgt=None, tgt_type='glob'):
      '''
      .. versionchanged:: 2017.7.0
          The ``expr_form`` argument has been renamed to ``tgt_type``, earlier
          releases must use ``expr_form``.
  
      Clear the cached pillar, grains, and mine data of the targeted minions
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run cache.clear_all
      '''
      return _clear_cache(tgt,
                          tgt_type,
                          clear_pillar_flag=True,
                          clear_grains_flag=True,
                          clear_mine_flag=Truef clear_all(tgt=None, tgt_type='glob'):
      '''
      .. versionchanged:: 2017.7.0
          The ``expr_form`` argument has been renamed to ``tgt_type``, earlier
          releases must use ``expr_form``.
  
      Clear the cached pillar, grains, and mine data of the targeted minions
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run cache.clear_all
      '''
      return _clear_cache(tgt,
                          tgt_type,
                          clear_pillar_flag=True,
                          clear_grains_flag=True,
                          clear_mine_flag=True)
docs: .. versionchanged:: 2017.7.0
          The ``expr_form`` argument has been renamed to ``tgt_type``, earlier
          releases must use ``expr_form``.
  
      Clear the cached pillar, grains, and mine data of the targeted minions
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run cache.clear_all