@deploystack/docker-to-iac
Version:
Translate docker run and docker compose file to Infrastructure as Code
8 lines (7 loc) • 347 B
TypeScript
import { SourceParser, EnvironmentOptions } from '../base';
import { ApplicationConfig } from '../../types/container-config';
export declare class ComposeParser implements SourceParser {
parse(content: string, environmentOptions?: EnvironmentOptions): ApplicationConfig;
validate(content: string): boolean;
private normalizeService;
}