MicroserviceUserManager
import { MicroserviceUserManager } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts";
class MicroserviceUserManager {}
private getMicroserviceManager();
public disableAutomaticHealthCheck();
public enableAutomaticHealthCheck();
public getMicroservices();
§Methods
§
checkHealth(microservice: Mandarine.MandarineCore.MicroserviceItem): Promise<boolean>
[src]@param microservice
to be checked
@return
True if microservice is healthy or false if it is not
§
delete(microservice: Mandarine.MandarineCore.MicroserviceItem)
[src]@param microservice
to be deleted
§
disableAutomaticHealthCheck()
[src]Disables automatic health checks. If disabled, Mandarine is not responsible for checking and remounting unhealthy microservices
§
enableAutomaticHealthCheck()
[src]Enable automatic health check. If enabled, Mandarine will check healthiness of microservices and remount them if they are unhealthy
§
remountFromExistent(microservice: Mandarine.MandarineCore.MicroserviceItem)
[src]Generates a new microservice and initializes it.
@param microservice
to be remounted