A library for writing host-specific, single-binary configuration management and deployment tools
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
468 B

use async_trait::async_trait;
use std::error::Error;
// Symbol
#[async_trait(?Send)]
pub trait Symbol {
async fn target_reached(&self) -> Result<bool, Box<dyn Error>>;
async fn execute(&self) -> Result<(), Box<dyn Error>>;
}
pub mod acme;
pub mod concat;
pub mod cron;
pub mod dir;
pub mod file;
pub mod git;
pub mod mariadb;
pub mod npm;
pub mod owner;
pub mod postgresql;
pub mod saved_directory;
pub mod systemd;
pub mod tls;
pub mod user;
pub mod wordpress;