docs: def get_target_list(module, action_parameter=None):
      '''
      List available targets for the given module.
  
      module
          name of the module to be queried for its targets
  
      action_parameter
          additional params passed to the defined action
  
          .. versionadded:: 2016.11.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' eselect.get_target_list kernel
      '''
      exec_output = exec_action(module, 'list', action_parameter=action_parameter)
      if not exec_output:
          return None
  
      target_list = []
      if isinstance(exec_output, list):
          for item in exec_output:
              target_list.append(item.split(None, 1)[0])
          return target_list
  
      return None