l.c.i.c.ICodeImportMachineSet(Interface) : interface documentation

Part of lp.code.interfaces.codeimportmachine View In Hierarchy

The set of machines that can perform imports.
Method getAll Return an iterable of all code machines.
Method new Create a new CodeImportMachine.
Method getByHostname Retrieve the code import machine for a hostname.
def getAll():
Return an iterable of all code machines.
def new(hostname, state=CodeImportMachineState.OFFLINE):
Create a new CodeImportMachine.

The machine will initially be in the given 'state', which defaults to OFFLINE, but can also be ONLINE.

def getByHostname(hostname):
Retrieve the code import machine for a hostname.

Returns a ICodeImportMachine provider or None if no such machine is present.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.