/DragonReach/parse_test/ |
H A D | test_timer_unit.timer | 1 [Unit] section 7 Unit=test_timer_unit.service argument
|
H A D | shell.service | 1 [Unit] section
|
H A D | test_timer_unit.service | 1 [Unit] section
|
H A D | test2.service | 1 [Unit] section
|
H A D | test1.service | 1 [Unit] section
|
H A D | test.service | 1 [Unit] section
|
/DragonReach/src/manager/unit_manager/ |
H A D | mod.rs | 8 use crate::unit::Unit; 20 …pub(super) static ref ID_TO_UNIT_MAP: RwLock<HashMap<usize,Arc<Mutex<dyn Unit>>>> = RwLock::new(Ha… 70 pub fn get_unit_with_name(name: &str) -> Option<Arc<Mutex<dyn Unit>>> { in get_unit_with_name() argument 88 pub fn get_unit_with_id(id: &usize) -> Option<Arc<Mutex<dyn Unit>>> { in get_unit_with_id() argument 131 pub fn insert_unit_with_id(id: usize, unit: Arc<Mutex<dyn Unit>>) { in insert_unit_with_id() argument 144 pub fn pop_a_idle_service() -> Option<Arc<Mutex<dyn Unit>>> { in pop_a_idle_service()
|
/DragonReach/src/unit/target/ |
H A D | mod.rs | 1 use super::{BaseUnit, Unit}; 14 impl Unit for TargetUnit {
|
/DragonReach/src/parse/ |
H A D | mod.rs | 8 use crate::unit::{BaseUnit, Unit}; 33 Unit, enumerator 58 table.insert("[Unit]", Segment::Unit); 168 map.insert("Unit", TimerUnitAttr::Unit); 240 pub fn parse<T: Unit + Default + Clone + 'static>( in parse() 330 if segment != Segment::Unit { in parse() 377 let dret: Arc<Mutex<dyn Unit>> = Arc::new(Mutex::new(unit)); in parse()
|
/DragonReach/src/executor/dep_graph/ |
H A D | mod.rs | 6 unit::Unit, 99 pub fn construct_graph(unit: &Arc<Mutex<dyn Unit>>) -> DepGraph { in construct_graph()
|
/DragonReach/src/unit/timer/ |
H A D | mod.rs | 1 use super::{BaseUnit, Unit}; 32 impl Unit for TimerUnit { 497 TimerUnitAttr::Unit => self.unit = UnitManager::get_id_with_path(val).unwrap(), in set_attr() 521 Unit, enumerator
|
/DragonReach/src/manager/ctl_manager/ |
H A D | mod.rs | 13 use crate::unit::Unit; 197 pub fn filter_units(patterns: Vec<Pattern>) -> Result<Vec<Arc<Mutex<dyn Unit>>>, RuntimeError> { in filter_units() argument
|
/DragonReach/src/unit/service/ |
H A D | mod.rs | 1 use super::{BaseUnit, Unit}; 133 impl Unit for ServiceUnit {
|
/DragonReach/src/manager/timer_manager/ |
H A D | mod.rs | 7 error::runtime_error::RuntimeError, time::timer::Timer, unit::timer::TimerUnit, unit::Unit,
|
/DragonReach/src/executor/service_executor/ |
H A D | mod.rs | 12 Unit, UnitState,
|
/DragonReach/src/parse/parse_util/ |
H A D | mod.rs | 7 unit::{service::ServiceUnit, target::TargetUnit, timer::TimerUnit, Unit, UnitType, Url}, 425 pub fn parse_unit<T: Unit>(path: &str) -> Result<usize, ParseError> { in parse_unit()
|
/DragonReach/src/unit/ |
H A D | mod.rs | 26 pub trait Unit: Sync + Send + Debug { trait
|