intecture-api 0.3.2

API component for Intecture infrastructure. Intecture is the developer friendly, multi-lingual configuration management tool.
Documentation
// Copyright 2015-2017 Intecture Developers. See the COPYRIGHT file at the
// top-level directory of this distribution and at
// https://intecture.io/COPYRIGHT.
//
// Licensed under the Mozilla Public License 2.0 <LICENSE or
// https://www.tldrlegal.com/l/mpl-2.0>. This file may not be copied,
// modified, or distributed except according to those terms.

//! Ports package provider

use command::CommandResult;
use error::Result;
use host::Host;
use super::*;

pub struct Ports;

impl Provider for Ports {
    fn get_providers(&self) -> Providers {
        Providers::Ports
    }

    #[allow(unused_variables)]
    fn is_active(&self, host: &mut Host) -> Result<bool> {
        Ok(false)
    }

    #[allow(unused_variables)]
    fn is_installed(&self, host: &mut Host, name: &str) -> Result<bool> {
        unimplemented!();
    }

    #[allow(unused_variables)]
    fn install(&self, host: &mut Host, name: &str) -> Result<CommandResult> {
        unimplemented!();
    }

    #[allow(unused_variables)]
    fn uninstall(&self, host: &mut Host, name: &str) -> Result<CommandResult> {
        unimplemented!();
    }
}