Red Hat Training

A Red Hat training course is available for Red Hat Satellite

10.10. Method: createRepo

Description

Creates a repository

Parameters

The following parameters are available for this method:

  • string sessionKey
  • string label - repository label
  • string type - repository type (only YUM is supported)
  • string url - repository url
Returns

The following return values are available for this method:

  • struct - channel
    • int id
    • string label
    • string sourceUrl
    • string type