Ce contenu n'est pas disponible dans la langue sélectionnée.
10.6. Method: clone
Clone a channel. If arch_label is omitted, the architecture label of the original channel is used. If parent_label is omitted, the clone becomes a base channel.
The following parameters are available for this method:
- string
sessionKey - string
original_label - struct - channel details
- string
name - string
label - string
summary - string
parent_label(optional) - string
arch_label(optional) - string
gpg_key_url(optional) -gpg_urlcan be used too - string
gpg_key_id- (optional),gpg_idcan be used too - string
gpg_key_fp- (optional),gpg_fingerprintcan be used too - string
description- (optional)
- boolean
original_state
The following return values are available for this method:
- int - the cloned channel ID