LabEvents#

class controller.events.LabEvents#

Bases: EventMaker

Event publishers for Nublado controller events about labs.

active#

Event publisher for the number of active labs.

spawn_failure#

Event publisher for lab spawn failures.

spawn_success#

Event publisher for lab spawn successes.

Methods Summary

initialize(manager)

Create event publishers and assign to instance attributes.

Methods Documentation

async initialize(manager)#

Create event publishers and assign to instance attributes.

Use manager.create_publisher to assign event publishers to instance attributes.

Parameters:

manager (EventManager) – An EventManager to create event publishers

Return type:

None