UNPKG

iop

Version:
27 lines (26 loc) 768 B
import { SSHClient } from "../ssh"; export interface ProxyStatus { running: boolean; containerName: string; serverId: string; ports: string[]; certificateQueue?: CertificateQueueEntry[]; configurations?: string[]; error?: string; } export interface CertificateQueueEntry { hostname: string; email: string; addedAt: string; lastAttempt?: string; attempts: number; status: "pending" | "retrying" | "failed"; } /** * Checks the overall proxy status for a server */ export declare function checkProxyStatus(serverHostname: string, sshClient: SSHClient, verbose?: boolean): Promise<ProxyStatus>; /** * Formats proxy status for display */ export declare function formatProxyStatus(proxyStatus: ProxyStatus): string[];