class Mosquito::Api::Overseer

Overview

An interface for inspecting the state of Mosquito Overseers.

For more information about overseers, see Mosquito::Runners::Overseer.

Defined in:

mosquito/api/overseer.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(instance_id : String) #

Creates a new Api::Overseer by its instance ID.


Class Method Detail

def self.all : Array(self) #

Retrieves a list of all overseers in the backend.


Instance Method Detail

def executors : Array(Executor) #

Retrieves a list of executors managed by this overseer.


def instance_id : String #

The instance ID of the overseer being inspected.


def last_heartbeat : Time | Nil #

The time the overseer last sent a heartbeat.