UNPKG

@aerocorp/cli

Version:

AeroCorp CLI 5.1.0 - Future-Proofed Enterprise Infrastructure with Live Preview, Tunneling & Advanced DevOps

78 lines 2.16 kB
/** * 🌐 Edge Computing Manager - Multi-Region Edge Deployments * Future-proofed for 2030 with advanced edge computing capabilities */ export interface EdgeRegion { id: string; name: string; location: string; latency: number; capacity: number; status: 'active' | 'maintenance' | 'offline'; features: string[]; } export interface EdgeDeployment { id: string; projectName: string; regions: string[]; status: 'deploying' | 'deployed' | 'failed'; endpoints: Record<string, string>; performance: { averageLatency: number; throughput: number; errorRate: number; }; } export interface CDNConfig { enabled: boolean; provider: 'cloudflare' | 'aws' | 'azure' | 'gcp'; caching: { staticAssets: number; apiResponses: number; htmlPages: number; }; compression: boolean; minification: boolean; } export declare class EdgeManager { private configService; private availableRegions; constructor(); /** * 🌍 Initialize available edge regions */ private initializeRegions; /** * 🚀 Deploy to edge locations */ deployToEdge(projectName: string, regions: string[], options?: any): Promise<EdgeDeployment>; /** * 📊 Calculate performance metrics for edge deployment */ private calculatePerformanceMetrics; /** * 🌐 List available edge regions */ listAvailableRegions(): EdgeRegion[]; /** * 🚀 Setup CDN configuration */ setupCDN(projectName: string, config: CDNConfig): Promise<void>; /** * 📊 Get edge deployment status */ getEdgeStatus(deploymentId: string): Promise<EdgeDeployment | null>; /** * 🎯 Optimize edge deployment based on traffic patterns */ optimizeEdgeDeployment(deploymentId: string): Promise<void>; /** * 📈 Display edge deployment summary */ private displayEdgeDeploymentSummary; /** * 🔄 Scale edge deployment */ scaleEdgeDeployment(deploymentId: string, targetRegions: string[]): Promise<void>; } //# sourceMappingURL=edge-manager.d.ts.map