Red Hat Training

A Red Hat training course is available for Red Hat Satellite

10.60. Method: setRepoFilters

Description

Replaces the existing set of filters for a given repository. Filters are ranked by their order in the array.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string label - Repository label
  • array:
    • struct - filter_map
      • string filter - String to filter on
      • string flag - Plus (+) for include, minus (-) for exclude
Returns

The following return values are available for this method:

  • int - 1 on success, exception thrown otherwise.