UNPKG

@serve.zone/spark

Version:

A comprehensive tool for maintaining and configuring servers, integrating with Docker and supporting advanced task scheduling, targeted at the Servezone infrastructure and used by @serve.zone/cloudly as a cluster node server system manager.

28 lines (27 loc) 719 B
import * as plugins from './spark.plugins.js'; import { Spark } from './spark.classes.spark.js'; /** * this class takes care of updating the services that are managed by spark */ export declare class SparkServicesManager { sparkRef: Spark; dockerHost: plugins.docker.DockerHost; smartupdate: plugins.smartupdate.SmartUpdate; /** * the services that are managed by spark */ services: Array<{ name: string; image: string; url: string; port: string; environment: string; secretJson: any; }>; constructor(sparkrefArg: Spark); /** * start the instance */ start(): Promise<void>; updateServices(): Promise<void>; }