API implements the functionality for assigning units to machines.

Hierarchy

  • default

Implements

Constructors

Properties

NAME: string = "UnitAssigner"
VERSION: number = 1
_transport: Transport
NAME: string = "UnitAssigner"
VERSION: number = 1

Methods

  • AssignUnits assigns the units with the given ids to the correct machine. The error results are returned in the same order as the given entities.

    Parameters

    Returns Promise<ErrorResults>

  • SetAgentStatus will set status for agents of Units passed in args, if one of the args is not an Unit it will fail.

    Parameters

    Returns Promise<ErrorResults>

  • WatchUnitAssignments returns a strings watcher that is notified when new unit assignments are added to the db.

    Parameters

    • params: any

    Returns Promise<StringsWatchResult>

Generated using TypeDoc