iop
Version:
Ship Docker Anywhere
18 lines (17 loc) • 683 B
TypeScript
import { ServiceEntry } from "../config/types";
/**
* Determines if a service requires zero-downtime deployment based on its characteristics
*/
export declare function requiresZeroDowntimeDeployment(service: ServiceEntry): boolean;
/**
* Determines deployment strategy for a service
*/
export declare function getDeploymentStrategy(service: ServiceEntry): 'zero-downtime' | 'stop-start';
/**
* Gets the effective port for proxy configuration
*/
export declare function getServiceProxyPort(service: ServiceEntry): number | undefined;
/**
* Checks if a port configuration indicates infrastructure service
*/
export declare function isInfrastructurePort(port: string): boolean;