Package backend :: Package cdn_tools :: Module candlepin_api :: Class CandlepinApi
[hide private]
[frames] | no frames]

Class CandlepinApi

source code


Class used to communicate with Candlepin API.

Instance Methods [hide private]
 
__init__(self, current_manifest=None, username=None, password=None, http_proxy=None, http_proxy_username=None, http_proxy_password=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_get_proxies(self) source code
 
_write_cert(self) source code
 
_call_api(self, url, params=None, method="get") source code
 
export_manifest(self, uuid=None, ownerid=None, satellite_version=None)
Performs export request to Candlepin API and saves exported manifest to target file.
source code
 
refresh_manifest(self, uuid=None) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
_delete_cert(cert) source code
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, current_manifest=None, username=None, password=None, http_proxy=None, http_proxy_username=None, http_proxy_password=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

export_manifest(self, uuid=None, ownerid=None, satellite_version=None)

source code 

Performs export request to Candlepin API and saves exported manifest to target file. Can take required parameters from current manifest or override them with parameters of this method.