Transport¶
module: rspub.core.transport
Transport resources and sitemaps to the web server
-
class
rspub.core.transport.TransportEvent[source]¶ Bases:
enum.EnumEvents fired by TransportAll events are broadcast in the format:
[inform][confirm](source, event, **kwargs)
where
sourceis the calling instance,eventis the relevant event and**kwargshold relevant information about the event.-
copy_resource= 1¶ 1informA resource was copied to a temporary location
-
copy_sitemap= 2¶ 2informA sitemap was copied to a temporary location
-
copy_file= 3¶ 3confirmCopy file confirm message with interrupt
-
transfer_file= 4¶ 4confirmTransfer file confirm message with interrupt
-
resource_not_found= 10¶ 10informA resource was not found
-
start_copy_to_temp= 15¶ 15informStart copy resources and sitemaps to temporary directory
-
zip_resources= 20¶ 20informStart packaging resources and sitemaps
-
scp_resources= 21¶ 21informStart transfer of files with scp
-
ssh_client_creation= 22¶ 22informTrying to create ssh client
-
scp_exception= 23¶ 23informEncountered exception while transferring files with scp
-
scp_progress= 24¶ 24informProgress as defined by SCPClient
-
scp_transfer_complete= 25¶ 25informTransfer of one file complete
-
transport_start= 30¶ 30informTransport started
-
transport_end= 31¶ 31informTransport ended
-
-
class
rspub.core.transport.ResourceAuditorEvent[source]¶ Bases:
enum.EnumEvents fired by TransportAll events are broadcast in the format:
[inform](source, event, **kwargs)
where
sourceis the calling instance,eventis the relevant event and**kwargshold relevant information about the event.-
site_map_not_found= 11¶ 11inform``A sitemap was not found
-