l.c.v.b.LaunchpadInternalServer(_BaseLaunchpadServer) : class documentation

Part of lp.codehosting.vfs.branchfs View In Hierarchy

Known subclasses: lp.codehosting.vfs.tests.test_transport.TestingServer

Server for Launchpad internal services.

This server provides access to a transport using the Launchpad virtual filesystem. Unlike the LaunchpadServer, it backs onto a single transport and doesn't do any permissions work.

Intended for use with the branch puller and scanner.

Method __init__ Construct a LaunchpadInternalServer.
Method start_server See Server.start_server.
Method destroy Delete the on-disk branches and tear down.

Inherited from _BaseLaunchpadServer:

Method translateVirtualPath See AsyncVirtualServer.translateVirtualPath.

Inherited from AsyncVirtualServer (via _BaseLaunchpadServer):

Method get_url Return the URL of this server.
Method stop_server See Server.stop_server.
Method _transportFactory Create a transport for this server pointing at url.
def __init__(self, scheme, codehosting_api, branch_transport):
Construct a LaunchpadInternalServer.
ParametersschemeThe URL scheme to use.
codehosting_apiAn object that provides a 'translatePath' method.
branch_transportA Bazaar Transport that refers to an area where Launchpad branches are stored, generally either the hosted or mirrored areas.
def start_server(self):
See Server.start_server.
def destroy(self):
Delete the on-disk branches and tear down.
API Documentation for Launchpad, generated by pydoctor at 2018-02-18 00:00:04.