dcd 0.2.1

Docker Compose Deployment tool for remote servers
Documentation
1
2
3
4
5
6
7
8
9
use crate::composer::types::{ComposerResult, PortMapping};

pub struct PortsParser;

impl PortsParser {
    pub fn parse_ports(ports: &[PortMapping]) -> ComposerResult<Vec<PortMapping>> {
        Ok(ports.to_vec())
    }
}