l.r.s.d.DistroMirrorProber : class documentation

Part of lp.registry.scripts.distributionmirror_prober View In Hierarchy

Main entry point for the distribution mirror prober.
Method __init__ Undocumented
Method probe Probe distribution mirrors.
Method _sanity_check_mirror Check that the given mirror is official and has an http_base_url.
Method _create_probe_record Create a probe record for the given mirror with the given logfile.
def __init__(self, txn, logger):
Undocumented
def _sanity_check_mirror(self, mirror):
Check that the given mirror is official and has an http_base_url.
def _create_probe_record(self, mirror, logfile):
Create a probe record for the given mirror with the given logfile.
def probe(self, content_type, no_remote_hosts, ignore_last_probe, max_mirrors, notify_owner):
Probe distribution mirrors.
Parameterscontent_typeThe type of mirrored content, as a MirrorContent.
no_remote_hostsIf True, restrict access to localhost.
ignore_last_probeIf True, ignore the results of the last probe and probe again anyway.
max_mirrorsThe maximum number of mirrors to probe. If None, no maximum.
notify_ownerSend failure notification to the owners of the mirrors.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.