@mesh-tech/mesh-cli
Version:
CLI for Mesh platform development utilities
16 lines (15 loc) • 607 B
TypeScript
export declare const PORT_BLOCK = 3000;
export declare function tenantPortIndex(tenant: string, registryPath?: string): number;
export interface TunnelTarget {
name: string;
localPort: number;
targetHost: string;
targetIp: string;
remotePort: number;
}
export declare const TUNNEL_NAME_BY_BASTION_KEY: Record<string, string>;
export declare function resolveTunnelTargets(services: Record<string, {
host: string;
port: number;
}>, resolveIp: (host: string) => string | null, portOffset?: number): TunnelTarget[];
export declare function resolveElbIp(host: string): string | null;