Internal spawner API#

The module rubin.nublado.spawner provides an implementation of the JupyterHub Spawner API that uses the Nublado controller to manage user labs.

This authenticator class is registered as nublado in the jupyterhub.spawners entry point.

rubin.nublado.spawner Package#

JupyterHub spawner that uses the Nublado controller to manage labs.

Classes#

ControllerWebError(message, *[, method, ...])

Failure to talk to the lab controller API.

DiscoveryError

Service discovery of the Nublado controller failed.

InvalidAuthStateError

The JupyterHub auth state for the user contains no token.

MissingFieldError

The reply from the lab controller is missing a required field.

NubladoSpawner(*args, **kwargs)

Spawner class that sends requests to the RSP lab controller.

SpawnFailedError

The lab controller reports that the spawn failed.

Class Inheritance Diagram#

Inheritance diagram of rubin.nublado.spawner._exceptions.ControllerWebError, rubin.nublado.spawner._exceptions.DiscoveryError, rubin.nublado.spawner._exceptions.InvalidAuthStateError, rubin.nublado.spawner._exceptions.MissingFieldError, rubin.nublado.spawner._internals.NubladoSpawner, rubin.nublado.spawner._exceptions.SpawnFailedError