code: def show_top(**kwargs):
      '''
      Return the top data that the minion will use for a highstate
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' state.show_top
      '''
      __opts__['grains'] = __grains__
      opts = salt.utils.state.get_sls_opts(__opts__, **kwargs)
      st_ = salt.client.ssh.state.SSHHighState(
              opts,
              __pillar__,
              __salt__,
              __context__['fileclient'])
      top_data = st_.get_top()
      errors = []
      errors += st_.verify_tops(top_data)
      if errors:
          return errors
      matches = st_.top_matches(top_data)
      return matchef show_top(**kwargs):
      '''
      Return the top data that the minion will use for a highstate
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' state.show_top
      '''
      __opts__['grains'] = __grains__
      opts = salt.utils.state.get_sls_opts(__opts__, **kwargs)
      st_ = salt.client.ssh.state.SSHHighState(
              opts,
              __pillar__,
              __salt__,
              __context__['fileclient'])
      top_data = st_.get_top()
      errors = []
      errors += st_.verify_tops(top_data)
      if errors:
          return errors
      matches = st_.top_matches(top_data)
      return matches
docs: Return the top data that the minion will use for a highstate
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' state.show_top