dclint
Version:
A command-line tool for validating and enforcing best practices in Docker Compose files.
8 lines (7 loc) • 361 B
TypeScript
declare function extractPublishedPortValueWithProtocol(yamlNode: unknown): {
port: string;
protocol: string;
};
declare function extractPublishedPortInterfaceValue(yamlNode: unknown): string;
declare function parsePortsRange(port: string): string[];
export { extractPublishedPortValueWithProtocol, extractPublishedPortInterfaceValue, parsePortsRange };