Beispiel #1
0
def job(name, **kwds):
    from pyre.inventory.Facility import Facility
    kwds['factory'] = kwds.get('factory', Job)
    kwds['vault'] = kwds.get('vault', ['schedulers'])
    kwds['family'] = kwds.get('family', 'job')
    return Facility(name, **kwds)
Beispiel #2
0
def colorScheme(name, **kwds):
    from pyre.inventory.Facility import Facility
    kwds['factory'] = kwds.get('factory', ColorScheme)
    kwds['vault'] = kwds.get('vault', ['colors'])
    kwds['family'] = kwds.get('family', 'colorScheme')
    return Facility(name, **kwds)
Beispiel #3
0
def facility(name, **kwds):
    from pyre.inventory.Facility import Facility
    kwds['vault'] = kwds.get('vault', ['hooks'])
    kwds['family'] = kwds.get('family', 'hook')
    return Facility(name, **kwds)
Beispiel #4
0
def facility(name, **kwds):
    from pyre.inventory.Facility import Facility
    kwds['factory'] = kwds.get('factory', Launcher)
    kwds['vault'] = kwds.get('vault', ['launchers'])
    kwds['family'] = kwds.get('family', 'launcher')
    return Facility(name, **kwds)